dotfiles/home/.config/lvim/after/ftplugin/lua.lua
2022-11-20 03:15:58 +01:00

3 lines
199 B
Lua

vim.api.nvim_create_autocmd("BufWinEnter", { pattern = "*.lua", command = "setlocal shiftwidth=2" })
vim.api.nvim_create_autocmd("BufWinEnter", { pattern = "*.lua", command = "setlocal tabstop=2" })