From 068fc3cdf7e8c3ee9426077ccf8266ef5f29f3fc Mon Sep 17 00:00:00 2001 From: Daniel Mathiot Date: Mon, 30 Aug 2021 21:37:07 +0200 Subject: [PATCH] Update adding-languages.md --- docs/adding-languages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/adding-languages.md b/docs/adding-languages.md index 4a6ba94..15edd67 100644 --- a/docs/adding-languages.md +++ b/docs/adding-languages.md @@ -24,7 +24,7 @@ Example (with Tree-sitter activated on the side for better comprehension): The current cursor position is located in the middle of the function (`local_variable_declaration`). -If I generate a function annotation using neogen, the default locator will try to find the first parent node matchinf one of those: +If I generate a function annotation using neogen, the default locator will try to find the first parent node matching one of those: ```lua func = { "function", "local_function", "local_variable_declaration", "field", "variable_declaration" },