mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Set commentstring in Vim syntax plugin
By setting the commentstring, you support commenting with plugins like tComment. Now Vim won't default to incorrect `/* */` comments.
This commit is contained in:
parent
a1fc8e17a7
commit
ea59ce60c5
1 changed files with 2 additions and 0 deletions
|
@ -20,3 +20,5 @@ highlight link dockerfileString String
|
|||
|
||||
syntax match dockerfileComment "\v^\s*#.*$"
|
||||
highlight link dockerfileComment Comment
|
||||
|
||||
set commentstring=#\ %s
|
||||
|
|
Loading…
Add table
Reference in a new issue