aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/share/nvim/site/after/ftplugin
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-03-31 17:52:49 +0300
committerYaroslav <contact@yaroslavps.com>2020-03-31 17:52:49 +0300
commit7217c7749e5403c9c7856c1d12c7986eb9c3b460 (patch)
treed60a112d9119a51af1cf5f590c5efad81751edf6 /dotfiles/.local/share/nvim/site/after/ftplugin
parent9a3aa7b20a67c1b7991da1da9508ad5f78f76352 (diff)
downloadvimrice-7217c7749e5403c9c7856c1d12c7986eb9c3b460.tar.gz
vimrice-7217c7749e5403c9c7856c1d12c7986eb9c3b460.zip
Goodbye vim, been using neovim for ages now; home directory cleanup
Diffstat (limited to 'dotfiles/.local/share/nvim/site/after/ftplugin')
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/c.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/html.vim2
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim2
-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/toml.vim21
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim2
8 files changed, 35 insertions, 0 deletions
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim
new file mode 100644
index 0000000..810fd8f
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim
@@ -0,0 +1,2 @@
+setlocal shiftwidth=2
+setlocal tabstop=2
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim
new file mode 100644
index 0000000..810fd8f
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim
@@ -0,0 +1,2 @@
+setlocal shiftwidth=2
+setlocal tabstop=2
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim
new file mode 100644
index 0000000..810fd8f
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/html.vim
@@ -0,0 +1,2 @@
+setlocal shiftwidth=2
+setlocal tabstop=2
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim
new file mode 100644
index 0000000..810fd8f
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim
@@ -0,0 +1,2 @@
+setlocal shiftwidth=2
+setlocal tabstop=2
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/json.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/json.vim
new file mode 100644
index 0000000..810fd8f
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/json.vim
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 0000000..289b7cd
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/python.vim
@@ -0,0 +1,2 @@
+setlocal shiftwidth=4
+setlocal tabstop=4
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..9075e88
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim
@@ -0,0 +1,21 @@
+" File: ftplugin/toml.vim
+" Author: Kevin Ballard <kevin@sb.org>
+" Description: FileType Plugin for Toml
+" Last Change: Feb 12, 2019
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+let s:save_cpo = &cpo
+set cpo&vim
+let b:undo_ftplugin = 'setlocal commentstring< comments<'
+
+setlocal commentstring=#\ %s
+setlocal comments=:#
+
+let &cpo = s:save_cpo
+unlet s:save_cpo
+
+" vim: set et sw=4 ts=4:
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim
new file mode 100644
index 0000000..810fd8f
--- /dev/null
+++ b/dotfiles/.local/share/nvim/site/after/ftplugin/yaml.vim
@@ -0,0 +1,2 @@
+setlocal shiftwidth=2
+setlocal tabstop=2