aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/share
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-10 16:07:25 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-10 16:07:25 +0300
commit081c3de2af751db0d0074160456b68d1ffb0a733 (patch)
treefdb6c00806bdbf24bf8876185bd0038e3b016dbb /dotfiles/.local/share
parent2df856029eac8c05de35ef4a9b92fff84f2feefd (diff)
downloadvimrice-081c3de2af751db0d0074160456b68d1ffb0a733.tar.gz
vimrice-081c3de2af751db0d0074160456b68d1ffb0a733.zip
Switch to more based indentation method
Also cleanup indentation in main configuration file, and consolidate several filetype specific settings in the main config file.
Diffstat (limited to 'dotfiles/.local/share')
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/c.vim3
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim3
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/go.vim1
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/html.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim3
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/json.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/python.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim7
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim3
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim2
10 files changed, 6 insertions, 22 deletions
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim
deleted file mode 100644
index acc39c9..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-setlocal shiftwidth=4
-setlocal tabstop=4
-setlocal foldmethod=syntax
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim
deleted file mode 100644
index acc39c9..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-setlocal shiftwidth=4
-setlocal tabstop=4
-setlocal foldmethod=syntax
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/go.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/go.vim
new file mode 100644
index 0000000..deca82d
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/go.vim
@@ -0,0 +1 @@
+setlocal tw=80
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim
deleted file mode 100644
index 289b7cd..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-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
deleted file mode 100644
index acc39c9..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-setlocal shiftwidth=4
-setlocal tabstop=4
-setlocal foldmethod=syntax
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/json.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/json.vim
deleted file mode 100644
index 810fd8f..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/json.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-setlocal shiftwidth=2
-setlocal tabstop=2
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/python.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/python.vim
deleted file mode 100644
index 289b7cd..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/python.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-setlocal shiftwidth=4
-setlocal tabstop=4
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim
index 01d4271..947bdca 100644
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/rust.vim
@@ -1,4 +1,7 @@
-setlocal shiftwidth=4
+setlocal noexpandtab
+setlocal copyindent
+setlocal preserveindent
+setlocal softtabstop=0
setlocal tabstop=4
-setlocal fdm=syntax
+setlocal shiftwidth=4
setlocal tw=80
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim
deleted file mode 100644
index 40a20ba..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-setlocal shiftwidth=2
-setlocal tabstop=2
-
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim
deleted file mode 100644
index 810fd8f..0000000
--- a/dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-setlocal shiftwidth=2
-setlocal tabstop=2