add poor mans filetype autocmd

This commit is contained in:
Vladan Popovic 2021-12-12 20:07:55 +01:00
parent 446b6ea0bd
commit ad462255b2
No known key found for this signature in database
GPG Key ID: 39762748EB5A39D9
2 changed files with 5 additions and 0 deletions

View File

@ -77,3 +77,4 @@ require('config.compe') -- completion
--require('fugitive') -- fugitive
require('lang')
require('filetypes')

4
lua/filetypes.lua Normal file
View File

@ -0,0 +1,4 @@
vim.cmd([[
autocmd BufRead,BufNewFile *.bu set filetype=yaml
autocmd BufRead,BufNewFile *.ign set filetype=json
]])