Compare commits

...

3 Commits

Author SHA1 Message Date
eliaskohout 3850a28fe4 add ax aliases 2026-05-12 14:29:09 +02:00
eliaskohout 8a2d2ec447 update lsp config for nvim 2026-05-12 12:25:20 +02:00
eliaskohout 1ac072847d add alternative url for ax; add ruff package; 2026-05-10 23:41:48 +02:00
3 changed files with 9 additions and 13 deletions
@@ -168,20 +168,12 @@ return {
-- - settings (table): Override the default settings passed when initializing the server. -- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = { local servers = {
lua_ls = { lua_ls = { settings = { Lua = { completion = { callSnippet = 'Replace' } } } },
settings = {
Lua = {
completion = {
callSnippet = 'Replace',
},
},
},
},
gopls = {}, gopls = {},
pylsp = {}, ruff = { cmd = { '/run/current-system/sw/bin/ruff', 'server' } },
} }
local servers_skip_mason = { lua_ls = true, gopls = true } local servers_skip_mason = { lua_ls = true, gopls = true, ruff = true }
local ensure_installed = vim.tbl_filter(function(name) local ensure_installed = vim.tbl_filter(function(name)
return not servers_skip_mason[name] return not servers_skip_mason[name]
end, vim.tbl_keys(servers or {})) end, vim.tbl_keys(servers or {}))
+5 -1
View File
@@ -73,9 +73,13 @@
xdg.configFile."ax/config.json".text = builtins.toJSON { xdg.configFile."ax/config.json".text = builtins.toJSON {
remote = { remote = {
host = "blackpearl.n.eliaskohout.de"; host = "ax.n.eliaskohout.de";
port = 7000; port = 7000;
}; };
aliases = [
{ name = "bai"; command = "list --namespace ba --type issue --status open"; }
{ name = "ban"; command = "list --namespace ba --type note"; }
];
}; };
# HM Modules # HM Modules
+1 -1
View File
@@ -15,7 +15,7 @@
languagePackages = { languagePackages = {
rust = with pkgs; [ rustup cargo-deny cargo-edit ]; rust = with pkgs; [ rustup cargo-deny cargo-edit ];
python = with pkgs; [ python3 python3Packages.pip python3Packages.virtualenv uv mypy ]; python = with pkgs; [ python3 python3Packages.pip python3Packages.virtualenv uv mypy ruff ];
nodejs = with pkgs; [ nodejs pnpm ]; nodejs = with pkgs; [ nodejs pnpm ];
go = with pkgs; [ go golangci-lint ]; go = with pkgs; [ go golangci-lint ];
ruby = with pkgs; [ ruby bundler ]; ruby = with pkgs; [ ruby bundler ];