mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-28 00:23:19 +08:00
Restore formatoptions changed by pug
This commit is contained in:
1 parent
74cd78ba77
commit
640a874b2f
1 file changed
+2
-1
+2
-1
@@ -72,8 +72,9 @@ let b:javascript_indentexpr = &indentexpr
|
||||
|
||||
if s:use_pug
|
||||
unlet! b:did_indent
|
||||
let s:save_formatoptions = &formatoptions
|
||||
runtime! indent/pug.vim
|
||||
setlocal formatoptions-=r
|
||||
let &formatoptions = s:save_formatoptions
|
||||
endif
|
||||
|
||||
if s:use_sass
|
||||
|
||||
Reference in new issue
Block a user