1
Fork 0

feat: simplified flake.nix

This commit is contained in:
Matei Adriel 2022-05-10 16:11:08 +03:00
parent 38c14ead49
commit 505fdbc65a
7 changed files with 140 additions and 372 deletions
dotfiles/neovim/lua/my/plugins

View file

@ -55,10 +55,12 @@ local function on_attach_typescript(client, bufnr)
M.on_attach(client, bufnr)
end
local function on_attach_lua()
local function on_attach_nix(c, b)
A.chordSilent("n", "ug",
":lua require('my.helpers.update-nix-fetchgit').update()",
":lua require('my.helpers.update-nix-fetchgit').update()<CR>",
{settings = "b"})
M.on_attach(c, b)
end
-- General server config
@ -97,7 +99,7 @@ local servers = {
}
}
},
rnix = {on_attach = on_attach_lua},
rnix = {on_attach = on_attach_nix},
hls = {
haskell = {
-- set formatter