From 082f81ec1ce8621a1f0563d266a708284fd4ca22 Mon Sep 17 00:00:00 2001 From: mbfoss Date: Fri, 3 Jul 2026 23:32:55 +0200 Subject: [PATCH 1/4] fix(terminal): native terminal window flags Fix for 2 issues: - Native terminal window is not protected against resize (for example after C-W + = ) - Native terminal window is not protected against buffer change --- lua/claudecode/terminal/native.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/claudecode/terminal/native.lua b/lua/claudecode/terminal/native.lua index 1382bca2..aa2a27ae 100644 --- a/lua/claudecode/terminal/native.lua +++ b/lua/claudecode/terminal/native.lua @@ -81,6 +81,9 @@ local function open_terminal(cmd_string, env_table, effective_config, focus) vim.cmd("enew") end) + vim.wo[new_winid].winfixbuf = true + vim.wo[new_winid].winfixwidth = true + -- Shell-aware split + leading-tilde expansion so quoted args and "~/..." -- paths survive, while no shell touches bracketed model aliases like -- "opus[1m]" (see utils.parse_command). @@ -238,6 +241,9 @@ local function show_hidden_terminal(effective_config, focus) vim.api.nvim_win_set_buf(new_winid, bufnr) winid = new_winid + vim.wo[winid].winfixbuf = true + vim.wo[winid].winfixwidth = true + if focus then -- Focus the terminal: switch to terminal window and enter insert mode vim.api.nvim_set_current_win(winid) From bf4ec0c595951a01ba440096a568b67cc8e4f2be Mon Sep 17 00:00:00 2001 From: mbfoss Date: Mon, 6 Jul 2026 12:04:50 +0200 Subject: [PATCH 2/4] fix: disable spell check on native buffers --- lua/claudecode/terminal/native.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/claudecode/terminal/native.lua b/lua/claudecode/terminal/native.lua index aa2a27ae..98a90e62 100644 --- a/lua/claudecode/terminal/native.lua +++ b/lua/claudecode/terminal/native.lua @@ -135,6 +135,7 @@ local function open_terminal(cmd_string, env_table, effective_config, focus) winid = new_winid bufnr = vim.api.nvim_get_current_buf() vim.bo[bufnr].bufhidden = "hide" + vim.bo[bufnr].spelloptions = "noplainbuffer" -- disable spell check -- buftype=terminal is set by termopen if focus then From 11ea6e73b23cb4e65b6cbe962f14ce864ab5253c Mon Sep 17 00:00:00 2001 From: mbfoss Date: Mon, 5 Oct 2026 22:54:24 +0200 Subject: [PATCH 3/4] doc: disclaimer --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e3f10f2..68146c3b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,12 @@ [![Tests](https://github.com/coder/claudecode.nvim/actions/workflows/test.yml/badge.svg)](https://github.com/coder/claudecode.nvim/actions/workflows/test.yml) ![Neovim version](https://img.shields.io/badge/Neovim-0.8%2B-green) -![Status](https://img.shields.io/badge/Status-beta-blue) +![Status](https://img.shields.io/badge/Status-wip-yellow) + +> [!NOTE] +> **Work in progress.** Stable and usable as it stands, but still evolving: +> changes, including breaking ones, can land at any time. Pin a commit if you +> need a fixed target. **The first Neovim IDE integration for Claude Code** — bringing Anthropic's AI coding assistant to your favorite editor with a pure Lua implementation. From 9b996c3979bc92e98f77692cdef3e484eccde348 Mon Sep 17 00:00:00 2001 From: mbfoss Date: Mon, 5 Oct 2026 22:54:42 +0200 Subject: [PATCH 4/4] Revert "doc: disclaimer" This reverts commit 11ea6e73b23cb4e65b6cbe962f14ce864ab5253c. --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 68146c3b..4e3f10f2 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,7 @@ [![Tests](https://github.com/coder/claudecode.nvim/actions/workflows/test.yml/badge.svg)](https://github.com/coder/claudecode.nvim/actions/workflows/test.yml) ![Neovim version](https://img.shields.io/badge/Neovim-0.8%2B-green) -![Status](https://img.shields.io/badge/Status-wip-yellow) - -> [!NOTE] -> **Work in progress.** Stable and usable as it stands, but still evolving: -> changes, including breaking ones, can land at any time. Pin a commit if you -> need a fixed target. +![Status](https://img.shields.io/badge/Status-beta-blue) **The first Neovim IDE integration for Claude Code** — bringing Anthropic's AI coding assistant to your favorite editor with a pure Lua implementation.