Skip to content

About

vim-lsc server configuration for the Dart language

Resources

Stars

40 stars

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

Registers the Dart Analysis Server as a language server with vim-lsc

Commands

:DartOrganizeImports. Sort and remove unused imports in the current file.

:DartToggleMethodBodyType. With the cursor on either a return statement (when it is the only statement in a method block) or on the => in a method definition, toggle between the two ways to write the method. If it is an expression body method (=>) convert to a block body ({} and a return) or vice versa. Recommended mapping (in ftplugin/dart.vim):

noremap <buffer> <leader>tr :DartToggleMethodBodyType<cr>

About

vim-lsc server configuration for the Dart language

Resources

Stars

40 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages