From 1f5cec136d19dd01329b7c006dabb11323ad3b97 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 28 Feb 2024 17:02:50 +0300 Subject: [PATCH] flake.lock: update nix2lua --- flake.lock | 16 ++++++++-------- home/modules/editor.nix | 7 +++++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index f8fa8b2..2c2fa6c 100644 --- a/flake.lock +++ b/flake.lock @@ -388,11 +388,11 @@ "theme": "theme" }, "locked": { - "lastModified": 1701345648, - "narHash": "sha256-Ta/5S6suVBUsgxY4hRWuQCYkOWi0V4bquVsKHkMQn1I=", + "lastModified": 1709128630, + "narHash": "sha256-Lfgfy/EWEmO9X1nkR8gG51FmLVTPh9M9IDCpviyINQY=", "ref": "refs/heads/main", - "rev": "542364e035e3c6fd859df3b527ecbfaf24f0c29d", - "revCount": 112, + "rev": "d280679b1498f9082ba12b2c65adbf16ea23c557", + "revCount": 114, "type": "git", "url": "https://git.pleshevski.ru/mynix/neovim" }, @@ -443,11 +443,11 @@ }, "nix2lua": { "locked": { - "lastModified": 1669103494, - "narHash": "sha256-jEu9VyOfTMbSITGiG329vEC6K7ZNppfhd0LojxMhzK8=", + "lastModified": 1709128456, + "narHash": "sha256-tRduS+XFI6VceWPQzjkuvlyn/Oe5NsQUS/wyEC69dvk=", "ref": "refs/heads/main", - "rev": "32b5ab313597df18a81a85af67c5e1380fd4f688", - "revCount": 13, + "rev": "f152767145e61fea96eddb1b550ab3f25701e0ad", + "revCount": 18, "type": "git", "url": "https://git.pleshevski.ru/mynix/nix2lua" }, diff --git a/home/modules/editor.nix b/home/modules/editor.nix index 13f2b83..fedcfba 100644 --- a/home/modules/editor.nix +++ b/home/modules/editor.nix @@ -30,7 +30,10 @@ let extensions.live_grep_args = { auto_quoting = true; mappings.i = { - "" = mkLuaRaw "require('telescope-live-grep-args.actions').quote_prompt()"; + "" = join "." [ + (mkCall "require" [ "telescope-live-grep-args.actions" ]) + (mkCall "quote_prompt" [ ]) + ]; }; }; }; @@ -54,7 +57,7 @@ let }; }; denols = { - root_dir = mkLuaRaw "root_pattern(\"deno.json\", \"deno.jsonc\")"; + root_dir = mkCall "root_pattern" [ "deno.json" "deno.jsonc" ]; }; rust_analyzer = { settings.rust-analyzer = {