1
Fork 0

A bunch of changes, mostly to neovim

- global abbreviations
- better firenvim setup
- magma.nvim (never used it, might unisntall)
This commit is contained in:
Matei Adriel 2023-02-19 02:41:22 +01:00
commit bf7427d8c7
No known key found for this signature in database
11 changed files with 125 additions and 21 deletions
dotfiles/neovim/lua/my/helpers

View file

@ -1,6 +1,9 @@
local function makeEnv(cond)
return {
active = cond,
-- I am doing this to get type hints!
active = function()
return cond
end,
not_active = function()
return not cond()
end,
@ -36,5 +39,5 @@ return {
return makeEnv(function()
return a.active() or b.active()
end)
end
end,
}