diff --git a/lua/lazyvim/plugins/extras/lang/clojure.lua b/lua/lazyvim/plugins/extras/lang/clojure.lua new file mode 100644 index 00000000..b81d1b14 --- /dev/null +++ b/lua/lazyvim/plugins/extras/lang/clojure.lua @@ -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, + } + \ No newline at end of file