mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
Restore formatoptions changed by pug
This commit is contained in:
@@ -72,8 +72,9 @@ let b:javascript_indentexpr = &indentexpr
|
|||||||
|
|
||||||
if s:use_pug
|
if s:use_pug
|
||||||
unlet! b:did_indent
|
unlet! b:did_indent
|
||||||
|
let s:save_formatoptions = &formatoptions
|
||||||
runtime! indent/pug.vim
|
runtime! indent/pug.vim
|
||||||
setlocal formatoptions-=r
|
let &formatoptions = s:save_formatoptions
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if s:use_sass
|
if s:use_sass
|
||||||
|
|||||||
Reference in New Issue
Block a user