diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:17:08 +0200 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:17:08 +0200 |
| commit | 74858f94885c3bc9cef98a128a4710c2c2b99177 (patch) | |
| tree | 73889360bcf232da3e9ffaa7ab3fba9f71c9e338 /.config/nvim/lua/mango/lib.lua | |
| parent | 24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a (diff) | |
nvim: Include more Neovim configurations
Diffstat (limited to '.config/nvim/lua/mango/lib.lua')
| -rw-r--r-- | .config/nvim/lua/mango/lib.lua | 11 |
1 files changed, 11 insertions, 0 deletions
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 |