Fix mason

This commit is contained in:
elkowar 2024-07-07 17:59:37 +02:00
parent ac065da8f5
commit abfe5b5b11
Signed by: ElKowar
GPG key ID: 862BA3D7D7760F13
2 changed files with 5 additions and 2 deletions

View file

@ -257,7 +257,7 @@
(tset result :contents new-contents) (tset result :contents new-contents)
(previous-handler a result b c))))))) (previous-handler a result b c)))))))
[(utils.plugin :williamboman/mason.nvim {:config true}) [(utils.plugin :williamboman/mason.nvim {:config #((. (require :mason) :setup))})
(utils.plugin :williamboman/mason-lspconfig.nvim {:config {:ensure_installed ["rust_analyzer"]}}) (utils.plugin :williamboman/mason-lspconfig.nvim {:config {:ensure_installed ["rust_analyzer"]}})
(utils.plugin :neovim/nvim-lspconfig {:event "VeryLazy" :lazy true :config setup})] (utils.plugin :neovim/nvim-lspconfig {:event "VeryLazy" :lazy true :config setup})]
; vim:foldmarker=<<<<<,>>>>> ; vim:foldmarker=<<<<<,>>>>>

View file

@ -160,4 +160,7 @@ local function setup()
vim.lsp.handlers["textDocument/hover"] = _16_ vim.lsp.handlers["textDocument/hover"] = _16_
return nil return nil
end end
return {utils.plugin("neovim/nvim-lspconfig", {event = "VeryLazy", lazy = true, config = setup})} local function _18_()
return (require("mason")).setup()
end
return {utils.plugin("williamboman/mason.nvim", {config = _18_}), utils.plugin("williamboman/mason-lspconfig.nvim", {config = {ensure_installed = {"rust_analyzer"}}}), utils.plugin("neovim/nvim-lspconfig", {event = "VeryLazy", lazy = true, config = setup})}