Skip to content

Instantly share code, notes, and snippets.

@mashaal
Last active Feb 4, 2017
Embed
What would you like to do?
.vimrc
set shell=/bin/bash\ -i
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
Plugin 'vim-syntastic/syntastic'
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
call vundle#end()
filetype plugin indent on
syntax on
:set background=dark
:set ts=2 sts=2 shiftwidth=2 expandtab
:set number
:retab
let g:vim_markdown_folding_disabled = 1
:setfiletype javascript
let g:jsx_ext_required = 0
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_loc_list_height = 5
let g:syntastic_auto_loc_list = 0
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 1
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_error_symbol = ''
let g:syntastic_style_error_symbol = '⦿'
let g:syntastic_warning_symbol = ''
let g:syntastic_style_warning_symbol = ''
highlight link SyntasticErrorSign Question
highlight link SyntasticWarningSign Question
highlight link SyntasticStyleErrorSign Question
highlight link SyntasticStyleWarningSign Question
highlight clear SignColumn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment