mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:07:34 +00:00
Fix gomod filetype detection
This commit is contained in:
parent
68d5b9b62e
commit
ace8f98428
@ -303,10 +303,11 @@ return require("packer").startup({
|
|||||||
"sheerun/vim-polyglot",
|
"sheerun/vim-polyglot",
|
||||||
config = function()
|
config = function()
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
augroup ansible_playbook
|
augroup polyglot_fts
|
||||||
au BufRead,BufNewFile */playbooks/*.yml,*/playbooks/*.yaml set filetype=yaml.ansible
|
au BufRead,BufNewFile */playbooks/*.yml,*/playbooks/*.yaml set filetype=yaml.ansible
|
||||||
|
au BufRead,BufNewFile go.mod,go.sum set filetype=gomod
|
||||||
augroup end
|
augroup end
|
||||||
]])
|
]])
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user