Skip to content

Commit 763b689

Browse files
committed
Merge pull request derekwyatt#86 from ches/comments-option
Set value for the 'comments' option
2 parents 6115d92 + 85971e5 commit 763b689

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ftplugin/scala.vim

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
setlocal formatoptions+=ro
2-
setlocal commentstring=//%s
2+
3+
" Just like c.vim, but additionally doesn't wrap text onto /** line when
4+
" formatting. Doesn't bungle bulleted lists when formatting.
5+
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/**,mb:*,ex:*/,s1:/*,mb:*,ex:*/,://
6+
setlocal commentstring=//\ %s
7+
38
let &l:include = '^\s*import'
49
let &l:includeexpr = 'substitute(v:fname,"\\.","/","g")'
10+
511
setlocal path+=src/main/scala,src/test/scala
612
setlocal suffixesadd=.scala
713

0 commit comments

Comments
 (0)