add poor mans filetype autocmd
This commit is contained in:
parent
446b6ea0bd
commit
ad462255b2
2 changed files with 5 additions and 0 deletions
1
init.lua
1
init.lua
|
@ -77,3 +77,4 @@ require('config.compe') -- completion
|
|||
--require('fugitive') -- fugitive
|
||||
|
||||
require('lang')
|
||||
require('filetypes')
|
||||
|
|
4
lua/filetypes.lua
Normal file
4
lua/filetypes.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
vim.cmd([[
|
||||
autocmd BufRead,BufNewFile *.bu set filetype=yaml
|
||||
autocmd BufRead,BufNewFile *.ign set filetype=json
|
||||
]])
|
Loading…
Reference in a new issue