tabby source for hrsh7th/nvim-cmp
Using plug:
Plug 'nzlov/cmp-tabby'
Using plug on windows:
Plug 'nzlov/cmp-tabby'
Using Lazy:
return require("lazy").setup({
{
'nzlov/cmp-tabby',
dependencies = 'hrsh7th/nvim-cmp',
}})
Using Packer:
return require("packer").startup(
function(use)
use "hrsh7th/nvim-cmp" --completion
use {'nzlov/cmp-tabby', requires = 'hrsh7th/nvim-cmp'}
end
)
And later, enable the plugin:
require'cmp'.setup {
sources = {
{ name = 'cmp_tabby' },
},
}
local tabby = require('cmp_tabby.config')
tabby:setup({
host = 'http://localhost:5000',
max_lines = 1000,
})
Based on tzachar/cmp-tabnine