dwcoates / pygn-mode

An Emacs major-mode for chess PGN files, powered by Python
BSD 2-Clause "Simplified" License
10 stars 3 forks source link

Sync syntax-table word characters with tree-sitter grammar.js #166

Closed rolandwalker closed 3 years ago

rolandwalker commented 3 years ago

~This is branched off of #153 and will look like a mess until rebased.~ rebased

Here we update the Emacs syntax table so that all the annotation glyphs known to tree-sitter grammar.js are marked as w word characters. This will affect uses of skip-syntax-forward/skip-syntax-backward, regular expressions using syntax-table constructs, and some interactive motion commands.