diff options
Diffstat (limited to '.config/nvim/ftplugin/lua.lua')
| -rw-r--r-- | .config/nvim/ftplugin/lua.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
