vim-reason-plus icon indicating copy to clipboard operation
vim-reason-plus copied to clipboard

Highlight `abstract` as a keyword

Open jey opened this issue 6 years ago • 0 comments

  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)

jey avatar Jan 27 '19 09:01 jey