Skip to content

Instantly share code, notes, and snippets.

@thricedotted
thricedotted / twee.vim
Last active October 30, 2023 15:32
a rudimentary vim syntax file for twee code (http://www.gimcrackd.com/etc/src/) to use on .tw files automatically 1) save this file as ~/.vim/syntax/twee.vim 2) add this line to ~/.vimrc: au BufNewFile,BufRead *.tw set filetype=twee
" Vim syntax file
" Language: twee
" Maintainer: thricedotted@gmail.com / who even knows
" Latest Revision: 16 Sep 2013
" Version: 0.1
"
" TODO:
" - numbers in <<macros>> could be way more robust
" - different highlighting for choices and actions?
" - folding stuff???