Skip to content

Commit

Permalink
nvim: Update lsp options
Browse files Browse the repository at this point in the history
  • Loading branch information
i077 committed Dec 3, 2024
1 parent e7337ec commit f094afd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions modules/home/neovim/lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ in {
gopls.enable = true;

# Haskell
hls.enable = true;
hls = {
enable = true;
installGhc = false;
};

# JSON
jsonls.enable = true;

# Nix
nil-ls = {
nil_ls = {
enable = true;
settings = {
formatting.command = ["alejandra"];
Expand All @@ -27,7 +30,7 @@ in {
pylsp.enable = true;

# Rust
rust-analyzer = {
rust_analyzer = {
enable = true;
installRustc = false;
installCargo = false;
Expand All @@ -40,7 +43,7 @@ in {
texlab.enable = true;

# TypeScript
ts-ls.enable = true;
ts_ls.enable = true;
};
};

Expand Down

0 comments on commit f094afd

Please sign in to comment.