summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after
diff options
context:
space:
mode:
authorRevaz Nakhutsrishvili <r@revaz.xyz>2024-09-03 11:02:19 +0400
committerRevaz Nakhutsrishvili <r@revaz.xyz>2024-09-03 11:02:19 +0400
commit72bac3930e8442faaea834724c2ef80440c505ed (patch)
tree0910c73f912cc9f747921f408decbd73a97fecb9 /.config/nvim/after
parentaa8c3484100b2b7e84a7aa8c7e416dde484b25ee (diff)
add neovim config
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