Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 651 Bytes

syntax_highlighting.md

File metadata and controls

14 lines (9 loc) · 651 Bytes

Syntax highlighting

Instructions on how to add syntax highlighting for the different supported editors.

VIM

  1. Create the directory for custom VIM syntaxes mkdir -p ~/.vim/syntax/
  2. Move VIM syntax file torth.vim to the VIM syntax folder cp torth.vim ~/.vim/syntax/
  3. Add row syntax on to ~/.vimrc if it is not already there to enable syntax highlighting

Visual Studio Code

  1. Copy the whole VSCode syntax folder (including the torth folder) to VSCode's extensions folder
    • Windows default: C:\Users\{Username}\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions