Open twnaing opened 2 years ago
I have this .editorconfig and this plugin installed with vim-plug
root = true [*] indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.{css,sass,scss}] indent_style = space indent_size = 4
when I open sass file the shiftwidth is set to 2 by
:verbose set shiftwidth shiftwidth=2 Last set from /usr/share/nvim/runtime/indent/sass.vim line 11
How can i make sure the editorconfig-vim take precedence
b:did_indent
Although I can prevent the runtime indent by setting filetype indent off, I would like to keep it on for single file (or) project where there is no .editorconfig file.
filetype indent off
I have this .editorconfig and this plugin installed with vim-plug
when I open sass file the shiftwidth is set to 2 by
How can i make sure the editorconfig-vim take precedence
b:did_indent
)?For runtime indent
Although I can prevent the runtime indent by setting
filetype indent off
, I would like to keep it on for single file (or) project where there is no .editorconfig file.