dotfiles/home/.config/lvim/after/ftplugin/lua.lua

3 lines
199 B
Lua
Raw Normal View History

2022-11-19 21:11:47 +00:00
vim.api.nvim_create_autocmd("BufWinEnter", { pattern = "*.lua", command = "setlocal shiftwidth=2" })
vim.api.nvim_create_autocmd("BufWinEnter", { pattern = "*.lua", command = "setlocal tabstop=2" })