diff options
| author | nsfisis <nsfisis@gmail.com> | 2022-10-29 18:31:42 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2022-10-29 18:31:42 +0900 |
| commit | 83b9e5a7e45042c1d4898858e540a7f0cc66ef36 (patch) | |
| tree | 97ae89689028a38f8f1f8c5df1c56736d1c2674b | |
| parent | 608af6a9c15331f711d9c2fc643edd7a2ee54c73 (diff) | |
| download | dotfiles-83b9e5a7e45042c1d4898858e540a7f0cc66ef36.tar.gz dotfiles-83b9e5a7e45042c1d4898858e540a7f0cc66ef36.tar.zst dotfiles-83b9e5a7e45042c1d4898858e540a7f0cc66ef36.zip | |
vim/neovim: set indent width for ft=docbk
| -rw-r--r-- | .config/nvim/lua/vimrc.lua | 1 | ||||
| -rw-r--r-- | .vimrc | 1 |
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 }, @@ -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 |
