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

Greatly simplify pygn-mode-pgn-at-pos using tree-sitter #177

Closed rolandwalker closed 3 years ago

rolandwalker commented 3 years ago

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

Here we remove most of the conditions in pygn-mode-pgn-at-pos in favor of information from the tree-sitter syntax tree.