Installing Syntax Files ======================= Syntax Highlighting for Curry Files ----------------------------------- To associate the ``.curry`` extension with Haskell syntax in Vim create the file ``~/.vim/ftdetect/curry.vim`` with the following contents: .. code-block:: vim au BufRead,BufNewFile *.curry set filetype=haskell .. _spritelog-highlighting: Syntax Highlighting for Spritelog Files --------------------------------------- If you plan to view computation traces generated by Sprite, consider installing the syntax highlighting for ``spritelog`` files. Do the following for Vim: 1. Copy ``spritelog.vim`` from the repository root to ``~/.vim/syntax/spritelog.vim``. 2. Create the file ``~/.vim/ftdetect/spritelog.vim`` with the following contents: .. code-block:: vim au BufRead,BufNewFile *spritelog set filetype=spritelog