[utah-devel] Syntax highlighting in vim

Javier Collado javier.collado at canonical.com
Tue Oct 16 10:21:47 UTC 2012


Hello all,

I wanted to have syntax highlighting for the UTAH metadata files and
found that this can be done in vim adding an auto command to .vimrc; so
I'm sharing it, just in case you find it useful:

" utah files are yaml files
autocmd BufNewFile,BufRead *.run,t[cs]_control set filetype=yaml

Best regards,
    Javier

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-utah-devel/attachments/20121016/a48bc980/attachment.pgp>


More information about the Ubuntu-utah-devel mailing list