diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index bcb1bb0..0d49999 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -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