feat(nvim): add dadbod completion source for SQL filetypes

This commit is contained in:
Oliver
2026-03-13 15:10:33 +01:00
parent 4d6b854f4d
commit c8e4a2bbcf

View File

@@ -52,7 +52,15 @@ return {
{ name = "path" }, { name = "path" },
}), }),
}) })
-- SQL completion with vim-dadbod
cmp.setup.filetype({ "sql", "mysql", "plsql" }, {
sources = cmp.config.sources({
{ name = "vim-dadbod-completion" },
}, {
{ name = "buffer" },
}),
})
end, end,
}, },
} }