From 74858f94885c3bc9cef98a128a4710c2c2b99177 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 12 Sep 2023 12:17:08 +0200 Subject: nvim: Include more Neovim configurations --- .config/nvim/lua/mango/lib.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .config/nvim/lua/mango/lib.lua (limited to '.config/nvim/lua/mango/lib.lua') diff --git a/.config/nvim/lua/mango/lib.lua b/.config/nvim/lua/mango/lib.lua new file mode 100644 index 0000000..60857c8 --- /dev/null +++ b/.config/nvim/lua/mango/lib.lua @@ -0,0 +1,11 @@ +local M = {} + +function M.setTabWidth(tw, localp) + local opt = localp and vim.opt_local or vim.opt + + opt.tabstop = tw + opt.softtabstop = tw + opt.shiftwidth = tw +end + +return M -- cgit v1.2.3