mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fix(nvim): say stop to the spammy mason error messages
This commit is contained in:
parent
cdb42409bf
commit
c576c7c6d0
3 changed files with 43 additions and 16 deletions
13
.config/nvim/lua/utils.lua
Normal file
13
.config/nvim/lua/utils.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
M = {}
|
||||
|
||||
function Map(tbl, f)
|
||||
local t = {}
|
||||
for k, v in pairs(tbl) do
|
||||
t[k] = f(v)
|
||||
end
|
||||
return t
|
||||
end
|
||||
|
||||
M.Map = Map
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue