aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-11-14 19:11:24 +0200
committerZhongheng Liu <z.liu@outlook.com.gr>2024-11-14 19:11:24 +0200
commitb7c44045758cf0a17162bb1eb0eb0a1595254805 (patch)
tree796c0857b7b136f9a2dd1dc048ca164fa14c932a
parent932fa37cfac220a6fa071ab742d3acdf08c34c0a (diff)
downloadnixos-configuration-b7c44045758cf0a17162bb1eb0eb0a1595254805.tar.gz
nixos-configuration-b7c44045758cf0a17162bb1eb0eb0a1595254805.tar.bz2
nixos-configuration-b7c44045758cf0a17162bb1eb0eb0a1595254805.zip
feat: nixvim lsp: pylsp -> pylyzer
-rw-r--r--home-manager/stvnliu/nixvim/lsp.nix18
1 files changed, 15 insertions, 3 deletions
diff --git a/home-manager/stvnliu/nixvim/lsp.nix b/home-manager/stvnliu/nixvim/lsp.nix
index 7313ab9..0ad54f8 100644
--- a/home-manager/stvnliu/nixvim/lsp.nix
+++ b/home-manager/stvnliu/nixvim/lsp.nix
@@ -1,13 +1,23 @@
-{config, ...}: {
+{...}: {
plugins = {
lsp = {
enable = true;
servers = {
- pylsp.enable = true;
- bashls.enable = true;
+ # For Python
+ #pylsp.enable = true;
+ pylyzer.enable = true;
+ #ruff.enable = true;
+ #ruff_lsp.enable = true;
+
+ # For CXX
clangd.enable = true;
+
+ # Misc
+ bashls.enable = true;
fsautocomplete.enable = true;
gopls.enable = true;
+
+ # For Nix
#nil_ls.enable = true;
nixd = {
enable = true;
@@ -18,6 +28,8 @@
};
};
};
+
+ # For TypeScript
ts_ls.enable = true;
};
keymaps.lspBuf = {