mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(clojure): add clojure support
This commit is contained in:
parent
f8268faa7c
commit
97b26727b9
1 changed files with 32 additions and 0 deletions
32
lua/lazyvim/plugins/extras/lang/clojure.lua
Normal file
32
lua/lazyvim/plugins/extras/lang/clojure.lua
Normal 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,
|
||||
}
|
||||
|
||||
Loading…
Add table
Reference in a new issue