summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/mango')
-rw-r--r--.config/nvim/lua/mango/lib.lua2
-rw-r--r--.config/nvim/lua/mango/set.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/lua/mango/lib.lua b/.config/nvim/lua/mango/lib.lua
index 60857c8..71fbc08 100644
--- a/.config/nvim/lua/mango/lib.lua
+++ b/.config/nvim/lua/mango/lib.lua
@@ -1,6 +1,6 @@
local M = {}
-function M.setTabWidth(tw, localp)
+function M.set_tab_width(tw, localp)
local opt = localp and vim.opt_local or vim.opt
opt.tabstop = tw
diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua
index 9428df5..0ef61ff 100644
--- a/.config/nvim/lua/mango/set.lua
+++ b/.config/nvim/lua/mango/set.lua
@@ -5,7 +5,7 @@ local opt = vim.opt
opt.nu = true
opt.relativenumber = true
-lib.setTabWidth(4)
+lib.set_tab_width(4)
opt.expandtab = false
opt.smartindent = true