From 7529f44cf13c2c41e0d68ad8aba64a997e5bd665 Mon Sep 17 00:00:00 2001 From: zackartz Date: Tue, 14 May 2024 17:24:47 -0400 Subject: [PATCH] 594 current 2024-05-14 17:24:43 24.05.20240512.2057814 6.8.6-zen1 * --- .../vim/config/lua/plugins/tools/rest.lua | 34 +++++++++---------- modules/home-manager/vim/default.nix | 1 + 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/modules/home-manager/vim/config/lua/plugins/tools/rest.lua b/modules/home-manager/vim/config/lua/plugins/tools/rest.lua index 631ae82..005806c 100644 --- a/modules/home-manager/vim/config/lua/plugins/tools/rest.lua +++ b/modules/home-manager/vim/config/lua/plugins/tools/rest.lua @@ -1,17 +1,17 @@ --- return { --- { --- "vhyrro/luarocks.nvim", --- priority = 1000, --- config = true, --- opts = { --- rocks = { "lua-curl", "nvim-nio", "mimetypes", "xml2lua" }, --- }, --- }, --- { --- "rest-nvim/rest.nvim", --- ft = "http", --- config = function() --- require("rest-nvim").setup() --- end, --- }, --- } +return { + { + "vhyrro/luarocks.nvim", + priority = 1000, + config = true, + opts = { + rocks = { "lua-curl", "nvim-nio", "mimetypes", "xml2lua" }, + }, + }, + { + "rest-nvim/rest.nvim", + ft = "http", + config = function() + require("rest-nvim").setup() + end, + }, +} diff --git a/modules/home-manager/vim/default.nix b/modules/home-manager/vim/default.nix index c0735ab..b9eb811 100644 --- a/modules/home-manager/vim/default.nix +++ b/modules/home-manager/vim/default.nix @@ -66,6 +66,7 @@ in { STATE_FILE=$STATE_DIR/lazy-lock-checksum LOCK_FILE=~/.config/nvim/lazy-lock.json HASH=$(nix-hash --flat $LOCK_FILE) + CURL_DIR=${pkgs.curl} [ ! -d $STATE_DIR ] && mkdir -p $STATE_DIR [ ! -f $STATE_FILE ] && touch $STATE_FILE