Skip to content

Commit

Permalink
readme: lsp setup clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
tjex committed Jun 24, 2024
1 parent b3b4046 commit bd94d5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ To get the best experience, it's recommended to also install either [Telescope](
## Setup

> [!WARNING]
> This plugin will setup and start the LSP server for you, do *not* call `require("lspconfig").zk.setup()`.
> If you have the [zk cli](https://github.com/zk-org/zk) installed, then you do not need to install the `zk lsp` via the regular neovim paradigm (Mason, nvim-lsp, etc).
> This is because `zk` has our lsp bundled with it, which `zk-nvim` hooks into.
> Additionally, `zk-nvim` will setup and start the LSP server for you, do *not* call `require("lspconfig").zk.setup()`.
```lua
require("zk").setup()
Expand Down

0 comments on commit bd94d5e

Please sign in to comment.