summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/ftplugin
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-23 18:28:03 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-23 18:28:03 +0000
commit0f08d04698c814955116b6bae50752e64b774d8f (patch)
tree8cf9a33557093eebfd25aab2872e97639c7e2f62 /.config/nvim/lua/ftplugin
downloaddots-0f08d04698c814955116b6bae50752e64b774d8f.tar.gz
Thu Dec 23 06:28:03 PM UTC 2021
Diffstat (limited to '.config/nvim/lua/ftplugin')
-rwxr-xr-x.config/nvim/lua/ftplugin/common-markup.lua3
-rwxr-xr-x.config/nvim/lua/ftplugin/common-space.lua5
-rwxr-xr-x.config/nvim/lua/ftplugin/init.lua2
3 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/lua/ftplugin/common-markup.lua b/.config/nvim/lua/ftplugin/common-markup.lua
new file mode 100755
index 0000000..956a163
--- /dev/null
+++ b/.config/nvim/lua/ftplugin/common-markup.lua
@@ -0,0 +1,3 @@
+bo.expandtab = true
+bo.shiftwidth = 2
+bo.tabstop = 2
diff --git a/.config/nvim/lua/ftplugin/common-space.lua b/.config/nvim/lua/ftplugin/common-space.lua
new file mode 100755
index 0000000..ccefb94
--- /dev/null
+++ b/.config/nvim/lua/ftplugin/common-space.lua
@@ -0,0 +1,5 @@
+bo.tabstop=4
+bo.shiftwidth=4
+bo.textwidth=0
+bo.wrapmargin=0
+bo.expandtab = true
diff --git a/.config/nvim/lua/ftplugin/init.lua b/.config/nvim/lua/ftplugin/init.lua
new file mode 100755
index 0000000..906b7a1
--- /dev/null
+++ b/.config/nvim/lua/ftplugin/init.lua
@@ -0,0 +1,2 @@
+package.path = package.path .. ';' .. vim.fn.stdpath('config') .. '/ftplugin/?.lua'
+package.path = package.path .. ';' .. vim.fn.stdpath('config') .. '/after/ftplugin/?.lua'
remember that computers suck.