Skip to content

Instantly share code, notes, and snippets.

@jmarceli
Created Mar 30, 2019
Embed
What would you like to do?
Updated .vimrc configuration for ReactJS development
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
"""
""" EXPERIMENTAL
""" tagbar
""" tern_for_vim
""" vim-obsession
""" ctrlp.vim
"""
"""
" NEOVIM SETUP
""""
" let g:python_host_prog = '/usr/local/bin/python2'
let g:python3_host_prog = '/usr/local/bin/python3'
set nocompatible
"""""""""""""""""""
" PLUGINS
"""""""""""""""""""
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.local/share/nvim/plugged')
" .editorconfig
Plug 'editorconfig/editorconfig-vim'
" exclude in case of OniVim editor (https://github.com/onivim/oni)
if !exists("g:gui_oni")
" snippets
Plug 'sirver/ultisnips'
Plug 'honza/vim-snippets'
" Plug 'rstacruz/vim-ultisnips-css'
" autocomplete
"Plug 'Valloric/YouCompleteMe'
" general
Plug 'dbakker/vim-projectroot'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'tpope/vim-obsession'
" Plug 'majutsushi/tagbar'
Plug 'ternjs/tern_for_vim'
" Plug 'othree/javascript-libraries-syntax.vim'
" comments and files tree
Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'jistr/vim-nerdtree-tabs'
Plug 'scrooloose/nerdcommenter'
" nice status line
"Plug 'bling/vim-airline'
" csv
Plug 'chrisbra/csv.vim'
" general improvements
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-abolish'
Plug 'tpope/vim-unimpaired'
" Plug 'prettier/vim-prettier'
" live syntax check
"Plug 'scrooloose/syntastic'
" faster search than ACK
" Plug 'rking/ag.vim'
" search and replace
Plug 'brooth/far.vim'
" autohide search highlight
Plug 'junegunn/vim-slash'
" easier replace in multiple files
" Plug 'dkprice/vim-easygrep'
" tags maching (opening with closing)
Plug 'tmhedberg/matchit'
" HTML5 support
Plug 'othree/html5.vim'
" SMARTY
" Plug 'vim-scripts/smarty-syntax'
" GRAPHQL
Plug 'jparise/vim-graphql'
" JAVASCRIPT
" Plug 'othree/yajs.vim'
" Plug 'othree/es.next.syntax.vim'
"Plug 'isRuslan/vim-es6.vim'
" Plug 'mxw/vim-jsx'
Plug 'pangloss/vim-javascript' " adds indentation support for .jsx
Plug 'maxmellon/vim-jsx-pretty'
" Plug 'leafgarland/typescript-vim' " typescript support
Plug 'w0rp/ale'
" Plug 'flowtype/vim-flow', { 'autoload': { 'filetypes': 'javascript' }}
" Hangs nvim ?
" Plug 'HerringtonDarkholme/yats.vim'
" Plug 'mhartington/nvim-typescript', { 'do': './install.sh' }
" For async completion
" Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
" Enable deoplete at startup
" let g:deoplete#enable_at_startup = 1
" Coffeescript support
"Plug 'kchmck/vim-coffee-script'
" CJSX support (reactJS + Coffeescript)
"Plug 'mtscout6/vim-cjsx'
" Plug 'ludovicchabant/vim-gutentags'
Plug 'kristijanhusak/vim-js-file-import'
" Markdown support
Plug 'tpope/vim-markdown'
" CSS
Plug 'stephenway/postcss.vim'
"Plug 'groenewege/vim-less'
" Blade
" Plug 'jwalton512/vim-blade'
" NODEJS
" Plug 'Slava/vim-spacebars'
" RAILS
" Plug 'tpope/vim-rails'
" Plug 'ngmy/vim-rubocop'
"Plug 'tpope/vim-haml'
" END
" PHP
" Twig highlighting
" Plug 'evidens/vim-twig'
" PHP debug
" Plug 'joonty/vdebug'
" END
" JSON
Plug 'elzr/vim-json'
let g:vim_json_syntax_conceal = 0
" END
" COLORS
" original railscasts colorscheme (too dark IMO)
Plug 'jpo/vim-railscasts-theme'
"Plug 'flazz/vim-colorschemes'
"Plug 'altercation/vim-colors-solarized'
" nice icons in nerdTree
Plug 'ryanoasis/vim-devicons'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" END
" plugin from http://vim-scripts.org/vim/scripts.html
"Plug 'L9'
" Git plugin not hosted on GitHub
"Plug 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
"Plug 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
"Plug 'rstacruz/sparkup', {'rtp': 'vim/'}
" Avoid a name conflict with L9
"Plug 'user/L9', {'name': 'newL9'}
endif
" Initialize plugin system
call plug#end()
"""""""""""""""""""""""
" GLOBAL CONFIG
"""""""""""""""""""""""
let mapleader = ","
set isk+=- " add dash to word boundaries (for CSS variables)
""" LANG
language en_US
""""""""""""""""""""""""""
" CUSTOM CONFIG
"""""""""""""""""""""""""""
" Show Flow definition
" nnoremap <leader>fa :execute 'new \| 0read ! yarn --silent flow type-at-pos --quiet' expand('%') line(".") col(".") "\| grep '^type' \| yarn --silent prettier --stdin-filepath test.js"<cr>
" nnoremap <leader>fa :execute ":! yarn --silent flow type-at-pos --quiet %" line(".") col(".") "\| grep '^type' \| yarn --silent prettier --stdin-filepath test.js"<cr>
" nnoremap <leader>ff :execute ":! yarn --silent flow type-at-pos --quiet % " . line(".") . " " . col(".") . " \| grep '^type' "<cr>
" open ~/.vimrc
nnoremap <leader>ev :vsplit $MYVIMRC<cr>
" source ~/.vimrc
nnoremap <leader>sv :source $MYVIMRC<cr>
" each plugin settings entry begins with two empty lines (for readability)
set backspace=indent,eol,start " fix backspace
set foldenable " enable folding with (open all-close all) - zM, zR, (next-prev) - zj, zk, (open-close) - za, zc
"set foldmethod=syntax " automatically fold based on syntax
"set foldlevelstart=1
"let javaScript_fold=1 " JavaScript
"let perl_fold=1 " Perl
"let php_folding=1 " PHP
"let r_syntax_folding=1 " R
"let ruby_fold=1 " Ruby
"let sh_fold_enabled=1 " sh
"let vimsyn_folding='af' " Vim script
"let xml_syntax_folding=1 " XML
"set foldmethod=indent " automatically fold based on indent level
set smartindent
set nu
set ts=2
set shiftwidth=2
set tabstop=2
set expandtab
set autoindent
" disables automatic line wrap (very annoying)
set textwidth=0
set wrapmargin=0
noremap <C-d> :t.<CR>
noremap <C-o> :Breakpoint<CR>
" nmap - map for normal mode only
" tab switching
nnoremap <C-s> :tabn<CR>
nnoremap <C-a> :tabp<CR>
" window switching
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
" copy paste from system clipboard
noremap <C-v> "+p
noremap <C-c> "+y
" paste multiple times after copy
xnoremap p pgvy
" replace selected text globally with prompt
vnoremap <C-r> "hy:%s/<C-r>h//gc<left><left><left>
" MOUSE
set mouse=a
" set ttymouse=xterm
" disable paste by pressing mouse middle button
noremap <MiddleMouse> <Nop>
inoremap <MiddleMouse> <Nop>
" remap ESC and disable
inoremap jk <Esc>
cnoremap jk <Esc>
vnoremap jk <Esc>
inoremap <esc> <nop>
cnoremap <esc> <nop>
vnoremap <esc> <nop>
" disable arrow navigation
"noremap <Up> <NOP>
"noremap <Down> <NOP>
"noremap <Left> <NOP>
"noremap <Right> <NOP>
" disable column/row navigation
" noremap h <NOP>
" noremap j <NOP>
" noremap k <NOP>
" noremap l <NOP>
" diffupdate shortcut
"command Dfu diffupdate
" USE DEFAULT dp instead
" disable automatic search wrapping
set nowrapscan
" map key to delete to the 'black hole' register
noremap <leader>dd "_dd
noremap <leader>d "_d
"set background=dark
if !exists("g:gui_oni")
colorscheme railscasts
endif
" customized colors see: https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg
" background color
hi Normal ctermfg=255 ctermbg=235
" split bar color
hi VertSplit ctermfg=241 ctermbg=235
"colorscheme solarized
"candystripe
"store swap files in separate directory
set backupdir=~/.vim/tmp/backup//
set directory=~/.vim/tmp/swap//
" add cursor highlighting
hi CursorLine cterm=NONE ctermbg=green ctermfg=white guibg=green guifg=white
":hi CursorColumn cterm=NONE ctermbg=darkred ctermfg=white guibg=darkgreen guifg=white
nnoremap <leader>c :set cursorline!<CR>
" auto-enable cursorline highlight for opened buffer
"augroup CursorLine
"au!
"au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
"au WinLeave * setlocal nocursorline
"augroup END
" copy current file name (relative/absolute) to system clipboard
if has("mac") || has("gui_macvim") || has("gui_mac")
" relative path (src/foo.txt)
nnoremap <leader>cf :let @*=expand("%")<CR>
" absolute path (/something/src/foo.txt)
nnoremap <leader>cF :let @*=expand("%:p")<CR>
" filename (foo.txt)
nnoremap <leader>ct :let @*=expand("%:t")<CR>
" directory name (/something/src)
nnoremap <leader>ch :let @*=expand("%:p:h")<CR>
endif
" copy current file name (relative/absolute) to system clipboard (Linux version)
if has("gui_gtk") || has("gui_gtk2") || has("gui_gnome") || has("unix")
" relative path (src/foo.txt)
nnoremap <leader>cf :let @+=expand("%")<CR>
" absolute path (/something/src/foo.txt)
nnoremap <leader>cF :let @+=expand("%:p")<CR>
" filename (foo.txt)
nnoremap <leader>ct :let @+=expand("%:t")<CR>
" directory name (/something/src)
nnoremap <leader>ch :let @+=expand("%:p:h")<CR>
endif
" highlight syntax in .tpl files as Twig
" au BufNewFile,BufRead *.tpl set filetype=html.twig
" highlight syntax in .tpl files as Smarty
"au BufNewFile,BufRead *.tpl set filetype=smarty
" highlight PHP files
augroup filetype_vim
au BufNewFile,BufRead *.flow set filetype=javascript
au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.inc,*.info setf php
" highlight Markdown files
au BufNewFile,BufReadPost *.md set filetype=markdown
"au BufNewFile,BufReadPost *.jsx set filetype=javascript
augroup END
if !exists("g:gui_oni")
" POWERLINE integration
" set rtp+=/usr/local/lib/python3.6/site-packages/powerline/bindings/vim/
" Always show statusline
" set laststatus=2
"
" " Use 256 colours (Use this setting only if your terminal supports 256
" colours)
set t_Co=256
" POWERLINE end
"""""""""""""""""""""""
" PLUGIN CONFIGURATION
""""""""""""""""""""""
" EASYGREP
let g:EasyGrepCommand=1
let g:EasyGrepRecursive=1
let g:EasyGrepFilesToExclude='*.swp,*~,*.reg'
" EASYGREP end
" COLORS
" icons
" https://github.com/ryanoasis/vim-devicons
set encoding=utf-8
let g:WebDevIconsOS = 'Darwin'
" set guifont=Inconsolata\ Nerd\ Font\ 16
let g:airline_powerline_fonts=1
let g:WebDevIconsUnicodeDecorateFolderNodes = 1
" let g:DevIconsEnableFoldersOpenClose = 1
" custom colors
" https://github.com/tiagofumo/vim-nerdtree-syntax-highlight
let s:brown = '905532'
let s:aqua = '3AFFDB'
let s:blue = '689FB6'
let s:darkBlue = '44788E'
let s:purple = '834F79'
let s:lightPurple = '834F79'
let s:red = 'AE403F'
let s:beige = 'F5C06F'
let s:yellow = 'F09F17'
let s:yellow2 = 'ffd75f'
let s:orange = 'D4843E'
let s:darkOrange = 'F16529'
let s:pink = 'CB6F6F'
let s:salmon = 'EE6E73'
let s:green = '8FAA54'
let s:lightGreen = '31B53E'
let s:white = 'FFFFFF'
let s:rspec_red = 'FE405F'
let s:git_orange = 'F54D27'
let g:NERDTreeExtensionHighlightColor = {
\ 'OLD': s:brown,
\ 'yaml': 'bab9e1',
\ 'yml': 'bab9e1',
\ 'lock': s:salmon,
\ 'json': 'af5f00',
\ 'js': s:yellow2,
\ }
" END
" w0rp/ale
" Limit linters used for JavaScript.
let g:ale_linters = {
\ 'javascript': ['flow', 'eslint'],
\ 'typescript': ['tslint'],
\}
highlight clear ALEErrorSign " otherwise uses error bg color (typically red)
highlight clear ALEWarningSign " otherwise uses error bg color (typically red)
let g:ale_sign_error = 'X' " could use emoji
let g:ale_sign_warning = '?' " could use emoji
let g:ale_statusline_format = ['X %d', '? %d', '']
" %linter% is the name of the linter that provided the message
" %s is the error or warning message
let g:ale_echo_msg_format = '%linter%: %s'
" Set this. Airline will handle the rest.
let g:airline#extensions#ale#enabled = 1
" Map keys to navigate between lines with errors and warnings.
nnoremap <leader>an :ALENextWrap<cr>
nnoremap <leader>ap :ALEPreviousWrap<cr>
" Lint only after file save
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_enter = 1
" Use quickfix instead of loclist for lint bugs
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_open_list = 0 " autoopen list
" ALE fixers
let g:ale_fixers = ['prettier', 'eslint']
nnoremap <leader>p <Plug>(ale_fix)
let g:ale_fix_on_save = 1
let g:ale_set_balloons = 1
" \w0rp/ale
" let s:timer = -1
" function! s:BalloonShow(...)
" let s:message =
" \ 'Cursor is at line ' . v:beval_lnum .
" \', column ' . v:beval_col .
" \ ' of file ' . bufname(v:beval_bufnr) .
" \ ' on word "' . v:beval_text . '"'
" call balloon_show(s:message)
" endfunction
" function! MyBalloonExpr()
" call timer_stop( s:timer )
" let s:timer = timer_start(100, function('s:BalloonShow'))
" return ''
" endfunction
" set balloonexpr=MyBalloonExpr()
" set balloondelay=300
" set balloonevalterm
" vim-jsx-pretty
let g:vim_jsx_pretty_enable_jsx_highlight = 1
let g:vim_jsx_pretty_colorful_config = 1
" \vim-jsx-pretty
" vim-javascript
let g:javascript_plugin_flow = 1
" \vim-javascript
" vim-airline
" let g:airline_section_a (mode, crypt, paste, spell, iminsert)
" let g:airline_section_b (hunks, branch)[*]
" let g:airline_section_c (bufferline or filename)
" let g:airline_section_gutter (readonly, csv)
" let g:airline_section_x (tagbar, filetype, virtualenv)
" let g:airline_section_y (fileencoding, fileformat)
" let g:airline_section_z (percentage, line number, column number)
" let g:airline_section_error (ycm_error_count, syntastic-err, eclim)
" let g:airline_section_warning (ycm_warning_count, syntastic-warn, whitespace)
" * `mode` displays the current mode
" * `iminsert` displays the current insert method
" * `paste` displays the paste indicator
" * `crypt` displays the crypted indicator
" * `spell` displays the spell indicator
" * `filetype` displays the file type
" * `readonly` displays the read only indicator
" * `file` displays the filename and modified indicator
" * `path` displays the filename (absolute path) and modifier indicator
" * `linenr` displays the current line number
" * `maxlinenr` displays the number of lines in the buffer
" * `ffenc` displays the file format and encoding
" * `%c` displays column number
"
let g:airline_section_a = airline#section#create(['mode'])
let g:airline_section_b = airline#section#create(['branch'])
let g:airline_section_c = airline#section#create(['file'])
" let g:airline_section_x = airline#section#create(['fileencoding'])
let g:airline_section_y = '' " airline#section#create(['ffenc'])
let g:airline_section_z = airline#section#create(['%c']) " airline#section#create(['linenr', 'maxlinenr','%c'])
" let g:airline_section_error = ''
" let g:airline_section_warning = ''
let g:airline#extensions#default#section_truncate_width = {
\ 'a': 40,
\ 'b': 80,
\ 'x': 100,
\ 'y': 120,
\ 'z': 80,
\ 'error': 100,
\ 'warning': 100,
\ }
let g:airline#extensions#ycm#warning_symbol = ''
" \vim-airline
" far.vim
let g:far#source='rg'
let g:far#auto_preview=0 " use <p> to open preview window
nnoremap <leader>a <Esc>:Far js<left><left><left>
" vnoremap <C-r> "hy:Far <C-r>h .<left><left>
nnoremap <leader>f <Esc>:F js<left><left><left>
" \far.vim
" enable vim spellcheck
" set spell spelllang=en_us
" ctrlpvim/ctrlp.vim
let g:ctrlp_custom_ignore = {
\ 'dir': '\.git$\|\.svn\|node_modules\|log\|tmp$',
\ 'file': '\.so$\|\.dat$|\.DS_Store$'
\ }
" \ctrlpvim/ctrlp.vim
" majutsushi/tagbar
" nmap <leader>t :TagbarToggle<CR>
" \majutsushi/tagbar
" ULTISNIPS BEGIN
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger="<c-o>"
let g:UltiSnipsJumpForwardTrigger="<c-j>"
let g:UltiSnipsJumpBackwardTrigger="<c-k>"
let g:UltiSnipsSnippetDirectories = ['~/.vim/UltiSnips', 'UltiSnips']
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
" ULTISNIPS END
" PROJECTROOT
let g:rootmarkers = ['.projectroot', 'docker-compose.yml', '.git', '.hg', '.svn', '.bzr','_darcs','build.xml']
" NERDTREE TABS BEGIN
" replace Netrw with NerdTree
" let NERDTreeHijackNetrw=1
" Use nerdtree-tabs plugin
noremap <leader>n :NERDTreeToggle<CR>
" highlighting
let g:NERDTreeFileExtensionHighlightFullName = 1
" let g:NERDTreeExactMatchHighlightFullName = 1
" let g:NERDTreePatternMatchHighlightFullName = 1
let g:NERDTreeHighlightCursorline = 0
" hide selected files/folders
let NERDTreeIgnore = ['__pycache__', 'package-lock.json', 'yarn.lock', '.DS_Store']
"g:nerdtree_tabs_open_on_gui_startup (default: 1)
"Open NERDTree on gvim/macvim startup
let g:nerdtree_tabs_open_on_console_startup=1 "(default: 0)
"Open NERDTree on console vim startup
"let g:nerdtree_tabs_no_startup_for_diff (default: 1)
"Do not open NERDTree if vim starts in diff mode
"let g:nerdtree_tabs_smart_startup_focus (default: 1)
"On startup, focus NERDTree if opening a directory, focus file if opening a file. (When set to 2, always focus file window after startup).
"let g:nerdtree_tabs_open_on_new_tab (default: 1)
"Open NERDTree on new tab creation (if NERDTree was globally opened by :NERDTreeTabsToggle)
"let g:nerdtree_tabs_meaningful_tab_names (default: 1)
"Unfocus NERDTree when leaving a tab for descriptive tab names
"let g:nerdtree_tabs_autoclose (default: 1)
"Close current tab if there is only one window in it and it's NERDTree
let g:nerdtree_tabs_synchronize_view=0 "(default: 1)
"Synchronize view of all NERDTree windows (scroll and cursor position)
"let g:nerdtree_tabs_synchronize_focus (default: 1)
"Synchronize focus when switching windows (focus NERDTree after tab switch if and only if it was focused before tab switch)
"let g:nerdtree_tabs_focus_on_files (default: 0)
"When switching into a tab, make sure that focus is on the file window, not in the NERDTree window. (Note that this can get annoying if you use NERDTree's feature "open in new tab silently", as you will lose focus on the NERDTree.)
"let g:nerdtree_tabs_startup_cd (default: 1)
"When given a directory name as a command line parameter when launching Vim, :cd into it.
"let g:nerdtree_tabs_autofind (default: 0)
"Automatically find and select currently opened file in NERDTree.
" NERDTREE END
" nerdcommenter BEGIN
let NERDSpaceDelims=1 " extra space after comment (eslint airbnb compatibility)
" nerdcommenter END
" VDEBUG BEGIN
" don't break automatically on first line
" let g:vdebug_features = { 'max_children': 128 }
" let g:vdebug_options = {
" \ 'port' : 9005,
" \ 'server' : '',
" \ 'continuous_mode': 1,
" \ 'break_on_open': 0,
" \ 'watch_window_style': 'compact',
" \ }
"let g:vdebug_options = {'debug_file': 'vdebug_log', 'debug_file_level': 2,'watch_window_style': 'expanded','marker_default': '*','continuous_mode': 0,'ide_key': '','break_on_open': 1,'on_close': 'detach','path_maps': {'/var/www': '/home/janek/www'},'marker_closed_tree': '+','timeout': 30,'port': 9001,'marker_open_tree': '-','debug_window_level': 1,'server': 'localhost'}
" function! SetupDebug()
" let g:vdebug_options['path_maps'] = {'/app': call('projectroot#get', a:000)}
"" Hack to override vdebug options
" source ~/.vim/plugged/vdebug/plugin/vdebug.vim
" endfunction
" autocmd VimEnter * :call SetupDebug()
"nmap <leader>xd :call SetupDebug()<cr>
"let g:vdebug_keymap = { 'run' : '<F1>' }
"nnoremap <F5> :call SetupDebug() <bar> :VdebugStart <cr>
"" nnoremap <F2> <ESC>:echo "test" <bar> :echo "test2" <cr>
" VDEBUG END
" AG.VIM BEGIN
" Ag instead of grep
" autocmd QuickFixCmdPost *grep* cwindow
"set grepprg=ag " use AG instead of grep
" set grepprg=ag\ --nocolor\ --nogroup\ --column
" change grep format
" set grepformat=%f:%l:%c%m
" mappings
" nmap <leader>a <Esc>:Ag!
"nnoremap \ :Ag<SPACE>
" use custom ag path
" let g:ag_prg="ag --column --nogroup --nocolor"
" Commented out because of duplication warning
" bind \ (backward slash) to grep shortcut
"command -nargs=+ -complete=file -bar Ag silent! grep! <args>|cwindow|redraw!
" AG.VIM END
" CSV BEGIN
let g:csv_strict_columns = 1
let g:no_csv_maps = 1
" CSV END
" TAGBAR BEGIN
nnoremap <leader>b :TagbarToggle<CR>
" TAGBAR END
" FUGITIVE BEGIN
" force vertical diff split (instead of default horizontal)
set diffopt+=vertical
" FUGITIVE END
" SYNTASTIC BEGIN
" 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_html_checkers=[''] " disable HTML checks
" let g:syntastic_ruby_checkers = ['rubocop']
" SYNTASTIC END
" VIM-JSX BEGIN
let g:jsx_ext_required = 0
" VIM-JSX END
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment