syntax-highlighting: vim: set comment string
Vim can automatically comment and format comments. Set the necessary variable to enable that feature. See `:help format-comments` for more information.
This commit is contained in:
parent
b268327166
commit
18e0029843
|
@ -8,6 +8,9 @@ let b:did_ftplugin = 1
|
|||
let s:keepcpo= &cpo
|
||||
set cpo&vim
|
||||
|
||||
setlocal commentstring=#\ %s
|
||||
setlocal comments=:#
|
||||
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
||||
|
||||
|
|
Loading…
Reference in New Issue