Skip to content

Commit 9aa1ba6

Browse files
committed
add clojure plugins
1 parent 039058b commit 9aa1ba6

File tree

6 files changed

+38
-1
lines changed

6 files changed

+38
-1
lines changed

lua/custom/plugins/conjure.lua

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
return {
2+
'Olical/conjure',
3+
ft = { 'clojure', 'fennel' }, -- etc
4+
lazy = true,
5+
init = function()
6+
-- Set configuration options here
7+
-- Uncomment this to get verbose logging to help diagnose internal Conjure issues
8+
-- This is VERY helpful when reporting an issue with the project
9+
-- vim.g["conjure#debug"] = true
10+
end,
11+
12+
-- Optional cmp-conjure integration
13+
dependencies = { 'PaterJason/cmp-conjure' },
14+
}

lua/custom/plugins/paredit.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
return {
2+
'julienvincent/nvim-paredit',
3+
config = function()
4+
require('nvim-paredit').setup()
5+
end,
6+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
return {
2+
'HiPhish/rainbow-delimiters.nvim',
3+
}

lua/kickstart/plugins/blink-cmp.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
return {
2+
{
3+
'saghen/blink.compat',
4+
-- use v2.* for blink.cmp v1.*
5+
version = '2.*',
6+
-- lazy.nvim will automatically load the plugin when it's required by blink.cmp
7+
lazy = true,
8+
-- make sure to set opts so that lazy.nvim calls blink.compat's setup
9+
opts = {},
10+
},
11+
212
{ -- Autocompletion
313
'saghen/blink.cmp',
414
event = 'VimEnter',
@@ -31,6 +41,7 @@ return {
3141
opts = {},
3242
},
3343
'folke/lazydev.nvim',
44+
'PaterJason/cmp-conjure',
3445
},
3546
--- @module 'blink.cmp'
3647
--- @type blink.cmp.Config
@@ -79,6 +90,7 @@ return {
7990
default = { 'lsp', 'path', 'snippets', 'lazydev' },
8091
providers = {
8192
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
93+
conjure = { module = 'blink.compat.source', name = 'conjure' },
8294
},
8395
},
8496

lua/kickstart/plugins/lint.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ return {
77
local lint = require 'lint'
88
lint.linters_by_ft = {
99
markdown = { 'markdownlint' },
10+
clojure = { 'clj-kondo' },
1011
}
1112

1213
-- To allow other plugins to add linters to require('lint').linters_by_ft,

lua/lazy-plugins.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ require('lazy').setup({
6464
-- This is the easiest way to modularize your config.
6565
--
6666
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
67-
-- { import = 'custom.plugins' },
67+
{ import = 'custom.plugins' },
68+
6869
--
6970
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
7071
-- Or use telescope!

0 commit comments

Comments
 (0)