From 785ba31b64e58a0d1d2b9902a984760893c4dbce Mon Sep 17 00:00:00 2001 From: Evgeny Zislis Date: Thu, 21 Dec 2023 20:26:59 +0200 Subject: [PATCH] fix: typo in util documentation --- doc/lspconfig.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt index 0cb51688ed..4d9b89dd10 100644 --- a/doc/lspconfig.txt +++ b/doc/lspconfig.txt @@ -390,7 +390,7 @@ below returns a function that takes as its argument the current buffer path. - `util.find_package_json_ancestor`: a function that locates the first parent directory containing a `package.json`. > - root_dir = util.find_json_ancestor + root_dir = util.find_package_json_ancestor < Note: On Windows, `lspconfig` always assumes forward slash normalized paths with capitalized drive letters.