mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
fix(sql): better nvim-cmp check. Closes #5188
This commit is contained in:
@@ -48,7 +48,7 @@ return {
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = sql_ft,
|
||||
callback = function()
|
||||
if LazyVim.has("nvim-cmp") then
|
||||
if LazyVim.cmp_engine() == "nvim-cmp" then
|
||||
local cmp = require("cmp")
|
||||
|
||||
-- global sources
|
||||
|
||||
Reference in New Issue
Block a user