kickstart.nvim/after/plugin/filetype.lua

7 lines
178 B
Lua
Raw Normal View History

2023-12-17 18:24:28 -05:00
vim.cmd([[
augroup filetypedetect
autocmd! BufRead,BufNewFile .swcrc setfiletype json
autocmd! BufRead,BufNewFile .prettierrc setfiletype json
augroup END
]])