summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-01-29 11:27:36 +0100
committerLinnnus <[email protected]>2024-02-04 12:47:39 +0100
commit1b69c3bc1893b37e6ca82b2ff67935c344233682 (patch)
treeb248d3b0cae599df32660c4d21ddfac58727cafb
parentd556a3b4638835b407232491959940d92d8468db (diff)
Switch to nixd (works equally shit)
-rw-r--r--home/neovim/lsp.nix19
1 files changed, 1 insertions, 18 deletions
diff --git a/home/neovim/lsp.nix b/home/neovim/lsp.nix
index 20de898..0c2e290 100644
--- a/home/neovim/lsp.nix
+++ b/home/neovim/lsp.nix
@@ -49,24 +49,7 @@
-- map buffer local keybindings when the language server attaches
local servers = {
pyright = { cmd = { "${pkgs.pyright}/bin/pyright-langserver", "--stdio" } },
- nil_ls = {
- cmd = { "${pkgs.nil}/bin/nil" },
- settings = {
- ["nil"] = {
- formatting = {
- command = {"nix", "run", "nixpkgs#alejandra"},
- },
- nix = {
- flake = {
- -- calls `nix flake archive` to put a flake and its output to store
- autoArchive = true,
- -- auto eval flake inputs for improved completion
- autoEvalInputs = true,
- },
- },
- },
- },
- },
+ nixd = { cmd = { "${pkgs.nixd}/bin/nixd" } },
denols = {
init_options = {
enable = true,