Compare commits
1 commit
9f59290f50
...
ce798e798e
Author | SHA1 | Date | |
---|---|---|---|
ce798e798e |
1 changed files with 13 additions and 9 deletions
|
@ -163,7 +163,12 @@ in
|
|||
lint = {
|
||||
enable = true;
|
||||
lintersByFt = {
|
||||
latex = [ "chktex" ];
|
||||
rust = [ "typos" ];
|
||||
latex = [
|
||||
"chktex"
|
||||
"typos"
|
||||
];
|
||||
markdown = [ "typos" ];
|
||||
nix = [ "statix" ];
|
||||
sh = [ "dash" ];
|
||||
zsh = [ "zsh" ];
|
||||
|
@ -172,16 +177,14 @@ in
|
|||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
bashls = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.bash-language-server;
|
||||
};
|
||||
bashls.enable = true;
|
||||
bashls.package = pkgs.unstable.bash-language-server;
|
||||
# clangd.enable = true; # Adds ~2GiB
|
||||
# html.enable = true; # Not writing html
|
||||
html.enable = true;
|
||||
jsonls.enable = true;
|
||||
marksman.enable = true;
|
||||
nixd.enable = true;
|
||||
nil_ls = {
|
||||
nil-ls = {
|
||||
enable = true;
|
||||
settings.nix.flake = {
|
||||
autoArchive = true;
|
||||
|
@ -189,11 +192,12 @@ in
|
|||
};
|
||||
};
|
||||
pyright.enable = true;
|
||||
# ruff-lsp.enable = true;
|
||||
ruff.enable = true;
|
||||
taplo.enable = true;
|
||||
# texlab.enable = true; # Not writing TeX rn
|
||||
typos_lsp.enable = true;
|
||||
# typst_lsp.enable = true; # Not using it either
|
||||
typos-lsp.enable = true;
|
||||
typst-lsp.enable = true;
|
||||
};
|
||||
};
|
||||
lspkind = {
|
||||
|
|
Loading…
Add table
Reference in a new issue