Skip to content

Commit

Permalink
fix: add modeline to the top of plugconf (fix #233)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyru committed Apr 9, 2018
1 parent 01cc1f8 commit 11e6d87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugconf/plugconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ func (pi *ParsedInfo) GeneratePlugconf() ([]byte, error) {
// Merge result and return it
var buf bytes.Buffer

// modeline
buf.WriteString("\" vim:et:sw=2:ts=2\n\n")

// s:on_load_pre()
if pi.onLoadPreFunc != "" {
buf.WriteString(pi.onLoadPreFunc)
Expand Down

0 comments on commit 11e6d87

Please sign in to comment.