mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-16 12:24:36 +02:00
fix(sql): fix autocomplete when omni
is used as a blink.cmp
source
This commit is contained in:
parent
f3e37a1f83
commit
2709de6499
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@ end
|
||||||
|
|
||||||
local sql_ft = { "sql", "mysql", "plsql" }
|
local sql_ft = { "sql", "mysql", "plsql" }
|
||||||
|
|
||||||
|
-- disable nvim default `sql_completion` plugin to be compatible with blink.cmp's omni
|
||||||
|
-- while still showing some keywords from the syntax autocomplete sources
|
||||||
|
vim.g.omni_sql_default_compl_type = "syntax"
|
||||||
|
vim.g.loaded_sql_completion = true
|
||||||
|
|
||||||
return {
|
return {
|
||||||
recommended = function()
|
recommended = function()
|
||||||
return LazyVim.extras.wants({
|
return LazyVim.extras.wants({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue