flake.lock: update nix2lua
This commit is contained in:
parent
7c6c6f9845
commit
ef34ceb024
4 changed files with 9 additions and 15 deletions
|
@ -20,11 +20,11 @@
|
|||
},
|
||||
"nix2lua": {
|
||||
"locked": {
|
||||
"lastModified": 1714950962,
|
||||
"narHash": "sha256-BFXPReb658A4OmuPMMkGN77sTDmXDMnii4IC997ZPvo=",
|
||||
"lastModified": 1715344083,
|
||||
"narHash": "sha256-7UehRa7etk0oqSH4ty0nUsmeO3Z+Y1dbKwrGSlgaMIc=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "65d4a061a42dbbb2cc326a4554dc8bac350999b0",
|
||||
"revCount": 40,
|
||||
"rev": "6a096bf9a22903c92f0065ba3316d3821ddd8b72",
|
||||
"revCount": 41,
|
||||
"type": "git",
|
||||
"url": "https://git.pleshevski.ru/mynix/nix2lua"
|
||||
},
|
||||
|
|
|
@ -36,7 +36,7 @@ in
|
|||
args = [ "event" ];
|
||||
content = { event }: {
|
||||
vim.keymap.set = map
|
||||
(attrs: attrs // { buffer = pipe1 event (var "buf"); })
|
||||
(attrs: attrs // { buffer = pipe1 event "buf"; })
|
||||
cfg.keymap.set;
|
||||
};
|
||||
};
|
||||
|
@ -61,13 +61,7 @@ in
|
|||
])
|
||||
);
|
||||
afterSetup = lib.mapAttrsToList
|
||||
(ls: lsSettings:
|
||||
pipe [
|
||||
(var varName)
|
||||
(var ls)
|
||||
(call "setup" lsSettings)
|
||||
]
|
||||
)
|
||||
(ls: lsSettings: pipe [ varName ls (call "setup" lsSettings) ])
|
||||
cfg.serverSettings;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -44,8 +44,8 @@ in
|
|||
content = { bufnr }: {
|
||||
extra = lib.mkIf cfg.keymap.withDefault pipe [
|
||||
(require "nvim-tree.api")
|
||||
(var "config")
|
||||
(var "mappings")
|
||||
"config"
|
||||
"mappings"
|
||||
(call "default_on_attach" bufnr)
|
||||
];
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ in
|
|||
fn.nvim-cmp-snippet-expand = {
|
||||
args = [ "args" ];
|
||||
content = { args }:
|
||||
let body = pipe1 args (var "body"); in {
|
||||
let body = pipe1 args "body"; in {
|
||||
extra =
|
||||
if snippet.luasnip.enable then
|
||||
pipe1 config.plugin.luasnip.var (call "lsp_expand" body)
|
||||
|
|
Loading…
Reference in a new issue