diff options
Diffstat (limited to '')
3 files changed, 25 insertions, 1 deletions
diff --git a/hm/soispha/conf/nvim/plgs/lsp/servers/default.nix b/hm/soispha/conf/nvim/plgs/lsp/servers/default.nix index 8ffac2e1..1a5b6cb5 100644 --- a/hm/soispha/conf/nvim/plgs/lsp/servers/default.nix +++ b/hm/soispha/conf/nvim/plgs/lsp/servers/default.nix @@ -1,11 +1,13 @@ {...}: { imports = [ ./servers/bashls.nix + ./servers/ccls.nix ./servers/ltex.nix ./servers/lua-ls.nix ./servers/nil_ls.nix + ./servers/pylyzer.nix + ./servers/ruff-lsp.nix ./servers/rust-analyzer.nix ./servers/texlab.nix - ./servers/ccls.nix ]; } diff --git a/hm/soispha/conf/nvim/plgs/lsp/servers/servers/pylyzer.nix b/hm/soispha/conf/nvim/plgs/lsp/servers/servers/pylyzer.nix new file mode 100644 index 00000000..b1042221 --- /dev/null +++ b/hm/soispha/conf/nvim/plgs/lsp/servers/servers/pylyzer.nix @@ -0,0 +1,12 @@ +{pkgs, ...}: { + programs.nixvim = { + extraConfigLuaPost = + /* + lua + */ + '' + require('lspconfig').pylyzer.setup{} + ''; + extraPackages = with pkgs; [pylyzer]; + }; +} diff --git a/hm/soispha/conf/nvim/plgs/lsp/servers/servers/ruff-lsp.nix b/hm/soispha/conf/nvim/plgs/lsp/servers/servers/ruff-lsp.nix new file mode 100644 index 00000000..3eeb495a --- /dev/null +++ b/hm/soispha/conf/nvim/plgs/lsp/servers/servers/ruff-lsp.nix @@ -0,0 +1,10 @@ +{pkgs, ...}: { + programs.nixvim = { + plugins.lsp.servers = { + ruff-lsp = { + enable = true; + }; + }; + extraPackages = with pkgs; [ruff]; + }; +} |