Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim-tabby doesn't load in Lazy.nvim #15

Open
realhackcraft opened this issue May 20, 2024 · 1 comment
Open

vim-tabby doesn't load in Lazy.nvim #15

realhackcraft opened this issue May 20, 2024 · 1 comment

Comments

@realhackcraft
Copy link

In your README, the instructions to use tabby with Lazy.nvim is:

{
  "TabbyML/vim-tabby"
}

However, this configuration doesn't load tabby. I found that it needs lazy = false to load correctly.
Screenshot 2024-05-20 at 11 31 22

@Truenya
Copy link

Truenya commented Nov 13, 2024

hello. this is my config and it is working

  {
    "TabbyML/vim-tabby",
    lazy = false,
    dependencies = {
      "neovim/nvim-lspconfig",
    },
    init = function()
      -- vim.g.tabby_inline_completion_keybinding_accept = "<C-G>"
      vim.cmd "exec 'imap <buffer><script><silent><nowait><expr> ' . '<C-G>' . ' tabby#inline_completion#service#Accept()'"
    end,
  },
  1. found workaround for your problem with lazy = false.
  2. but it still conflicting and have some another problem
    a) vim.g.tabby_inline_completion_keybinding_accept = "<C-G>" : using this line - autocompletion does not work,:verbose imap<C-G> shows empty
    b) vim.cmd "exec 'imap <buffer><script><silent><nowait><expr> ' . '<C-G>' . ' tabby#inline_completion#service#Accept()'" - found exact code in plugin files, added to init function and now all is fine.

@icycodes can u help with explaining why so?
vim-tabby 2.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants