nvim-ks/lua/plugins/conjure.lua

27 lines
726 B
Lua
Raw Normal View History

2024-12-02 08:13:10 +01:00
return {
{
"Olical/conjure",
ft = { "clojure", "fennel", "python", "janet" }, -- etc
lazy = true,
init = function()
-- Set configuration options here
-- Uncomment this to get verbose logging to help diagnose internal Conjure issues
-- This is VERY helpful when reporting an issue with the project
-- vim.g["conjure#debug"] = true
end,
-- Optional cmp-conjure integration
dependencies = { "PaterJason/cmp-conjure" },
},
{
"PaterJason/cmp-conjure",
lazy = true,
config = function()
local cmp = require("cmp")
local config = cmp.get_config()
table.insert(config.sources, { name = "conjure" })
return cmp.setup(config)
end,
},
}