nvim: Check if code evaluation maps set before overriding
If we already have <lleader>cc/cx mappings set before we come to set them for markdown filetypes we will not override them.
This commit is contained in:
parent
d7d5c5f908
commit
ddaaa69795
2 changed files with 7 additions and 3 deletions
|
|
@ -144,7 +144,7 @@ return {
|
|||
":noautocmd :MoltenEnterOutput<cr>",
|
||||
{ silent = true, desc = "show output" }
|
||||
)
|
||||
map("n", "<localleader>cP", function()
|
||||
map("n", "<localleader>cx", function()
|
||||
vim.cmd("MoltenHideOutput")
|
||||
vim.cmd("MoltenDelete")
|
||||
end, { silent = true, desc = "hide output" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue