override mason.nvim higlights with an autocmd temporarily
https://github.com/williamboman/mason.nvim/discussions/133
This commit is contained in:
parent
27f01cbb10
commit
243552c21e
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,14 @@ if not present then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
vim.api.nvim_create_augroup("_mason", { clear = true })
|
||||||
|
vim.api.nvim_create_autocmd("Filetype", {
|
||||||
|
pattern = "mason.nvim",
|
||||||
|
callback = function()
|
||||||
require("base46").load_highlight "mason"
|
require("base46").load_highlight "mason"
|
||||||
|
end,
|
||||||
|
group = "_mason",
|
||||||
|
})
|
||||||
|
|
||||||
local options = {
|
local options = {
|
||||||
ensure_installed = { "lua-language-server" }, -- not an option from mason.nvim
|
ensure_installed = { "lua-language-server" }, -- not an option from mason.nvim
|
||||||
|
|
Loading…
Reference in a new issue