zk-phi / magic-latex-buffer

Magical syntax highlighting for LaTeX-mode buffers
152 stars 13 forks source link

how to customize symbols? #23

Closed scaramouche1 closed 8 years ago

scaramouche1 commented 8 years ago

Many thanks for this great new package!

I have one question: say I do not like some of the symbol replacements (e.g., a right hand to represent \ref). How can I disable or modify that replacement? Similarly, can I disable a whole set of symbols? (e.g., ml/other-symbols).

zk-phi commented 8 years ago

there's no way to customize dynamically for now, so you need to modify the source code. to remove all symbols in ml/other-symbols, replace the definition of ml/other-symbols with '().

(defconst ml/other-symbols
  '())