mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 13:47:36 +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",
|
||||
config = function()
|
||||
vim.cmd([[
|
||||
augroup ansible_playbook
|
||||
augroup polyglot_fts
|
||||
au BufRead,BufNewFile */playbooks/*.yml,*/playbooks/*.yaml set filetype=yaml.ansible
|
||||
au BufRead,BufNewFile go.mod,go.sum set filetype=gomod
|
||||
augroup end
|
||||
]])
|
||||
]])
|
||||
end,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user