nvim: silent to ,rr command

This commit is contained in:
TheK4n 2023-01-15 21:28:48 +03:00
parent 92b407a376
commit f7765bedaa

View File

@ -92,7 +92,7 @@ function create_func(ft, cmd)
return function()
if vim.bo.filetype == ft then
cmd_string = string.format([[:tabnew %% <CR> :terminal %s %% <CR> :set nocursorline number norelativenumber <CR> G <CR>]], cmd)
keymap.set("n", "<Leader>rr", cmd_string)
keymap.set("n", "<Leader>rr", cmd_string, {silent = true})
end
end
end