Skip to content

Commit 700739a

Browse files
committed
Add conceal to double and tripple equal
1 parent 50c1357 commit 700739a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/javascript.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ exe 'syntax match jsFunction /\<function\>/ skipwhite skipempty nextgroup=j
174174
exe 'syntax match jsArrowFunction /=>/ skipwhite skipempty nextgroup=jsFuncBlock,jsCommentFunction '.(exists('g:javascript_conceal_arrow_function') ? 'conceal cchar='.g:javascript_conceal_arrow_function : '')
175175
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 : '')
176176
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 : '')
177+
exe 'syntax match jsDoubleEqual /=\{2}/ skipwhite skipempty nextgroup=@jsExpression '.(exists('g:javascript_conceal_double_equal') ? 'conceal cchar='.g:javascript_conceal_double_equal : '')
177178

178179
" Classes
179180
syntax keyword jsClassKeyword contained class

0 commit comments

Comments
 (0)