Skip to content

Commit

Permalink
Add conceal to double and tripple equal
Browse files Browse the repository at this point in the history
  • Loading branch information
cabaalexander committed Jan 18, 2019
1 parent 50c1357 commit 700739a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syntax/javascript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ exe 'syntax match jsFunction /\<function\>/ skipwhite skipempty nextgroup=j
exe 'syntax match jsArrowFunction /=>/ skipwhite skipempty nextgroup=jsFuncBlock,jsCommentFunction '.(exists('g:javascript_conceal_arrow_function') ? 'conceal cchar='.g:javascript_conceal_arrow_function : '')
exe 'syntax match jsArrowFunction /()\ze\s*=>/ skipwhite skipempty nextgroup=jsArrowFunction '.(exists('g:javascript_conceal_noarg_arrow_function') ? 'conceal cchar='.g:javascript_conceal_noarg_arrow_function : '')
exe 'syntax match jsArrowFunction /_\ze\s*=>/ skipwhite skipempty nextgroup=jsArrowFunction '.(exists('g:javascript_conceal_underscore_arrow_function') ? 'conceal cchar='.g:javascript_conceal_underscore_arrow_function : '')
exe 'syntax match jsDoubleEqual /=\{2}/ skipwhite skipempty nextgroup=@jsExpression '.(exists('g:javascript_conceal_double_equal') ? 'conceal cchar='.g:javascript_conceal_double_equal : '')

" Classes
syntax keyword jsClassKeyword contained class
Expand Down

0 comments on commit 700739a

Please sign in to comment.