fix(neovim): check for NH_FLAKE env
This commit is contained in:
parent
746e2793b0
commit
93fb8227d5
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ return {
|
||||||
---@param opts AstroLSPOpts
|
---@param opts AstroLSPOpts
|
||||||
---@return AstroLSPOpts
|
---@return AstroLSPOpts
|
||||||
opts = function(_, opts)
|
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()
|
local hostname = vim.fn.hostname()
|
||||||
|
|
||||||
---@type AstroLSPOpts
|
---@type AstroLSPOpts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue