diff options
| author | William Boman <william@redwill.se> | 2022-04-26 19:07:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-26 10:07:20 -0700 |
| commit | a337961abd6d250119ac637e841d50966d5581c7 (patch) | |
| tree | f4ff641f6dcb55744d57f303bda786db4ea65201 /lua | |
| parent | fix(vls): add cmd (#1862) (diff) | |
| download | nvim-lspconfig-a337961abd6d250119ac637e841d50966d5581c7.tar nvim-lspconfig-a337961abd6d250119ac637e841d50966d5581c7.tar.gz nvim-lspconfig-a337961abd6d250119ac637e841d50966d5581c7.tar.bz2 nvim-lspconfig-a337961abd6d250119ac637e841d50966d5581c7.tar.lz nvim-lspconfig-a337961abd6d250119ac637e841d50966d5581c7.tar.xz nvim-lspconfig-a337961abd6d250119ac637e841d50966d5581c7.tar.zst nvim-lspconfig-a337961abd6d250119ac637e841d50966d5581c7.zip | |
fix(zeta_note): add cmd (#1863)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/zeta_note.lua | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lua/lspconfig/server_configurations/zeta_note.lua b/lua/lspconfig/server_configurations/zeta_note.lua index 9798af9d..6727ba6d 100644 --- a/lua/lspconfig/server_configurations/zeta_note.lua +++ b/lua/lspconfig/server_configurations/zeta_note.lua @@ -2,6 +2,7 @@ local util = require 'lspconfig.util' return { default_config = { + cmd = { "zeta-note" }, filetypes = { 'markdown' }, root_dir = util.root_pattern '.zeta.toml', }, @@ -12,13 +13,6 @@ https://github.com/artempyanykh/zeta-note Markdown LSP server for easy note-taking with cross-references and diagnostics. Binaries can be downloaded from https://github.com/artempyanykh/zeta-note/releases - -**By default, zeta-note doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your zeta-note binary. - -```lua -require'lspconfig'.zeta_note.setup{ - cmd = {'path/to/zeta-note'} -} ``` ]], default_config = { |
