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

No Highlight Group for Function Calls? #219

Open
tommyc38 opened this issue Nov 13, 2020 · 2 comments
Open

No Highlight Group for Function Calls? #219

tommyc38 opened this issue Nov 13, 2020 · 2 comments

Comments

@tommyc38
Copy link

Below are two screenshots which show that the function calls aren't grouped correctly or something. Note the calls I am referring to by my cursor location. Also, you can see in the command line the group those words are registering under per yats. Is there anyway we can create a group for these as I would really like to easily scan for these. Thanks.

image

image

@tommyc38
Copy link
Author

I am sure this is out of scope, but I use coc.nvim for intellisense via the LSP tsserver. As you can see in my screen shots on the right, it's knows all of my symbols and what they are. Is there anyway to incorporate this as a priority over regex to determine highlight groups? This would allow syntax highlight differentiation on class properties vs methods in a performant way along with other powerful highlights not suppported.

@NoahTheDuke
Copy link

This is the set of changes I made to highlight function calls. I'm not very well versed in vim syntax highlighting, so this is probably not ideal (which is why I haven't opened a PR), but it's worked for me.

functions.txt

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