mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-09-01 08:15:20 +02:00
feat: add an independent lvim namespace (#1699)
This commit is contained in:
parent
e2c85df440
commit
52b7455741
63 changed files with 392 additions and 256 deletions
|
@ -1,25 +0,0 @@
|
|||
local M = {}
|
||||
|
||||
M.defaults = {
|
||||
[[
|
||||
function! QuickFixToggle()
|
||||
if empty(filter(getwininfo(), 'v:val.quickfix'))
|
||||
copen
|
||||
else
|
||||
cclose
|
||||
endif
|
||||
endfunction
|
||||
]],
|
||||
-- :LvimInfo
|
||||
[[ command! LvimInfo lua require('core.info').toggle_popup(vim.bo.filetype) ]],
|
||||
[[ command! LvimCacheReset lua require('utils.hooks').reset_cache() ]],
|
||||
[[ command! LvimUpdate lua require('bootstrap').update() ]],
|
||||
}
|
||||
|
||||
M.load = function(commands)
|
||||
for _, command in ipairs(commands) do
|
||||
vim.cmd(command)
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue