aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/vimrc/init.lua2
-rw-r--r--.vimrc2
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 },
diff --git a/.vimrc b/.vimrc
index 8c6728e..197e608 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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