Skip to content

Commit

Permalink
fix(sql): better nvim-cmp check. Closes LazyVim#5188
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 20, 2025
1 parent c7a7ab5 commit 1e83b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/plugins/extras/lang/sql.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e83b4f

Please sign in to comment.