From ed10d3cf19dfb99d38bda0e09be3296571113670 Mon Sep 17 00:00:00 2001 From: Igor Guerrero Date: Thu, 28 Nov 2024 00:21:00 -0600 Subject: [PATCH] fix(sql): fix autocomplete, it was using the wrong plugin name on the `LazyVim.has` check (#4900) ## Description `LazyVim.has` was called with the wrong plugin name. ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. --- 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