-
Notifications
You must be signed in to change notification settings - Fork 24
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
Added option node_context #21
base: main
Are you sure you want to change the base?
Conversation
For c/CPP have no effect |
Hi I had to tsplayground to find how the elements for a language are named. This is my current setup. It does not include cpp. require'twilight'.setup{ |
I think I succeeded. |
This PR is stale because it has been open 60 days with no activity. |
skip default expand config option properly
This PR is stale because it has been open 30 days with no activity. |
Adding an option that adds context by nodes in addition to context by lines.
Example:
If node_context = 1, then both if would be highlighted.
If node_context = 0, then only the inner if would be highlighted.
if node_context = 2, then the whole function woudl be highlighted.