Skip to content

Commit

Permalink
fix(lualine): default env
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe authored Aug 14, 2024
1 parent 966658a commit 601bf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lualine/components/kulala.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end
function M.update_status()
local current_filetype = vim.bo.filetype
if current_filetype == "http" then
return vim.g.kulala_selected_env
return vim.g.kulala_selected_env or CONFIG.get().default_env
end
return ""
end
Expand Down

0 comments on commit 601bf6f

Please sign in to comment.