added doskey file type in autocommands
This commit is contained in:
parent
2da1322e7f
commit
8cafa90c01
@ -37,6 +37,13 @@ api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
|
|||||||
end,
|
end,
|
||||||
group = fileGrp,
|
group = fileGrp,
|
||||||
})
|
})
|
||||||
|
api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
|
||||||
|
pattern = { 'doskey'},
|
||||||
|
callback = function()
|
||||||
|
vim.bo.filetype = 'dosini'
|
||||||
|
end,
|
||||||
|
group = fileGrp,
|
||||||
|
})
|
||||||
|
|
||||||
-- Read and write shada file
|
-- Read and write shada file
|
||||||
api.nvim_create_autocmd({ 'FocusGained', 'FocusLost' }, { command = [[rshada | wshada]] })
|
api.nvim_create_autocmd({ 'FocusGained', 'FocusLost' }, { command = [[rshada | wshada]] })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user