Neovim: Indentation settings for specific filetypes
This commit is contained in:
parent
4b5791daa0
commit
a6836fa503
|
@ -103,10 +103,17 @@ set noshowmode
|
||||||
set showtabline=2
|
set showtabline=2
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
set softtabstop=0
|
||||||
set expandtab
|
set expandtab
|
||||||
syntax on
|
syntax on
|
||||||
colorscheme onedark
|
colorscheme onedark
|
||||||
|
|
||||||
|
" Indentation settings for specific filetypes
|
||||||
|
autocmd FileType html setlocal tabstop=2 shiftwidth=2
|
||||||
|
autocmd FileType css setlocal tabstop=2 shiftwidth=2
|
||||||
|
autocmd FileType scss setlocal tabstop=2 shiftwidth=2
|
||||||
|
autocmd FileType svelte setlocal tabstop=2 shiftwidth=2
|
||||||
|
autocmd FileType vue setlocal tabstop=2 shiftwidth=2
|
||||||
|
|
||||||
""" APPEARANCE
|
""" APPEARANCE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue