From dc839e971ad6a724bc99bccc6dfaa11ee8a1eaa9 Mon Sep 17 00:00:00 2001 From: Cryxtalix Date: Fri, 8 Nov 2024 21:58:55 +0800 Subject: Init gnu stow --- .config/nvim/ftplugin/lua.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .config/nvim/ftplugin/lua.lua (limited to '.config/nvim/ftplugin/lua.lua') diff --git a/.config/nvim/ftplugin/lua.lua b/.config/nvim/ftplugin/lua.lua new file mode 100644 index 0000000..370eb6e --- /dev/null +++ b/.config/nvim/ftplugin/lua.lua @@ -0,0 +1,7 @@ +local size = 2 + +local settings = string.format("setlocal softtabstop=%s tabstop=%s shiftwidth=%s expandtab", size, size, size) + +vim.cmd(settings) + +-- Check http://vimcasts.org/episodes/tabs-and-spaces/ for more info on tabs and spaces -- cgit