Skip to content

Commit

Permalink
vim config hell for javascript / JSX
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatch committed Dec 24, 2018
1 parent 17526ff commit 9888800
Showing 1 changed file with 11 additions and 0 deletions.
@@ -0,0 +1,11 @@
" https://github.com/suy/vim-context-commentstring

if !exists('g:context#commentstring#table')
let g:context#commentstring#table = {}
endif
let g:context#commentstring#table['javascript.jsx'] = {
\ 'jsComment' : '// %s',
\ 'jsImport' : '// %s',
\ 'jsxStatment' : '// %s',
\ 'jsxRegion' : '{/*%s*/}',
\}

0 comments on commit 9888800

Please sign in to comment.