summaryrefslogtreecommitdiff
path: root/book/src/generated
diff options
context:
space:
mode:
authorLuke Halasy2023-09-10 12:57:44 +0000
committerGitHub2023-09-10 12:57:44 +0000
commitb959162ceb41d891c8b5fad6145ca5d1a4964a54 (patch)
treeef8f3d0d09c74d8999cd67935845b99f027f3b01 /book/src/generated
parent528a5e3aff011f652b0f3ac3bff61de41a9e05b2 (diff)
Add tree-sitter-highlight-name command (#8170)
* adds treesitter-highlight-name command * commit documentation changes * moves the get_highlight_name function into core/syntax * rename get_highlight_name function to get_highlight_for_node_at_position * addresses pr comments: moves fn into helper fn, simplifies a lot * commit updated documentation changes * changes scope method to return &str so that callers can decide whether or not to own
Diffstat (limited to 'book/src/generated')
-rw-r--r--book/src/generated/typable-cmd.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md
index 4a6e697a..4b737893 100644
--- a/book/src/generated/typable-cmd.md
+++ b/book/src/generated/typable-cmd.md
@@ -55,6 +55,7 @@
| `:lsp-restart` | Restarts the language servers used by the current doc |
| `:lsp-stop` | Stops the language servers that are used by the current doc |
| `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
+| `:tree-sitter-highlight-name` | Display name of tree-sitter highlight scope under the cursor. |
| `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. |
| `:debug-remote`, `:dbg-tcp` | Connect to a debug adapter by TCP address and start a debugging session from a given template with given parameters. |
| `:debug-eval` | Evaluate expression in current debug context. |