From 93fb8227d5d905f799c9e56e28dfcace04bc6145 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sun, 4 May 2025 20:42:06 -0300 Subject: [PATCH] fix(neovim): check for NH_FLAKE env --- modules/neovim/lua/plugins/astrolsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/neovim/lua/plugins/astrolsp.lua b/modules/neovim/lua/plugins/astrolsp.lua index 1a51e7a..f2fc00b 100644 --- a/modules/neovim/lua/plugins/astrolsp.lua +++ b/modules/neovim/lua/plugins/astrolsp.lua @@ -9,7 +9,7 @@ return { ---@param opts AstroLSPOpts ---@return AstroLSPOpts opts = function(_, opts) - local system_flake_path = vim.fn.getenv "FLAKE" or error "FLAKE environment variable must be set." + local system_flake_path = os.getenv "FLAKE" or os.getenv "NH_FLAKE" or error "FLAKE environment variable must be set." local hostname = vim.fn.hostname() ---@type AstroLSPOpts