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

Some python files aren't detected #26

Open
mjbrowns opened this issue Aug 16, 2024 · 1 comment
Open

Some python files aren't detected #26

mjbrowns opened this issue Aug 16, 2024 · 1 comment

Comments

@mjbrowns
Copy link

So, I have several files that come up without semshi enabled. Some do. I can't for the life of me figure out why.

Sometimes my files are named .py, sometimes not.
I pretty much always use a shebang: #!/usr/bin/env python3

But it can't figure out why sometimes it comes up enabled and other times it doesn't. if I do :set filetype it shows python is detected, but it's just using the default highlighter not semshi.

Any ideas?

@wookayin
Copy link
Owner

wookayin commented Oct 13, 2024

semshi would work if the filetype is python, because it's supposed to be activated upon FileType python event. How did you install and load the plugin, by any chance?

Does it happen only when if you open the python file as the startup argument (e.g. vim bin/python-script)?

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

2 participants