Skip to content

Commit a9b2e80

Browse files
committed
fix(docgen.lua): obsolete enable snippet
1 parent 22a6ada commit a9b2e80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/docgen.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ local section_template_md = [[
7979
8080
Snippet to enable the language server:
8181
```lua
82-
require'lspconfig'.{{config_name}}.setup{}
82+
vim.lsp.enable('{{config_name}}')
8383
```
8484
{{commands}}
8585
Default config:

0 commit comments

Comments
 (0)