From 9dc8ecb488413d879d5d259b1ec66cf0fa7ffbe9 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 27 Feb 2025 04:31:41 -0800 Subject: fix(docgen): root_dir doc shows paths from CI env #3630 Problem: When `root_dir` is not defined as a function, the generated docs show the paths resolved in the CI env: root_dir : lua "/home/runner/work/nvim-lspconfig/nvim-lspconfig" Solution: Always show the "gF" message for `root_dir`, even if it is not a function. Fix #3628 --- doc/configs.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'doc/configs.md') diff --git a/doc/configs.md b/doc/configs.md index bba699cd..83743835 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -469,10 +469,7 @@ Default config: ```lua { "r" } ``` -- `root_dir` : - ```lua - "/home/runner/work/nvim-lspconfig/nvim-lspconfig" - ``` +- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/air.lua:2](../lua/lspconfig/configs/air.lua#L2) - `single_file_support` : `true` @@ -11296,10 +11293,7 @@ Default config: ```lua { "html", "ruby", "eruby", "blade", "php" } ``` -- `root_dir` : - ```lua - "/home/runner/work/nvim-lspconfig/nvim-lspconfig" - ``` +- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/turbo_ls.lua:2](../lua/lspconfig/configs/turbo_ls.lua#L2) ## turtle_ls -- cgit v1.2.3-70-g09d2