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