plugins
This commit is contained in:
parent
18b919c61e
commit
7305d64a4a
|
@ -0,0 +1,15 @@
|
||||||
|
return {
|
||||||
|
"windwp/nvim-autopairs",
|
||||||
|
-- Optional dependency
|
||||||
|
dependencies = { 'hrsh7th/nvim-cmp' },
|
||||||
|
config = function()
|
||||||
|
require("nvim-autopairs").setup {}
|
||||||
|
-- If you want to automatically add `(` after selecting a function or method
|
||||||
|
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
|
||||||
|
local cmp = require('cmp')
|
||||||
|
cmp.event:on(
|
||||||
|
'confirm_done',
|
||||||
|
cmp_autopairs.on_confirm_done()
|
||||||
|
)
|
||||||
|
end,
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
return {
|
||||||
|
'Julian/lean.nvim',
|
||||||
|
event = { 'BufReadPre *.lean', 'BufNewFile *.lean' },
|
||||||
|
|
||||||
|
dependencies = {
|
||||||
|
'neovim/nvim-lspconfig',
|
||||||
|
'nvim-lua/plenary.nvim',
|
||||||
|
-- you also will likely want nvim-cmp or some completion engine
|
||||||
|
},
|
||||||
|
|
||||||
|
-- see details below for full configuration options
|
||||||
|
opts = {
|
||||||
|
lsp = {
|
||||||
|
on_attach = on_attach,
|
||||||
|
},
|
||||||
|
mappings = true,
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
return {
|
||||||
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
|
version = "*",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
},
|
||||||
|
config = function ()
|
||||||
|
require('neo-tree').setup {}
|
||||||
|
end,
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
"HiPhish/rainbow-delimiters.nvim",
|
||||||
|
}
|
Loading…
Reference in New Issue