Silence fo+=j error for users of Vim < 7.3.541.
This commit is contained in:
parent
2bc408f3e3
commit
9f6180413d
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ else
|
|||
setlocal comments=s0:/*!,m:\ ,ex:*/,s1:/*,mb:*,ex:*/,:///,://!,://
|
||||
endif
|
||||
setlocal commentstring=//%s
|
||||
setlocal formatoptions-=t formatoptions+=croqnlj
|
||||
setlocal formatoptions-=t formatoptions+=croqnl
|
||||
" j was only added in 7.3.541, so stop complaints about its nonexistence
|
||||
silent! setlocal formatoptions+=j
|
||||
|
||||
" This includeexpr isn't perfect, but it's a good start
|
||||
setlocal includeexpr=substitute(v:fname,'::','/','g')
|
||||
|
|
Loading…
Add table
Reference in a new issue