Skip to content

Commit 899f5d7

Browse files
committed
Update for tabnine
1 parent e697c74 commit 899f5d7

File tree

2 files changed

+6
-23
lines changed

2 files changed

+6
-23
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
return {
22
"saghen/blink.cmp",
3-
version = false, -- last release is way too old
4-
event = "InsertEnter",
5-
opts = {
6-
keymap = {
3+
build = "cargo build --release",
4+
opts = function(_, opts)
5+
opts.keymap = {
76
preset = "default",
87
["<Tab>"] = { "select_next" },
98
["<S-Tab>"] = { "select_prev" },
109
["<CR>]"] = { "accept" },
11-
},
12-
},
10+
}
11+
return opts
12+
end,
1313
}

config/nvim/lua/plugins/plugins.lua

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -143,23 +143,6 @@ return {
143143
-- end,
144144
},
145145

146-
-- tabnine
147-
{
148-
"codota/tabnine-nvim",
149-
build = "./dl_binaries.sh",
150-
init = function()
151-
require("tabnine").setup({
152-
disable_auto_comment = true,
153-
accept_keymap = "<Tab>",
154-
dismiss_keymap = "<C-]>",
155-
debounce_ms = 800,
156-
suggestion_color = { gui = "#808080", cterm = 244 },
157-
exclude_filetypes = { "TelescopePrompt", "NvimTree" },
158-
log_file_path = nil, -- absolute path to Tabnine log file
159-
})
160-
end,
161-
},
162-
163146
-- tmux
164147
{
165148
"alexghergh/nvim-tmux-navigation",

0 commit comments

Comments
 (0)