reasonml-editor / vim-reason-plus

Reason Vim editor integration
MIT License
153 stars 20 forks source link

Highlight `abstract` as a keyword #20

Open jey opened 5 years ago

jey commented 5 years ago
  1. Added a guess at the source file as syntax/reason.vim.orig. (Note: not precisely bisected, but the ground truth is between https://github.com/rust-lang/rust.vim/commit/523a1160287772c8b8c7842efcd4898b528d89bf and https://github.com/rust-lang/rust.vim/commit/e651851c7455286f0ba42c46777e9677c68796ac)

  2. Replaced references to rust with reason

  3. Changed reserved words to be highlighted as keywords (so the "abstract" in [@bs.deriving abstract] isn't highlighted in red)