Skip to content

Commit

Permalink
topiary formatting API changed (sbdchd#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
toastal authored Dec 15, 2023
1 parent afbc055 commit cd45ca8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/json.vim
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ function! neoformat#formatters#json#topiary() abort
\ 'exe': 'topiary',
\ 'no_append': 1,
\ 'stdin': 1,
\ 'args': ['--language', '"json"' ]
\ 'args': ['format', '--language', '"json"' ]
\ }
endfunction
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/nickel.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ function! neoformat#formatters#nickel#topiary() abort
return {
\ 'exe': 'topiary',
\ 'stdin': 1,
\ 'args': ['--language', '"nickel"' ]
\ 'args': ['format', '--language', '"nickel"' ]
\ }
endfunction
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/ocaml.vim
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ function! neoformat#formatters#ocaml#topiary() abort
return {
\ 'exe': 'topiary',
\ 'stdin': 1,
\ 'args': ['--language', '"ocaml"' ]
\ 'args': ['format', '--language', '"ocaml"' ]
\ }
endfunction
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/rust.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ function! neoformat#formatters#rust#topiary() abort
return {
\ 'exe': 'topiary',
\ 'stdin': 1,
\ 'args': ['--language', '"rust"' ]
\ 'args': ['format', '--language', '"rust"' ]
\ }
endfunction
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/sh.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ function! neoformat#formatters#sh#topiary() abort
return {
\ 'exe': 'topiary',
\ 'stdin': 1,
\ 'args': ['--language', '"bash"' ]
\ 'args': ['format', '--language', '"bash"' ]
\ }
endfunction
2 changes: 1 addition & 1 deletion autoload/neoformat/formatters/toml.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ function! neoformat#formatters#toml#topiary() abort
return {
\ 'exe': 'topiary',
\ 'stdin': 1,
\ 'args': ['--language', '"toml"' ]
\ 'args': ['format', '--language', '"toml"' ]
\ }
endfunction

0 comments on commit cd45ca8

Please sign in to comment.