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

JuliaParBlock internals not being highlighted #68

Closed
rcnlee opened this issue Jun 23, 2016 · 3 comments
Closed

JuliaParBlock internals not being highlighted #68

rcnlee opened this issue Jun 23, 2016 · 3 comments

Comments

@rcnlee
Copy link

rcnlee commented Jun 23, 2016

Hello,

I am trying to get semantic-highlight.vim to work properly with julia-vim. variables inside brackets () or [] or {} seem to be picked up as JuliaParBlock as a whole and so the individual variable names don't get parsed or highlighted. Please see screenshot here:
screenshot from 2016-06-22 22-12-29

Is there any way to get the individual tokens picked out by semantic-highlight?

Thanks!

Ritchie

@carlobaldassi
Copy link
Contributor

I just tried it and in fact I'm not sure how to fix this. I read the semantic-highlight documentation and did not find anything useful to solve the problem. I also tried to compare with other syntax files and I didn't find anything significantly different in how things are done in the julia-vim plugin.

I guess your best bet is filing an issue at semantic-highlight.vim and see if there is some kind of customization required (e.g. I saw that filetypes need to specify keywords lists, so something similar may be necessary here?)

@rcnlee
Copy link
Author

rcnlee commented Jun 25, 2016

Thanks for taking the time to look into this. I don't think this is an issue with julia-vim specifically. I traced it down to the use of syntax regions. It seems that semantic-highlight doesn't parse inside...

@carlobaldassi
Copy link
Contributor

Closing this as it's not something that can be dealt with in julia-vim.

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