commit 007ff91c0f08fc2676be0d4c5a79ac0b843373ec
parent 020ffb21c50b5f83abc567dc4f9945f9e35b1152
Author: mtmn <miro@haravara.org>
Date: Tue, 19 May 2026 19:33:59 +0200
chore: cleanup lsp.fnl, etc.
Diffstat:
6 files changed, 22 insertions(+), 32 deletions(-)
diff --git a/flake.lock b/flake.lock
@@ -32,11 +32,11 @@
},
"locked": {
"dir": "bandeno",
- "lastModified": 1778774361,
- "narHash": "sha256-yP+/t3V9ocNrTtxg1IjpVbQkIjfFrx8ViW+m+Hm4Akk=",
+ "lastModified": 1779217478,
+ "narHash": "sha256-PoJ2bQF6yEMKYIoIkipDnGi6Qsnue8ZiUplPGrTPeYc=",
"owner": "~mtmn",
"repo": "tools",
- "rev": "15db339eec0f1c610ceb56196d203eb3b5798a2a",
+ "rev": "2cbc7f8ae2cc154b3e0642b34c0bac4abb3c5bb0",
"type": "sourcehut"
},
"original": {
@@ -134,11 +134,11 @@
]
},
"locked": {
- "lastModified": 1778958912,
- "narHash": "sha256-6pvS9rIF9mZRj1ENwu9fDLHeG1JFDTCpRyy6vJhXkTA=",
+ "lastModified": 1779226674,
+ "narHash": "sha256-wuOkjI6pRiN4sEn/EPBRnNW5cmcpvd7xtIM8y5LooAs=",
"owner": "nix-community",
"repo": "disko",
- "rev": "6e8dc7aa0e65fce67c76e18227a13a7d529f2cdf",
+ "rev": "65fb947964bd44fc0008faf77d1fcb7a9f40bb32",
"type": "github"
},
"original": {
@@ -261,11 +261,11 @@
]
},
"locked": {
- "lastModified": 1779027260,
- "narHash": "sha256-ZbgWWFQmSyM3HQ31nAZk2hJ7OSeNr9uRFHL8jCifY9M=",
+ "lastModified": 1779213149,
+ "narHash": "sha256-Cf+p/T4Z3n9Sw0TiR3kQaIwQI+/hfvLJcoTzeq6yS3E=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "bcb774cfc3268120cd61808629f9aa7dad3750a2",
+ "rev": "bd868f769a69d3b6091a1da68a75cb83a181033c",
"type": "github"
},
"original": {
diff --git a/hosts/void/default.nix b/hosts/void/default.nix
@@ -81,6 +81,7 @@
bear
entr
samurai
+ buck2
];
utils = [
@@ -155,7 +156,7 @@
haunt
go_1_26
gopls
- guix
+ zls_0_15
];
}));
}
diff --git a/hosts/void/overlays/config/magdalena/config.json.nix b/hosts/void/overlays/config/magdalena/config.json.nix
Binary files differ.
diff --git a/hosts/void/overlays/config/shell/rc/void b/hosts/void/overlays/config/shell/rc/void
Binary files differ.
diff --git a/modules/mixins/dotfiles/config/nvim/fnl/config/lsp.fnl b/modules/mixins/dotfiles/config/nvim/fnl/config/lsp.fnl
@@ -37,27 +37,15 @@
(create-autocmd :FileType {:pattern filetype : callback}))))
(fn config []
- (let [servers {:clangd {}
- :gopls {:settings {:gopls {:analyses {:unusedparams true}
- :staticcheck true
- :gofumpt true}}}
- :gleam {}
- :nixd {}
- :rust_analyzer {}
- :ts_ls {}
- :elmls {}
- :zls {}
- :hls {}
- :ruby_lsp {}
- :purescriptls {}}]
- (vim.lsp.config :purescriptls
- {:cmd [:npx :purescript-language-server :--stdio]})
- (let [open-floating-preview vim.lsp.util.open_floating_preview]
- (set vim.lsp.util.open_floating_preview
- (fn [contents syntax opts ...]
- (let [opts (or opts {})]
- (set opts.border (or opts.border :rounded))
- (open-floating-preview contents syntax opts ...))))))
- (vim.diagnostic.config {:virtual_text true}))
+ (vim.lsp.config :purescriptls
+ {:cmd [:npx :purescript-language-server :--stdio]})
+ (let [open-floating-preview vim.lsp.util.open_floating_preview]
+ (set vim.lsp.util.open_floating_preview
+ (fn [contents syntax opts ...]
+ (let [opts (or opts {})]
+ (set opts.border (or opts.border :rounded))
+ (open-floating-preview contents syntax opts ...))))))
+
+(vim.diagnostic.config {:virtual_text true})
{: auto-format-on-save : config}
diff --git a/modules/mixins/dotfiles/config/shell/rc/aliased-short-names b/modules/mixins/dotfiles/config/shell/rc/aliased-short-names
@@ -126,6 +126,7 @@ alias cej='just check'
alias bdj='just build'
alias dpj='just deploy'
alias dfj='just diff'
+alias rnj='just run'
alias bexec='bundle exec'
alias brake='bexec rake'