From 7a34d85683d09084f51a7764c3cf5ea5241663f6 Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Mon, 26 Nov 2018 21:46:13 +0100 Subject: [PATCH] Enable cool features of dart-vim-plugin --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc b/.vimrc index 3af3ceb..8e40bc9 100644 --- a/.vimrc +++ b/.vimrc @@ -57,6 +57,11 @@ let g:SuperTabDefaultCompletionType = "context" " vim-go: not just format the code; insert imports, too. let g:go_fmt_command = "goimports" +" dart-vim-plugin: highlight HTML in strings, enforce syntax, format on save +let dart_html_in_string = v:true +let dart_style_guide = 2 +let dart_format_on_save = 1 + " Tell vim to remember certain things when we exit " 'N : marks will be remembered for up to N previously edited files " "N : will save up to N lines for each register