mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-29 14:44:59 +01:00
Fix dapui open/close typo and add toggle command
This commit is contained in:
parent
e08702fd1d
commit
d01939f9bb
|
@ -5,7 +5,10 @@ vim.cmd "silent! command! Format lua vim.lsp.buf.format()"
|
|||
vim.cmd "silent! command! DapUIOpen lua require('dapui').open()"
|
||||
|
||||
-- Close dapui
|
||||
vim.cmd "silent! command! DapUIOpen lua require('dapui').close()"
|
||||
vim.cmd "silent! command! DapUIClose lua require('dapui').close()"
|
||||
|
||||
-- Toggle dapui
|
||||
vim.cmd "silent! command! DapUIToggle lua require('dapui').toggle()"
|
||||
|
||||
-- Edit config
|
||||
vim.cmd "silent! command! ConfigOpen cd ~/.config/nvim"
|
||||
|
|
Loading…
Reference in a new issue