feat(clojure): add clojure support

This commit is contained in:
Joey Yu 2023-09-24 03:18:23 +00:00 committed by Folke Lemaitre
parent f8268faa7c
commit 97b26727b9

View file

@ -0,0 +1,32 @@
return {
"Olical/conjure",
ft = { "clojure", "fennel" }, -- etc
-- [Optional] cmp-conjure for cmp
dependencies = {
{
"PaterJason/cmp-conjure",
config = function()
local cmp = require("cmp")
local config = cmp.get_config()
table.insert(config.sources, {
name = "buffer",
option = {
sources = {
{ name = "conjure" },
},
},
})
cmp.setup(config)
end,
},
},
config = function(_, opts)
require("conjure.main").main()
require("conjure.mapping")["on-filetype"]()
end,
init = function()
-- Set configuration options here
vim.g["conjure#debug"] = true
end,
}