mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Added dpetka's suggestions
This commit is contained in:
parent
bb8068f4b0
commit
a86fae1258
1 changed files with 0 additions and 17 deletions
|
|
@ -8,9 +8,6 @@ return {
|
|||
{
|
||||
"Julian/lean.nvim",
|
||||
event = { "BufReadPre *.lean", "BufNewFile *.lean" },
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
|
||||
-- see details below for full configuration options
|
||||
opts = {
|
||||
|
|
@ -22,7 +19,6 @@ return {
|
|||
-- In particular ensure you have followed instructions setting up a callback
|
||||
-- for `LspAttach` which sets your key bindings!
|
||||
lsp = {
|
||||
on_attach = on_attach,
|
||||
init_options = {
|
||||
-- See Lean.Lsp.InitializationOptions for details and further options.
|
||||
|
||||
|
|
@ -125,17 +121,4 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
-- Lean4 has it's own built in lsp
|
||||
-- this is automatically added by lean.nvim
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
opts.sources = opts.sources or {}
|
||||
table.insert(opts.sources, { { name = "nvim_lsp" }, { name = "path" }, { name = "buffer" } })
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue