Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(snacks): invalid window on:ClaudeCodeFocus#64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
qw457812 wants to merge1 commit intocoder:main
base:main
Choose a base branch
Loading
fromqw457812:fix_snacks_win_toggle

Conversation

qw457812
Copy link

Steps to reproduce:

  1. :ClaudeCode to open claude code
  2. <c-h> to focus main window
  3. <c-w>o in main window to close claude code
  4. :ClaudeCodeFocus to focus claude code

I got:

Lua :command callback: .../lazy/claudecode.nvim/lua/claudecode/terminal/snacks.lua:213: Invalid window id: 1010stack traceback: [C]: in function 'nvim_set_current_win' .../lazy/claudecode.nvim/lua/claudecode/terminal/snacks.lua:213: in function 'focus_toggle' ...re/nvim/lazy/claudecode.nvim/lua/claudecode/terminal.lua:257: in function 'focus_toggle' .../share/nvim/lazy/claudecode.nvim/lua/claudecode/init.lua:905: in function <.../share/nvim/lazy/claudecode.nvim/lua/claudecode/init.lua:899>

Config:

{"coder/claudecode.nvim",dependencies= {"folke/snacks.nvim"},cmd="ClaudeCode",init=function()vim.env.CLAUDE_CONFIG_DIR=vim.fn.expand("~/.config/claude")end,opts= {},}

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@mkdir700mkdir700mkdir700 approved these changes

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@qw457812@mkdir700

[8]ページ先頭

©2009-2025 Movatter.jp