Bryley / neoai.nvim

Neovim plugin for intracting with GPT models from OpenAI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NeoAI does not integrate well with focus.nvim

kiran94 opened this issue · comments

Thanks for writing this great plugin!

I'm having some issues using it when used with focus.nvim. This is leading to some rendering issues of the NeoAI dialog box which I've recorded here: https://asciinema.org/a/xRgcSp8Jt4omHMLPA7SX0aqjI

If I remove focus.nvim from my configuration then the dialog will open as expected

My Plugin configuration looks like this:

    use {
        'Bryley/neoai.nvim',
        requires = { "MunifTanjim/nui.nvim", },
        config = function() require("neoai").setup() end,
    }

    use { 'beauwilliams/focus.nvim', config = function() require("focus").setup({}) end, event = "BufWinEnter" }

And here is my Neovim version:

:version
NVIM v0.8.4-dev-2+gb1ae775de
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by root@pop-os

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Let me know if there is any more information I can provide