aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDheepak Krishnamurthy <me@kdheepak.com>2020-07-19 12:50:00 -0600
committerGitHub <noreply@github.com>2020-07-19 12:50:00 -0600
commita4a2cb08d691be0efc95dd842bb06d9bae0da0ca (patch)
tree943845df6c74e71a7eea81c699372043bce4231c /scripts
parentMerge pull request #297 from kdheepak/kd/add-pr-template (diff)
downloadnvim-lspconfig-a4a2cb08d691be0efc95dd842bb06d9bae0da0ca.tar
nvim-lspconfig-a4a2cb08d691be0efc95dd842bb06d9bae0da0ca.tar.gz
nvim-lspconfig-a4a2cb08d691be0efc95dd842bb06d9bae0da0ca.tar.bz2
nvim-lspconfig-a4a2cb08d691be0efc95dd842bb06d9bae0da0ca.tar.lz
nvim-lspconfig-a4a2cb08d691be0efc95dd842bb06d9bae0da0ca.tar.xz
nvim-lspconfig-a4a2cb08d691be0efc95dd842bb06d9bae0da0ca.tar.zst
nvim-lspconfig-a4a2cb08d691be0efc95dd842bb06d9bae0da0ca.zip
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.