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

Remove last hardcoded "Event" string, using tree-sitter #169

Closed rolandwalker closed 3 years ago

rolandwalker commented 3 years ago

The logic is slightly flaky because we should have saved the header node, but it works for now and can be addressed in a later planned refactor.