Omnicompletion menu appears before blink menu #2390
Closed
elferherrera
started this conversation in
General
Replies: 1 comment 1 reply
|
Looking at your dots, you use diff --git a/nvim_pack/lua/plugins/blink_cmp.lua b/nvim_pack/lua/plugins/blink_cmp.lua
index c751827..a413c22 100644
--- a/nvim_pack/lua/plugins/blink_cmp.lua
+++ b/nvim_pack/lua/plugins/blink_cmp.lua
@@ -21,7 +21,7 @@ require('blink-cmp').setup({
}
},
menu = {
- auto_show = false,
+ auto_show = true,
draw = {
columns = {
{ "label", "label_description", gap = 1 },
diff --git a/nvim_pack/lua/plugins/lsp.lua b/nvim_pack/lua/plugins/lsp.lua
index 9f53cf6..849eac0 100644
--- a/nvim_pack/lua/plugins/lsp.lua
+++ b/nvim_pack/lua/plugins/lsp.lua
@@ -7,11 +7,11 @@ vim.keymap.set('n', 'grd', vim.lsp.buf.definition, { desc = 'Go to definition' }
vim.keymap.set('n', 'grs', vim.lsp.buf.document_symbol, { desc = 'List of symbols in document' })
vim.keymap.set('n', 'grS', vim.lsp.buf.workspace_symbol , { desc = 'List of symbols in workspace' })
-vim.api.nvim_create_autocmd('LspAttach', {
- callback = function(ev)
- local client = vim.lsp.get_client_by_id(ev.data.client_id)
- if client ~= nil and client:supports_method('textDocument/completion') then
- vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true })
- end
- end,
-})
+-- vim.api.nvim_create_autocmd('LspAttach', {
+-- callback = function(ev)
+-- local client = vim.lsp.get_client_by_id(ev.data.client_id)
+-- if client ~= nil and client:supports_method('textDocument/completion') then
+-- vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true })
+-- end
+-- end,
+-- }) |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I don't think this is an issue with blink and mostly a configuration issue. However, I don't find what option would disable the omnicompletion to be autotriggered after typing ..
Example, this is the omni menu after typing .
and the blink menu after pressing ctrl-e + ctrl-space
Is there a way for the blink menu to appear ad default instead of the omni one?
All reactions