Compare commits
3 Commits
de998f285a
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3850a28fe4 | |||
| 8a2d2ec447 | |||
| 1ac072847d |
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user