summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/ftplugin/c.vim2
-rw-r--r--.config/nvim/after/ftplugin/javascript.vim1
-rw-r--r--.config/nvim/after/ftplugin/json.vim1
-rw-r--r--.config/nvim/after/ftplugin/lua.vim1
-rw-r--r--.config/nvim/after/ftplugin/typescript.vim1
-rw-r--r--.config/nvim/after/ftplugin/vim.vim1
6 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/c.vim b/.config/nvim/after/ftplugin/c.vim
new file mode 100644
index 0000000..5d78f8b
--- /dev/null
+++ b/.config/nvim/after/ftplugin/c.vim
@@ -0,0 +1,2 @@
+setlocal tabstop=2 shiftwidth=2 expandtab smarttab
+setlocal commentstring=//\ %s
diff --git a/.config/nvim/after/ftplugin/javascript.vim b/.config/nvim/after/ftplugin/javascript.vim
new file mode 100644
index 0000000..469d9d0
--- /dev/null
+++ b/.config/nvim/after/ftplugin/javascript.vim
@@ -0,0 +1 @@
+setlocal tabstop=2 shiftwidth=2 expandtab smarttab
diff --git a/.config/nvim/after/ftplugin/json.vim b/.config/nvim/after/ftplugin/json.vim
new file mode 100644
index 0000000..469d9d0
--- /dev/null
+++ b/.config/nvim/after/ftplugin/json.vim
@@ -0,0 +1 @@
+setlocal tabstop=2 shiftwidth=2 expandtab smarttab
diff --git a/.config/nvim/after/ftplugin/lua.vim b/.config/nvim/after/ftplugin/lua.vim
new file mode 100644
index 0000000..469d9d0
--- /dev/null
+++ b/.config/nvim/after/ftplugin/lua.vim
@@ -0,0 +1 @@
+setlocal tabstop=2 shiftwidth=2 expandtab smarttab
diff --git a/.config/nvim/after/ftplugin/typescript.vim b/.config/nvim/after/ftplugin/typescript.vim
new file mode 100644
index 0000000..469d9d0
--- /dev/null
+++ b/.config/nvim/after/ftplugin/typescript.vim
@@ -0,0 +1 @@
+setlocal tabstop=2 shiftwidth=2 expandtab smarttab
diff --git a/.config/nvim/after/ftplugin/vim.vim b/.config/nvim/after/ftplugin/vim.vim
new file mode 100644
index 0000000..469d9d0
--- /dev/null
+++ b/.config/nvim/after/ftplugin/vim.vim
@@ -0,0 +1 @@
+setlocal tabstop=2 shiftwidth=2 expandtab smarttab