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 82839ed..1474460 100644 --- a/modules/home-manager/vim/config/lua/plugins/tools/rest.lua +++ b/modules/home-manager/vim/config/lua/plugins/tools/rest.lua @@ -3,8 +3,6 @@ return { "rest-nvim/rest.nvim", ft = "http", config = function() - require("rest-nvim").setup() - package.path = package.path .. ";" .. "/nix/store/cga26ykqb57jyiws6wvrsmw9xrqf7555-lua5.1-lua-curl-0.3.13-1/share/lua/5.1/?.lua" @@ -12,6 +10,8 @@ return { package.cpath = package.cpath .. ";" .. "/nix/store/cga26ykqb57jyiws6wvrsmw9xrqf7555-lua5.1-lua-curl-0.3.13-1/lib/lua/5.1/?.so" + + require("rest-nvim").setup() end, }, }