1
0
Fork 0

Update config

This commit is contained in:
Daniel Kempkens 2024-06-20 14:25:02 +02:00
parent 7b390f6c83
commit 08dcc03415
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 8 additions and 1 deletions

View file

@ -59,7 +59,7 @@
(when (= current nil)
(tset cache :gitsigns bufnr lnum {:name details.sign_hl_group})))))))
(aucmd [:BufEnter :CursorHold :CursorHoldI :DiagnosticChanged]
(aucmd [:BufEnter :InsertLeave :DiagnosticChanged]
{:callback #(update-cache-diagnostics $1.buf
(vim.diagnostic.get $1.buf))
:group augroup

View file

@ -36,9 +36,16 @@ in
"https://nix-community.cachix.org?priority=2"
];
trusted-substituters = [
"https://attic.hosting.nedeco.mobi/devshells"
];
trusted-public-keys = [
"nifoc-systems:eDDqVP5BFR6/1KvXbF9oUL8JahDdmbrsYtxlQ57LOTU="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
# trusted-substituters
"devshells:YXtbU0DheB229oCr2D0H0qHjj2Ed/e2VZiLSXgQ1IVA="
];
trusted-users = [ "@admin" ];