mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
Fix mason
This commit is contained in:
parent
ac065da8f5
commit
abfe5b5b11
2 changed files with 5 additions and 2 deletions
|
@ -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=<<<<<,>>>>>
|
||||||
|
|
|
@ -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})}
|
||||||
|
|
Loading…
Reference in a new issue