Skip to content

Commit

Permalink
Skip ts node Character, fix #342 (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrvsrx authored Sep 6, 2024
1 parent e16193b commit 8265d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/matchup/ts_syntax.vim
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function! matchup#ts_syntax#skip_expr(lnum, col) abort

let l:syn = synIDattr(matchup#ts_syntax#synID(
\ a:lnum, a:col, 1), 'name')
return l:syn =~? '\%(String\|Comment\)'
return l:syn =~? '\%(String\|Comment\|Character\)'
endfunction

let &cpo = s:save_cpo
Expand Down

0 comments on commit 8265d53

Please sign in to comment.