We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using nvchad + tabby-nvim and realize a problem while open multiple buffers: open nvim with first buffer opened: when open new buffer:
After checking around I see that, the function tabby#inline_completion#keybindings#Setup is just initilized when open fisrt buffer.
tabby#inline_completion#keybindings#Setup
function! tabby#inline_completion#Install() call tabby#inline_completion#events#Install() call tabby#inline_completion#keybindings#Setup() call tabby#inline_completion#virtual_text#Setup() endfunction
sulution here is create an autocmd
function! tabby#inline_completion#Setup() augroup tabby_inline_completion_events autocmd! autocmd User tabby_lsp_on_buffer_attached call tabby#inline_completion#Install() augroup end autocmd BufNewFile,BufRead * call tabby#inline_completion#keybindings#Setup() endfunction
I have created pull request here: #26 Noted: I'm quite new in lua and nvim plugin, please help to review
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using nvchad + tabby-nvim and realize a problem while open multiple buffers:
open nvim with first buffer opened:
when open new buffer:
After checking around I see that, the function
tabby#inline_completion#keybindings#Setup
is just initilized when open fisrt buffer.sulution here is create an autocmd
I have created pull request here: #26
Noted: I'm quite new in lua and nvim plugin, please help to review
The text was updated successfully, but these errors were encountered: