mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: set tab config for vue files
This commit is contained in:
parent
b4c180b0e8
commit
95e74f1d32
|
@ -32,6 +32,7 @@ set hlsearch "highlight search results (using *)
|
||||||
set expandtab shiftwidth=4 tabstop=4 "always use spaces
|
set expandtab shiftwidth=4 tabstop=4 "always use spaces
|
||||||
|
|
||||||
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
|
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||||
|
autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||||
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
|
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
|
||||||
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables
|
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user