Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override by runtime/indent/sass.vim #184

Open
twnaing opened this issue Dec 6, 2021 · 0 comments
Open

override by runtime/indent/sass.vim #184

twnaing opened this issue Dec 6, 2021 · 0 comments
Labels
support Request for direct support

Comments

@twnaing
Copy link

twnaing commented Dec 6, 2021

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

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.

@cxw42 cxw42 added the support Request for direct support label Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Request for direct support
Projects
None yet
Development

No branches or pull requests

2 participants