Added so much stuff
This commit is contained in:
parent
1b17dc6cf3
commit
71f7586a61
100 changed files with 4404 additions and 33 deletions
dotfiles/neovim/lua/my/plugins
22
dotfiles/neovim/lua/my/plugins/lean.lua
Normal file
22
dotfiles/neovim/lua/my/plugins/lean.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
local env = require("my.helpers.env")
|
||||
local lspconfig = require("my.plugins.lspconfig")
|
||||
|
||||
local M = {
|
||||
"Julian/lean.nvim", -- lean support
|
||||
dependencies = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim", "hrsh7th/nvim-cmp" },
|
||||
ft = "lean",
|
||||
config = function()
|
||||
require("lean").setup({
|
||||
abbreviations = { builtin = true, cmp = true },
|
||||
lsp = {
|
||||
on_attach = lspconfig.on_attach,
|
||||
capabilities = lspconfig.capabilities(),
|
||||
},
|
||||
lsp3 = false,
|
||||
mappings = true,
|
||||
})
|
||||
end,
|
||||
cond = env.vscode.not_active(),
|
||||
}
|
||||
|
||||
return {}
|
Loading…
Add table
Add a link
Reference in a new issue