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.
This commit is contained in:
Igor Guerrero 2024-11-28 00:21:00 -06:00 committed by GitHub
parent 13dc88a317
commit ed10d3cf19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ return {
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
pattern = sql_ft, pattern = sql_ft,
callback = function() callback = function()
if LazyVim.has("cmp") then if LazyVim.has("nvim-cmp") then
local cmp = require("cmp") local cmp = require("cmp")
-- global sources -- global sources