You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a bug in the logic that detects previous syntax files here. On my Ubuntu machine with Vim 8, the default vim syntax file gets loaded first: /usr/share/vim/vim80/syntax/python.vim
This sets the '''b:current_syntax''' variable meaning the ptyhon-syntax script exits early due to the above lines. This results in several problems like missing highlights (#26 ) and commands missing (#61 ). Is this something specific to my setup or an actual bug?
The text was updated successfully, but these errors were encountered:
weavage
changed the title
python-syntax doesn't after default vim syntax file
python-syntax doesn't load after default vim syntax file
Aug 26, 2020
This syntax plugin needs to be loaded before any others, otherwise it will just return without doing anything. Just like the builtin syntax files do.
@Congee That has nothing to do with op's problem. If you want to define more keywords, you can do so easily in your personal config. Or if there's some keyword you feel that everyone could benefit from you can open a PR.
There seems to be a bug in the logic that detects previous syntax files here. On my Ubuntu machine with Vim 8, the default vim syntax file gets loaded first: /usr/share/vim/vim80/syntax/python.vim
This sets the '''b:current_syntax''' variable meaning the ptyhon-syntax script exits early due to the above lines. This results in several problems like missing highlights (#26 ) and commands missing (#61 ). Is this something specific to my setup or an actual bug?
The text was updated successfully, but these errors were encountered: