diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-10-06 23:24:01 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-10-06 23:24:01 +0300 |
commit | 2df856029eac8c05de35ef4a9b92fff84f2feefd (patch) | |
tree | 54c3a537acb9074cfe57611ae50ca9b491a5e988 /dotfiles | |
parent | abded5e0197129782924e128452a48f3c38ee08f (diff) | |
download | vimrice-2df856029eac8c05de35ef4a9b92fff84f2feefd.tar.gz vimrice-2df856029eac8c05de35ef4a9b92fff84f2feefd.zip |
changes to indentation configuration
Diffstat (limited to 'dotfiles')
4 files changed, 9 insertions, 6 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 964a354..ecb79d8 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -80,8 +80,8 @@ au BufEnter * let &titlestring = "vim - " . expand("%t") " default indentation filetype plugin indent on - set tabstop=2 - set shiftwidth=2 + set tabstop=4 + set shiftwidth=4 set expandtab " Splits open at the bottom and right, which is non-retarded, unlike vim defaults. diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim index 810fd8f..289b7cd 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim @@ -1,2 +1,2 @@ -setlocal shiftwidth=2 -setlocal tabstop=2 +setlocal shiftwidth=4 +setlocal tabstop=4 diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim index 1f0cb33..acc39c9 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim @@ -1,3 +1,3 @@ -setlocal shiftwidth=2 -setlocal tabstop=2 +setlocal shiftwidth=4 +setlocal tabstop=4 setlocal foldmethod=syntax diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim new file mode 100644 index 0000000..40a20ba --- /dev/null +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim @@ -0,0 +1,3 @@ +setlocal shiftwidth=2 +setlocal tabstop=2 + |