tzachar / compe-tabnine

TabNine source for hrsh7th/nvim-compe
BSD 3-Clause "New" or "Revised" License
52 stars 3 forks source link

Typo `diabled` in source may lead to bug? #18

Closed LinuCC closed 3 years ago

LinuCC commented 3 years ago

Just noticed a typo that left me wondering whether it impacted the functionality. See in init.lua:

local function is_enabled()
    local conf = compe_config.get()
    local diabled = get_paths(conf, {'source', 'tabnine', 'disabled'})
    return not disabled
end

I highly suspect its meant to be disabled instead of diabled?

tzachar commented 3 years ago

10x.

fixed in cb7f225