From 0f653784eabb9db352291ea50c9421f727ba1e34 Mon Sep 17 00:00:00 2001 From: ray-x Date: Thu, 23 Dec 2021 16:40:32 +1100 Subject: [PATCH] Doc update --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2af950e..ba8c425 100644 --- a/README.md +++ b/README.md @@ -491,6 +491,7 @@ cmd = { "/Users/username/.local/share/nvim/lsp_servers/python/node_modules/.bin/ ``` The lsp servers installed by nvim-lsp-installer is in following dir + ```lua local path = require 'nvim-lsp-installer.path' local install_root_dir = path.concat {vim.fn.stdpath 'data', 'lsp_servers'} @@ -500,7 +501,6 @@ local install_root_dir = path.concat {vim.fn.stdpath 'data', 'lsp_servers'} And you can setup binary full path to this: (e.g. with gopls) `install_root_dir .. '/go/gopls'` - ## Usage Please refer to lua/navigator/lspclient/mapping.lua on key mappings. Should be able to work out-of-box. @@ -536,9 +536,10 @@ You can override the above highlight to fit your current colorscheme ## commands -| command | function | -| ------------ | ---------------------- | -| LspToggleFmt | toggle lsp auto format | +| command | function | +| ------------ | ------------------------- | +| LspToggleFmt | toggle lsp auto format | +| LspKeymaps | show LSP releated keymaps | ## Screenshots