1
Fork 0

Almost rewrote my entire config

This commit is contained in:
Matei Adriel 2022-12-27 20:45:43 +01:00
commit c5b355601e
51 changed files with 973 additions and 870 deletions
dotfiles/neovim/lua/my/plugins

View file

@ -1,13 +1,22 @@
local env = require("my.helpers.env")
local lspconfig = require("my.plugins.lspconfig")
local M = {}
function M.setup()
require('lean').setup {
abbreviations = { builtin = true, cmp = true },
lsp = { on_attach = lspconfig.on_attach, capabilities = lspconfig.capabilities },
lsp3 = false,
mappings = true
}
end
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 M
return {}