Stephan Seitz

Results 514 comments of Stephan Seitz

I think it could be done by abusing the queries of nvim-treesitter/nvim-treesitter-textobject. Otherwise we have no language independent notion what a function/class is.

I guess you basically want to do the inverse of this PR: https://github.com/nvim-treesitter/nvim-treesitter-textobjects/pull/60 Right now the folding algorithm has `folds` and `@fold` hard-coded. But it could just be the default...

You can also set the queries manually `:h set_query`. I'm also experimenting with filtering and overwriting the files https://github.com/neovim/neovim/pull/14932

The C# parser is very incomplete. It can't parser most documents properly. Semantic tokens for C# is in preview https://github.com/OmniSharp/omnisharp-vscode#semantic-highlighting. 1. can probably be fixed on our side. Do you...

Also adding namespaces are not highlighted as such to the list

Maybe there are some new queries missing? Has someone the time to look over the queries and fix them? I personally don't use C#.

Does #1351 improve the situation?

@Luxed will we also get folding and locals? :smiley:

Locals are some local semantic structure of the document. It basically answers the question "what is a definition?" "What is the scope of definition?" in the current language. And of...