summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/init.lua
blob: f78940616e5f0de91daf52ed20ca89243b1369b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
local conjureft = {
	'clojure',
	'fennel',
	'hy',
	'janet',
	'julia',
	'lisp',
	'racket',
	'scheme'
}

-- simple stuff that doesn't need any handling
-- and doesn't fit in elsewhere
return {
	{ 'folke/lazy.nvim', version = false },
	{ "Olical/nfnl", ft = "fennel" },
	{ 'stevearc/dressing.nvim', opts = {}},
	{
		'Olical/conjure',
		config = function(_, opts)
			for k, v in pairs(opts) do
				vim.g['conjure#' .. k] = v
			end
		end,
		opts = {
			['mapping#prefix'] = '<localleader>e',
			['extract#tree_sitter#enabled'] = true,
			-- disabling lua, python, rust
			filetypes = conjureft,
			['filetype#fennel'] = 'conjure.client.fennel.stdio',
		},
		ft = conjureft,
	},
	{ 'tpope/vim-repeat' },
}