aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-08-10 14:52:48 +0900
committerGitHub <noreply@github.com>2020-08-10 14:52:48 +0900
commit80a503d93bf811327293f67101be076c0562ae51 (patch)
tree943845df6c74e71a7eea81c699372043bce4231c /scripts
parentMerge pull request #297 from kdheepak/kd/add-pr-template (diff)
parentAdd example for how to get path to log file to README (diff)
downloadnvim-lspconfig-80a503d93bf811327293f67101be076c0562ae51.tar
nvim-lspconfig-80a503d93bf811327293f67101be076c0562ae51.tar.gz
nvim-lspconfig-80a503d93bf811327293f67101be076c0562ae51.tar.bz2
nvim-lspconfig-80a503d93bf811327293f67101be076c0562ae51.tar.lz
nvim-lspconfig-80a503d93bf811327293f67101be076c0562ae51.tar.xz
nvim-lspconfig-80a503d93bf811327293f67101be076c0562ae51.tar.zst
nvim-lspconfig-80a503d93bf811327293f67101be076c0562ae51.zip
Merge pull request #306 from kdheepak/patch-1
Add example for how to get path to log file to README
Diffstat (limited to 'scripts')
-rw-r--r--scripts/README_template.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/README_template.md b/scripts/README_template.md
index 1538c794..dc0b4052 100644
--- a/scripts/README_template.md
+++ b/scripts/README_template.md
@@ -63,6 +63,12 @@ given there to your `init.vim`. **All examples are given in Lua,** see `:help
Some configs may define additional server-specific functions, e.g. the `texlab`
config provides `nvim_lsp.texlab.buf_build({bufnr})`.
+If you want to see the location of log file, you can run this in neovim:
+
+```
+:lua print(vim.lsp.get_log_path())
+```
+
### Example: using the defaults
To use the defaults, just call `setup()` with an empty `config` parameter.