From 293967a65091097aafcd2dbc71e9f56b8eb34b08 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 5 May 2020 07:42:03 -0700 Subject: doc: spell out when :packadd is needed https://github.com/neovim/nvim-lsp/issues/220 --- scripts/README_template.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/README_template.md b/scripts/README_template.md index 511d700c..33693615 100644 --- a/scripts/README_template.md +++ b/scripts/README_template.md @@ -42,7 +42,7 @@ Each config provides a `setup()` function, to initialize the server with reasonable defaults and some server-specific things like commands or different diagnostics. - vim.cmd('packadd nvim-lsp') + vim.cmd('packadd nvim-lsp') -- If installed as a Vim "package". require'nvim_lsp'..setup{name=…, settings = {…}, …} Find the [config](#configurations) for your language, then paste the example @@ -57,7 +57,7 @@ config provides `nvim_lsp.texlab.buf_build({bufnr})`. To use the defaults, just call `setup()` with an empty `config` parameter. For the `gopls` config, that would be: - vim.cmd('packadd nvim-lsp') + vim.cmd('packadd nvim-lsp') -- If installed as a Vim "package". require'nvim_lsp'.gopls.setup{} ### Example: override some defaults -- cgit v1.2.3-70-g09d2