Skip to content

Instantly share code, notes, and snippets.

@LuanP
Created February 10, 2019 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuanP/a015cbee9f7c2c9cd3e2bbcf6d4b32c5 to your computer and use it in GitHub Desktop.
Save LuanP/a015cbee9f7c2c9cd3e2bbcf6d4b32c5 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'moll/vim-node'
Plugin 'pangloss/vim-javascript'
Plugin 'flazz/vim-colorschemes'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'kylef/apiblueprint.vim'
Plugin 'wakatime/vim-wakatime'
Plugin 'w0rp/ale'
Plugin 'dart-lang/dart-vim-plugin'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
syntax on
set tabstop=2
set shiftwidth=2
set expandtab
set backspace=indent,eol,start
let g:syntastic_javascript_checkers = ['eslint']
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 0
let g:syntastic_check_on_wq = 0
let g:syntastic_javascript_eslint_exe = 'eslint .'
let g:ale_fixers = {
\ 'javascript': ['standard'],
\}
let g:ale_lint_on_text_changed = 'never'
let dart_format_on_save = 1
let dart_style_guide = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment