mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
user: fix nix lsp and remove some packages
This commit is contained in:
parent
9f0712d2ca
commit
3b495d8f13
2 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,8 @@
|
|||
gdb
|
||||
lldb
|
||||
rust-analyzer
|
||||
rnix-lsp
|
||||
nil
|
||||
nixpkgs-fmt
|
||||
typst-lsp
|
||||
(python3.withPackages (ps: with ps; [
|
||||
pyls-isort
|
||||
|
@ -28,14 +29,15 @@
|
|||
enable = true;
|
||||
|
||||
languages = {
|
||||
language-server.rnix-lsp = {
|
||||
command = "rnix-lsp";
|
||||
language-server.nil = {
|
||||
command = "nil";
|
||||
config = { nil.formatting.command = [ "nixpkgs-fmt" ]; };
|
||||
};
|
||||
language = [
|
||||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
language-servers = [ "rnix-lsp" ];
|
||||
language-servers = [ "nil" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -46,6 +48,7 @@
|
|||
color-modes = true;
|
||||
line-number = "relative";
|
||||
cursor-shape.insert = "bar";
|
||||
completion-trigger-len = 0;
|
||||
lsp = {
|
||||
display-messages = true;
|
||||
display-inlay-hints = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue