Fix gomod filetype detection

This commit is contained in:
ViViDboarder 2022-02-25 09:10:04 -08:00
parent 68d5b9b62e
commit ace8f98428

View File

@ -303,8 +303,9 @@ 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,