aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-04-25 20:47:20 +0200
committerJustin M. Keyes <justinkz@gmail.com>2025-04-25 20:47:20 +0200
commita9b2e80d297303b747d54e8caea92f96e2dd6cd7 (patch)
tree636fba2e650a19eece9935bd88cd89533f01343d /scripts
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-a9b2e80d297303b747d54e8caea92f96e2dd6cd7.tar
nvim-lspconfig-a9b2e80d297303b747d54e8caea92f96e2dd6cd7.tar.gz
nvim-lspconfig-a9b2e80d297303b747d54e8caea92f96e2dd6cd7.tar.bz2
nvim-lspconfig-a9b2e80d297303b747d54e8caea92f96e2dd6cd7.tar.lz
nvim-lspconfig-a9b2e80d297303b747d54e8caea92f96e2dd6cd7.tar.xz
nvim-lspconfig-a9b2e80d297303b747d54e8caea92f96e2dd6cd7.tar.zst
nvim-lspconfig-a9b2e80d297303b747d54e8caea92f96e2dd6cd7.zip
fix(docgen.lua): obsolete enable snippet
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/docgen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/docgen.lua b/scripts/docgen.lua
index bfddd063..be88436c 100755
--- a/scripts/docgen.lua
+++ b/scripts/docgen.lua
@@ -79,7 +79,7 @@ local section_template_md = [[
Snippet to enable the language server:
```lua
-require'lspconfig'.{{config_name}}.setup{}
+vim.lsp.enable('{{config_name}}')
```
{{commands}}
Default config: