Skip to content

Instantly share code, notes, and snippets.

@syreal17
Created January 10, 2021 23:30
Show Gist options
  • Save syreal17/46af028f16fa7e48447cbedfbaa2a2fe to your computer and use it in GitHub Desktop.
Save syreal17/46af028f16fa7e48447cbedfbaa2a2fe to your computer and use it in GitHub Desktop.
" sy: set Embedded JavaScript (ejs) files to have HTML syntax highlighting
" (note: ejs files might actually support more syntax than just HTML?)
" src: https://t.co/M503WdtzNh
autocmd BufNewFile,BufRead *.ejs set syntax=html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment