LunarVim/lua/core/commands.lua
Luc Sinet 12c0a7441e
[Refactor] remove lv prefix (#1112)
* Rename lv-utils into utils

* Move commands defined in utils into core/commands.lua
2021-07-26 13:14:23 -04:00

21 lines
292 B
Lua

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