AutoYADM commit: 2025-05-26 17:24:39
This commit is contained in:
parent
a8f3ac9a03
commit
b5bd33e6f1
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ declare-option -docstring "whether the LSP should be preferred for formatting" b
|
|||
|
||||
define-command format-buffer -docstring "Format the contents of the buffer" %{
|
||||
evaluate-commands %sh{
|
||||
if [ "$kak_opt_lsp_fmt" == "false" ]; then
|
||||
if [ "$kak_opt_lsp_fmt" = "false" ]; then
|
||||
echo "format-buffer-pipe"
|
||||
else
|
||||
echo "lsp-formatting"
|
||||
|
@ -14,7 +14,7 @@ define-command format-buffer -docstring "Format the contents of the buffer" %{
|
|||
|
||||
define-command format-selections -docstring "Format the selections individually" %{
|
||||
evaluate-commands %sh{
|
||||
if [ "${kak_opt_lsp_fmt}" == "false" ]; then
|
||||
if [ "${kak_opt_lsp_fmt}" = "false" ]; then
|
||||
echo "format-selections-pipe"
|
||||
else
|
||||
echo "lsp-range-formatting"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue