LunarVim/lua/core/commands.lua

22 lines
292 B
Lua
Raw Normal View History

local M = {}
M.defaults = {
[[
function! QuickFixToggle()
if empty(filter(getwininfo(), 'v:val.quickfix'))
copen
else
cclose
endif
endfunction
]],
}
M.load = function(commands)
for _, command in ipairs(commands) do
vim.cmd(command)
end
end
return M