mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:37:34 +00:00
Fix gomod filetype detection
This commit is contained in:
parent
68d5b9b62e
commit
ace8f98428
@ -303,8 +303,9 @@ 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