aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-10-06 23:24:01 +0300
committerYaroslav <contact@yaroslavps.com>2020-10-06 23:24:01 +0300
commit2df856029eac8c05de35ef4a9b92fff84f2feefd (patch)
tree54c3a537acb9074cfe57611ae50ca9b491a5e988
parentabded5e0197129782924e128452a48f3c38ee08f (diff)
downloadvimrice-2df856029eac8c05de35ef4a9b92fff84f2feefd.tar.gz
vimrice-2df856029eac8c05de35ef4a9b92fff84f2feefd.zip
changes to indentation configuration
-rw-r--r--dotfiles/.config/nvim/init.vim4
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/html.vim4
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim4
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim3
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
+