We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does this bug happen when you install plugin without vim-polyglot?
N/A
Describe the bug:
When opening go.mod files, vim-polyglot sets the filetype as modula2
go.mod
modula2
This is likely because file pattern for modula2 is *.MOD, which matches go.mod first before before the go.mod has a chance to be evaluated.
*.MOD
To Reproduce:
$ vim go.mod
Inside vim:
:verbose set ft?
The text was updated successfully, but these errors were encountered:
For me modula2 seems more obscure than golang, so:
let g:polyglot_disabled = ['modula2']
works well for me.
Sorry, something went wrong.
No branches or pull requests
Does this bug happen when you install plugin without vim-polyglot?
N/A
Describe the bug:
When opening
go.mod
files, vim-polyglot sets the filetype asmodula2
This is likely because file pattern for modula2 is
*.MOD
, which matchesgo.mod
first before before thego.mod
has a chance to be evaluated.To Reproduce:
Inside vim:
The text was updated successfully, but these errors were encountered: