diff options
author | Linnnus <[email protected]> | 2023-09-12 22:16:10 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-09-14 17:31:35 +0200 |
commit | 935ad9551eecab0bfecacd94dbc0942e86eb857e (patch) | |
tree | 844dbdd470b2e19d5a8093cb616653b60fd4626a | |
parent | 3ac6c7ab0719183d838f1cbef1173fb75424d9f4 (diff) |
Fix pyright-langserver invocation
-rw-r--r-- | home/neovim/lsp.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/neovim/lsp.nix b/home/neovim/lsp.nix index 4708f13..4712348 100644 --- a/home/neovim/lsp.nix +++ b/home/neovim/lsp.nix @@ -51,7 +51,7 @@ -- Use a loop to conveniently call 'setup' on multiple servers and -- map buffer local keybindings when the language server attaches local servers = { - pyright = { cmd = { "${pkgs.pyright}/bin/pyright-langserver" } }, + pyright = { cmd = { "${pkgs.pyright}/bin/pyright-langserver", "--stdio" } }, rnix = { cmd = { "${pkgs.rnix-lsp}/bin/rnix-lsp" } }, denols = { init_options = { @@ -74,9 +74,9 @@ }, }; for server, config in pairs(servers) do - -- set common options + -- set common options config.on_attach = on_attach; - config.debounce_text_changes = 150; + config.debounce_text_changes = 150; lspconfig[server].setup(config) end |