mirror of
https://github.com/neovim/neovim.git
synced 2026-01-27 15:16:04 +00:00
docs: enforce "treesitter" spelling #27110
It's the "tree-sitter" project, but "treesitter" in our code and docs.
This commit is contained in:
@@ -1909,7 +1909,7 @@ local pattern = {
|
||||
['.*baseq[2-3]/.*%.cfg'] = 'quake',
|
||||
['.*quake[1-3]/.*%.cfg'] = 'quake',
|
||||
['.*id1/.*%.cfg'] = 'quake',
|
||||
['.*/queries/.*%.scm'] = 'query', -- tree-sitter queries (Neovim only)
|
||||
['.*/queries/.*%.scm'] = 'query', -- treesitter queries (Neovim only)
|
||||
['.*,v'] = 'rcs',
|
||||
['%.reminders.*'] = starsetf('remind'),
|
||||
['[rR]akefile.*'] = starsetf('ruby'),
|
||||
|
||||
@@ -26,7 +26,7 @@ local M = {}
|
||||
|
||||
--- Table with default priorities used for highlighting:
|
||||
--- - `syntax`: `50`, used for standard syntax highlighting
|
||||
--- - `treesitter`: `100`, used for tree-sitter-based highlighting
|
||||
--- - `treesitter`: `100`, used for treesitter-based highlighting
|
||||
--- - `semantic_tokens`: `125`, used for LSP semantic token highlighting
|
||||
--- - `diagnostics`: `150`, used for code analysis such as diagnostics
|
||||
--- - `user`: `200`, used for user-triggered highlights such as LSP document
|
||||
|
||||
@@ -14,7 +14,7 @@ local M = {}
|
||||
local TSTreeView = {}
|
||||
|
||||
---@class TSP.Node
|
||||
---@field node TSNode Tree-sitter node
|
||||
---@field node TSNode Treesitter node
|
||||
---@field field string? Node field
|
||||
---@field depth integer Depth of this node in the tree
|
||||
---@field text string? Text displayed in the inspector for this node. Not computed until the
|
||||
|
||||
Reference in New Issue
Block a user