Neovim: Indentation settings for specific filetypes

This commit is contained in:
theanonymousexyz 2022-04-10 16:57:02 +02:00
parent 4b5791daa0
commit a6836fa503
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB

View file

@ -103,10 +103,17 @@ set noshowmode
set showtabline=2
set tabstop=4
set shiftwidth=4
set softtabstop=0
set expandtab
syntax on
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