From a4a2cb08d691be0efc95dd842bb06d9bae0da0ca Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Sun, 19 Jul 2020 12:50:00 -0600 Subject: Add example for how to get path to log file to README --- scripts/README_template.md | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- cgit v1.2.3-70-g09d2