From d2925d654b366ef7db5a3667e60cf4155a21d11c Mon Sep 17 00:00:00 2001 From: Igor Guerrero Date: Wed, 27 Nov 2024 17:56:57 -0600 Subject: [PATCH] fix(sql): fix autocomplete, it was using the wrong plugin name on the `LazyVim.has` check --- lua/lazyvim/plugins/extras/lang/sql.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/lang/sql.lua b/lua/lazyvim/plugins/extras/lang/sql.lua index cf6096c4..2e4f881f 100644 --- a/lua/lazyvim/plugins/extras/lang/sql.lua +++ b/lua/lazyvim/plugins/extras/lang/sql.lua @@ -48,7 +48,7 @@ return { vim.api.nvim_create_autocmd("FileType", { pattern = sql_ft, callback = function() - if LazyVim.has("cmp") then + if LazyVim.has("nvim-cmp") then local cmp = require("cmp") -- global sources