AutoYADM commit: 2025-06-17 20:47:57
This commit is contained in:
parent
1f952af0ed
commit
80c399ee03
16 changed files with 476 additions and 131 deletions
|
@ -3,7 +3,7 @@ declare-option -docstring "shell command used for the 'format-selections' and 'f
|
|||
declare-option -docstring "whether the LSP should be preferred for formatting" bool lsp_fmt false
|
||||
|
||||
define-command format-buffer -docstring "Format the contents of the buffer" %{
|
||||
evaluate-commands %sh{
|
||||
evaluate-commands -draft %sh{
|
||||
if [ "$kak_opt_lsp_fmt" = "false" ]; then
|
||||
echo "format-buffer-pipe"
|
||||
else
|
||||
|
@ -13,7 +13,7 @@ define-command format-buffer -docstring "Format the contents of the buffer" %{
|
|||
}
|
||||
|
||||
define-command format-selections -docstring "Format the selections individually" %{
|
||||
evaluate-commands %sh{
|
||||
evaluate-commands -draft %sh{
|
||||
if [ "${kak_opt_lsp_fmt}" = "false" ]; then
|
||||
echo "format-selections-pipe"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue