Permalink
Browse files

Add Jade comment characters to comments

This will enable the proper functionality in Vim of extending comment
blocks automatically and wrapping text if you have `formatoptions+=c`
set.
  • Loading branch information...
1 parent 67999c2 commit 7404414b175bb35b59ebee8defe3c255cd60f2c6 Wyatt Anderson committed Nov 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ftplugin/jade.vim
View
2 ftplugin/jade.vim
@@ -43,7 +43,7 @@ if exists("loaded_matchit")
let b:match_words = s:match_words
endif
-setlocal comments= commentstring=//\ %s
+setlocal comments=://-,:// commentstring=//\ %s
let b:undo_ftplugin = "setl cms< com< "
\ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin

0 comments on commit 7404414

Please sign in to comment.