kickstart.nvim/after/plugin/filetype.lua
2023-12-17 18:24:28 -05:00

6 lines
178 B
Lua

vim.cmd([[
augroup filetypedetect
autocmd! BufRead,BufNewFile .swcrc setfiletype json
autocmd! BufRead,BufNewFile .prettierrc setfiletype json
augroup END
]])