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

Please add syntax support for C/C++ #10

Open
tinkerbeast opened this issue Aug 16, 2021 · 3 comments
Open

Please add syntax support for C/C++ #10

tinkerbeast opened this issue Aug 16, 2021 · 3 comments

Comments

@tinkerbeast
Copy link

The coloursheme for C/C++ doesn't seem quite right - I attached a screen-shot. The colors.lua file doesn't seem to have the bright green and yellow colours which are causing the issue. So I am guessing we need to add a C++ theme in theme.lua?

Screenshot from 2021-08-16 19-37-26

@Mofiqul
Copy link
Owner

Mofiqul commented Aug 18, 2021

Hi thanks for the report. Are you using treesiter?

@tinkerbeast
Copy link
Author

No, my neovim version doesn't support treesiter. I do use 'sheerun/vim-polyglot' though.

@darzok0914
Copy link

this colour scheme is using tree sitter as its core, also if you are using cpp you definitely need to upgrade to using tree sitter as clangd has dropped the support for its custom document highlighting protocol in favour of the official one. Coc has been updated to support this feature and a merge request is in to align tree sitter highlight groups with lsp document highlighting.

in other word, you need to use tree sitter moving forward.

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

3 participants