diff --git a/CHANGELOG.md b/CHANGELOG.md index 74046be..fafaca1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.2] 2025-04-08 +### Fixed +* Fixed bug where `:HttpEnvFile` would give error saying config is nil. + ## [1.4.1] 2025-04-05 ### Improved * Context-aware Autocompletion System diff --git a/lua/http_client/init.lua b/lua/http_client/init.lua index 2900cf6..d8b411d 100644 --- a/lua/http_client/init.lua +++ b/lua/http_client/init.lua @@ -68,7 +68,7 @@ M.setup = function(opts) -- Set up commands vim.api.nvim_create_user_command("HttpEnvFile", function() - M.commands.select_env.select_env_file(M.config.get()) + M.commands.select_env.select_env_file(M.config.options) end, { desc = "Select an environment file for HTTP requests.", })