neovim-config/lua/plugins/cmp-tabnine.lua

16 lines
323 B
Lua
Raw Normal View History

2023-01-07 02:04:31 +00:00
local tabnine = require('cmp_tabnine.config')
tabnine:setup({
max_lines = 1000,
max_num_results = 20,
sort = true,
run_on_every_keystroke = true,
snippet_placeholder = '..',
ignored_file_types = {
-- default is not to ignore
-- uncomment to ignore in lua:
-- lua = true
},
show_prediction_strength = true
})