summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/ftplugin')
-rw-r--r--.config/nvim/after/ftplugin/c.lua2
-rw-r--r--.config/nvim/after/ftplugin/go.lua2
-rw-r--r--.config/nvim/after/ftplugin/html.lua2
-rw-r--r--.config/nvim/after/ftplugin/lua.lua3
-rw-r--r--.config/nvim/after/ftplugin/mail.lua2
5 files changed, 7 insertions, 4 deletions
diff --git a/.config/nvim/after/ftplugin/c.lua b/.config/nvim/after/ftplugin/c.lua
index f37ef07..01efc8f 100644
--- a/.config/nvim/after/ftplugin/c.lua
+++ b/.config/nvim/after/ftplugin/c.lua
@@ -1,3 +1,3 @@
local lib = require('mango.lib')
-lib.setTabWidth(8, true)
+lib.set_tab_width(8, true)
diff --git a/.config/nvim/after/ftplugin/go.lua b/.config/nvim/after/ftplugin/go.lua
index f37ef07..01efc8f 100644
--- a/.config/nvim/after/ftplugin/go.lua
+++ b/.config/nvim/after/ftplugin/go.lua
@@ -1,3 +1,3 @@
local lib = require('mango.lib')
-lib.setTabWidth(8, true)
+lib.set_tab_width(8, true)
diff --git a/.config/nvim/after/ftplugin/html.lua b/.config/nvim/after/ftplugin/html.lua
index 4a52958..50a85a4 100644
--- a/.config/nvim/after/ftplugin/html.lua
+++ b/.config/nvim/after/ftplugin/html.lua
@@ -1,3 +1,3 @@
local lib = require('mango.lib')
-lib.setTabWidth(2, true)
+lib.set_tab_width(2, true)
diff --git a/.config/nvim/after/ftplugin/lua.lua b/.config/nvim/after/ftplugin/lua.lua
new file mode 100644
index 0000000..7f8d336
--- /dev/null
+++ b/.config/nvim/after/ftplugin/lua.lua
@@ -0,0 +1,3 @@
+local lib = require('mango.lib')
+
+lib.set_tab_width(4, true)
diff --git a/.config/nvim/after/ftplugin/mail.lua b/.config/nvim/after/ftplugin/mail.lua
index c6bb6a2..599950a 100644
--- a/.config/nvim/after/ftplugin/mail.lua
+++ b/.config/nvim/after/ftplugin/mail.lua
@@ -1,5 +1,5 @@
local lib = require('mango.lib')
-lib.setTabWidth(2, true)
+lib.set_tab_width(2, true)
vim.opt_local.expandtab = true
vim.opt_local.textwidth = 73