aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/share/nvim/site/after/ftplugin
diff options
context:
space:
mode:
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