mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
Fix typo in locals.lua: vaild -> valid
This commit is contained in:
parent
82afae9c9c
commit
05380d700b
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ end
|
|||
-- @param node_text: the node text to use
|
||||
-- @returns a string id
|
||||
function M.get_definition_id(scope, node_text)
|
||||
-- Add a vaild starting character in case node text doesn't start with a valid one.
|
||||
-- Add a valid starting character in case node text doesn't start with a valid one.
|
||||
return table.concat({ "k", node_text or "", scope:range() }, "_")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue