Add types for sources and dirs
This commit is contained in:
parent
f564b88e64
commit
01d83d4a6f
@ -13,6 +13,11 @@ vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
|
|||||||
command = 'set filetype=cpp'
|
command = 'set filetype=cpp'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({'BufRead', 'BufNewFile'}, {
|
||||||
|
pattern = {'sources', 'sources.inc', 'dirs'},
|
||||||
|
command = 'set filetype=make'
|
||||||
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({'FocusGained', 'BufEnter', 'CursorHold'}, {
|
vim.api.nvim_create_autocmd({'FocusGained', 'BufEnter', 'CursorHold'}, {
|
||||||
pattern = '*',
|
pattern = '*',
|
||||||
command = 'checktime'
|
command = 'checktime'
|
||||||
|
Loading…
Reference in New Issue
Block a user