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

Feature Requrest: Treesitter support #46

Open
hissssst opened this issue Oct 21, 2021 · 11 comments
Open

Feature Requrest: Treesitter support #46

hissssst opened this issue Oct 21, 2021 · 11 comments

Comments

@hissssst
Copy link

Here you can find color schemes which implement highlighting of tree-sitter groups
https://github.com/nvim-treesitter/nvim-treesitter/wiki/Colorschemes

@fenetikm
Copy link
Owner

Hi @hissssst - I think I have already covered that? As you can see, falcon is in the list of those colour schemes.

@EpsilonKu
Copy link

I guess u need to write it on Readme.

@hissssst
Copy link
Author

Coloschemes look different. And I loved the old one much more. Colorscheme with treesitter has too many yellow accents

This is old one:
old one

This is new one:
new one

@fenetikm
Copy link
Owner

yeah, agreed - I'll see what I can do.

@fenetikm
Copy link
Owner

fenetikm commented Oct 30, 2021

I've had a look - the old version you are seeing is still possible with non-treesitter highlighting - if you turn off treesitter highlighting for elixir files it will look like that.

I had a play and in elixir files the tree sitter highlighting is not very granular, I'll do a couple of tweaks in master in a bit but it won't look like the old version.

@fenetikm
Copy link
Owner

Have now tweaked master a bit and updated the wiki to include tree sitter in the list.

@hissssst
Copy link
Author

Is it possible to have docstrings displayed as comments?

@fenetikm
Copy link
Owner

@hissssst Not sure I quite follow - can you show me an example piece of code and what exactly you are referring to?

@hissssst
Copy link
Author

hissssst commented Nov 3, 2021

Like in screenshots I've attached:
docstring is that string which starts with @moduledoc and in vanilla colorscheme docstring is grey while other strings are #bfdaff

@sebkolind
Copy link

@hissssst off topic, and I know this is old, but what treeview'er is that in your screenshot? your setup looks really slick :)

@hissssst
Copy link
Author

hissssst commented Dec 5, 2023

@sebkolind , I think it was coc-tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants