A bunch of changes, mostly to neovim
- global abbreviations - better firenvim setup - magma.nvim (never used it, might unisntall)
This commit is contained in:
parent
d573e17a00
commit
bf7427d8c7
11 changed files with 125 additions and 21 deletions
dotfiles/neovim/lua/my/helpers
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue