Skip to content

Commit

Permalink
add dart
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Apr 16, 2019
1 parent 041cded commit 4c7aef3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export TERM=screen-256color
export TERM_ITALICS=true

# for http proxy
#export http_proxy=http://192.168.29.221:5719/
export http_proxy=
export http_proxy=http://192.168.2.2:8081/
#export http_proxy=
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
Expand Down
8 changes: 8 additions & 0 deletions etc/vimrc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ Plug 'ncm2/ncm2' " 自动补全
Plug 'ncm2/ncm2-bufword' " ncm2
Plug 'ncm2/ncm2-path' " ncm2

Plug 'dart-lang/dart-vim-plugin'
Plug 'thosakwe/vim-flutter'

call plug#end()

"{{ 主题
Expand Down Expand Up @@ -362,6 +365,11 @@ let g:clipboard = {
\}
"}

"dart {
let dart_style_guide = 2
let dart_format_on_save = 1
"}

"}} 插件配置结束

"{ 保存时自动删除行尾空格
Expand Down

0 comments on commit 4c7aef3

Please sign in to comment.