diff options
Diffstat (limited to 'scripts/docgen.lua')
| -rw-r--r-- | scripts/docgen.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/docgen.lua b/scripts/docgen.lua index 6e2261d1..02fdd837 100644 --- a/scripts/docgen.lua +++ b/scripts/docgen.lua @@ -68,8 +68,7 @@ local lsp_section_template = [[ {{preamble}} ```lua -nvim_lsp.{{template_name}}.setup({config}) -nvim_lsp#setup("{{template_name}}", {config}) +require'nvim_lsp'.{{template_name}}.setup{} {{body}} ``` @@ -124,7 +123,7 @@ local function make_lsp_sections() end; function() if template_object.install then - return string.format("Can be installed in neovim with `:LspInstall %s`", template_name) + return string.format("Can be installed in Nvim with `:LspInstall %s`", template_name) end end; function() |
