Merge branch 'Open-and-Close-Commands' of https://github.com/Oliver-Leete/symbols-outline.nvim into Oliver-Leete-Open-and-Close-Commands

This commit is contained in:
simrat39
2021-04-24 14:20:04 -07:00
3 changed files with 23 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ end
function D.setup_commands()
vim.cmd("command! " .. "DSymbolsOutline " ..
":lua require'symbols-outline.debug'.R('symbols-outline').toggle_outline()")
vim.cmd("command! " .. "DSymbolsOutlineOpen " ..
":lua require'symbols-outline.debug'.R('symbols-outline').open_outline()")
vim.cmd("command! " .. "DSymbolsOutlineClose " ..
":lua require'symbols-outline.debug'.R('symbols-outline').close_outline()")
end
return D