aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/vimrc.lua1
-rw-r--r--.vimrc1
2 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/lua/vimrc.lua b/.config/nvim/lua/vimrc.lua
index d8ee8e1..05dbb9e 100644
--- a/.config/nvim/lua/vimrc.lua
+++ b/.config/nvim/lua/vimrc.lua
@@ -47,6 +47,7 @@ function M.register_filetype_autocmds_for_indentation()
cmake = { style = SPACE, width = 2 },
cpp = { style = SPACE, width = 4 },
css = { style = SPACE, width = 2 },
+ docbk = { style = SPACE, width = 2 },
go = { style = TAB, width = 4 },
haskell = { style = SPACE, width = 4 },
html = { style = SPACE, width = 2 },
diff --git a/.vimrc b/.vimrc
index df539ed..71e8c8e 100644
--- a/.vimrc
+++ b/.vimrc
@@ -157,6 +157,7 @@ autocmd Vimrc FileType c set expandtab tabstop=4 shiftwidth=4 softtab
autocmd Vimrc FileType cmake set expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Vimrc FileType cpp set expandtab tabstop=4 shiftwidth=4 softtabstop=4
autocmd Vimrc FileType css set expandtab tabstop=2 shiftwidth=2 softtabstop=2
+autocmd Vimrc FileType docbk set expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Vimrc FileType go set noexpandtab tabstop=4 shiftwidth=4 softtabstop=4
autocmd Vimrc FileType haskell set expandtab tabstop=4 shiftwidth=4 softtabstop=4
autocmd Vimrc FileType html set expandtab tabstop=2 shiftwidth=2 softtabstop=2