From 746d8ff20198dcd261d753d3a9c4e151266f7f7e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 26 Apr 2025 13:01:14 +0000 Subject: docs: update configs.md skip-checks: true --- doc/configs.md | 6 ++++-- doc/configs.txt | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/configs.md b/doc/configs.md index 79aa6426..c7afcd9f 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -11475,7 +11475,9 @@ Here's an example that disables type checking in JavaScript files. } ``` -Source actions such as organizing imports and removing unused code are available via `:LspTypescriptSourceAction`. +Use the `:LspTypescriptSourceAction` command to see "whole file" ("source") code-actions such as: +- organize imports +- remove unused code ### Vue support @@ -11540,7 +11542,7 @@ Default config: hostInfo = "neovim" } ``` -- `on_attach` source (use "gF" to open): [../lsp/ts_ls.lua:71](../lsp/ts_ls.lua#L71) +- `on_attach` source (use "gF" to open): [../lsp/ts_ls.lua:73](../lsp/ts_ls.lua#L73) - `root_markers` : ```lua { "tsconfig.json", "jsconfig.json", "package.json", ".git" } diff --git a/doc/configs.txt b/doc/configs.txt index e9bf9b6c..dc07983a 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -10830,7 +10830,9 @@ Here's an example that disables type checking in JavaScript files. } ``` -Source actions such as organizing imports and removing unused code are available via `:LspTypescriptSourceAction`. +Use the `:LspTypescriptSourceAction` command to see "whole file" ("source") code-actions such as: +- organize imports +- remove unused code ### Vue support @@ -10894,7 +10896,7 @@ Default config: hostInfo = "neovim" } ``` -- `on_attach` source (use "gF" to open): [../lsp/ts_ls.lua:71](../lsp/ts_ls.lua#L71) +- `on_attach` source (use "gF" to open): [../lsp/ts_ls.lua:73](../lsp/ts_ls.lua#L73) - `root_markers` : ```lua { "tsconfig.json", "jsconfig.json", "package.json", ".git" } -- cgit v1.2.3-70-g09d2