Skip to content

Commit fb87a6c

Browse files
jamessanderekwyatt
authored andcommitted
ftplugin: Fix syntax for include/includexpr options
In 1f90f5e, these options were moved to the ftplugin and changed from "let &l:" statements to "setlocal". However, the right-hand side of the statement kept the let-style syntax.
1 parent 971ac9a commit fb87a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ftplugin/scala.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ setlocal commentstring=//\ %s
2525

2626
setlocal shiftwidth=2 softtabstop=2 expandtab
2727

28-
setlocal include='^\s*import'
29-
setlocal includeexpr='substitute(v:fname,"\\.","/","g")'
28+
setlocal include=^\\s*import
29+
setlocal includeexpr=substitute(v:fname,'\\.','/','g')
3030

3131
setlocal path+=src/main/scala,src/test/scala
3232
setlocal suffixesadd=.scala

0 commit comments

Comments
 (0)