Skip to content

Commit 309bd27

Browse files
chore: remove trailing newlines and teminal cmd env var
1 parent 3fac941 commit 309bd27

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lua/claudecode/config.lua

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,9 @@ function M.apply(user_config)
8484
config = vim.tbl_deep_extend("force", config, user_config)
8585
end
8686

87-
-- Check environment variable for terminal_cmd if not set in user config
88-
if config.terminal_cmd == nil then
89-
local env_cmd = vim.fn.getenv("CLAUDE_TERMINAL_CMD")
90-
if env_cmd ~= vim.NIL then
91-
config.terminal_cmd = env_cmd
92-
end
93-
end
94-
9587
M.validate(config)
9688

9789
return config
9890
end
9991

10092
return M
101-
102-

0 commit comments

Comments
 (0)