Skip to content

Commit

Permalink
feat(neovim-setup): Update installation.md
Browse files Browse the repository at this point in the history
Add a bit more of verbosity on nvim-lspconfig settings.
  • Loading branch information
baco authored and DetachHead committed Mar 17, 2024
1 parent 0658a4c commit 7abc86f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
see https://github.com/DetachHead/basedpyright#vscode-extension

#### Neovim
BasedPyright is available through the [`nvim-lspconfig`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#basedpyright) adapter for native Neovim's LSP support. To configure it simply add this to your Neovim's settings:
BasedPyright is available through the [`nvim-lspconfig`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#basedpyright) adapter for native Neovim's LSP support. TL;DR simply add this to your Neovim's settings:
```lua
local lspconfig = require("lspconfig")
lspconfig.basedpyright.setup {}
lspconfig.basedpyright.setup{}
```
Further info for this LSP server options for `nvim-lspconfig` are available on their docs, linked above.

#### Vim
Vim/Neovim users can install [coc-pyright](https://github.com/fannheyward/coc-pyright), the Pyright extension for coc.nvim.
Expand Down

0 comments on commit 7abc86f

Please sign in to comment.