Comments (4)
Color is irrelevant, since it may depend on the colorscheme. What does :Inspect say?
from nvim-treesitter.
@clason inspect, like the InspectTree
from the screenshot, just treats members as regular variables.
I made an issue for the csharp grammar, since it doesn't seem to treat members correctly. tree-sitter/tree-sitter-c-sharp#325
apologies if this issue is out of place, all the treesitter stuff is pretty new to me 😅
from nvim-treesitter.
Yes, if the tree doesn't distinguish it, there's nothing we can do. Reporting it at the parser is the correct approach.
from nvim-treesitter.
C# is probs the hardest to distinguish fields, methods, and variables compared to js/c/c++; convention is that lowercase underscore-prefixed variables are private members, so that could be easily fixed though
from nvim-treesitter.
Related Issues (20)
- Performance Issues with Treesitter Plugin for .pdb Files in Neovim HOT 10
- Max diagnostics per-line example crashes when removing lines above errors HOT 2
- Indent level off by 1 for javascript/typescript
- Nix language injection breaks commentstring HOT 5
- Markdown heading continues to next line HOT 10
- Wrong indent in tsx file HOT 9
- Python indentation not working properly HOT 2
- bash regex editing hangs neovim HOT 1
- Selecting inside / within a node HOT 2
- nvim +PlugUpdate does not update treesitter (results in errors) HOT 4
- C23 auto keyword highlighted as keyword.modifier not as type HOT 4
- Python: Current line dedented while typing slice (`:`) HOT 1
- TS Parser PHP errors with Invalid node type "anonymous_function_creation_expression" HOT 5
- Error in php files HOT 1
- Indentation module breaks auto indent in JS files HOT 2
- Cant Install Latex HOT 1
- Brewfile support HOT 1
- bug: [python] [indent] conditional return prematurely de-indents
- Vimdoc: concealed characters not hidden, replaced by box-drawing characters HOT 13
- multiple dollar signs in a line in a markdown file makes tree-sitter crash HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-treesitter.