Skip to content

Commit

Permalink
Change the dartfmt_executable to point to "dart format".
Browse files Browse the repository at this point in the history
This is because dartfmt has been replaced by dart format.
  • Loading branch information
Ryan Wiener committed Jul 28, 2023
1 parent b565c6e commit 6552117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/codefmt/dartfmt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function! codefmt#dartfmt#GetFormatter() abort
let l:formatter = {
\ 'name': 'dartfmt',
\ 'setup_instructions': 'Install the Dart SDK from ' .
\ 'https://github.com/google/vim-codefmt'}
\ 'https://dart.dev/get-dart'}

function l:formatter.IsAvailable() abort
return executable(s:plugin.Flag('dartfmt_executable'))
Expand Down

0 comments on commit 6552117

Please sign in to comment.