Skip to content
New issue

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

go.mod files are set as modula2 filetype #848

Open
pbnj-dragon opened this issue Apr 14, 2024 · 0 comments
Open

go.mod files are set as modula2 filetype #848

pbnj-dragon opened this issue Apr 14, 2024 · 0 comments

Comments

@pbnj-dragon
Copy link

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

image

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.

To Reproduce:

$ vim go.mod

Inside vim:

:verbose set ft?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant