diff options
| -rw-r--r-- | .config/nvim/lua/vimrc/init.lua | 2 | ||||
| -rw-r--r-- | .vimrc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/vimrc/init.lua b/.config/nvim/lua/vimrc/init.lua index 6b039b5..be5eba9 100644 --- a/.config/nvim/lua/vimrc/init.lua +++ b/.config/nvim/lua/vimrc/init.lua @@ -71,6 +71,8 @@ function M.register_filetype_autocmds_for_indentation() python = { style = SPACE, width = 4 }, ruby = { style = SPACE, width = 2 }, satysfi = { style = SPACE, width = 2 }, + sbt = { style = SPACE, width = 2 }, + scala = { style = SPACE, width = 2 }, toml = { style = SPACE, width = 2 }, typescript = { style = SPACE, width = 2 }, typescriptreact = { style = SPACE, width = 2 }, @@ -179,6 +179,8 @@ autocmd Vimrc FileType php set expandtab tabstop=2 shiftwidth=2 so autocmd Vimrc FileType python set expandtab tabstop=4 shiftwidth=4 softtabstop=4 autocmd Vimrc FileType ruby set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autocmd Vimrc FileType satysfi set expandtab tabstop=2 shiftwidth=2 softtabstop=2 +autocmd Vimrc FileType sbt set expandtab tabstop=2 shiftwidth=2 softtabstop=2 +autocmd Vimrc FileType scala set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autocmd Vimrc FileType toml set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autocmd Vimrc FileType typescript set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autocmd Vimrc FileType typescriptreact set expandtab tabstop=2 shiftwidth=2 softtabstop=2 |
