All 2 entries tagged Pygtk

No other Warwick Blogs use the tag Pygtk on entries | View entries tagged Pygtk at Technorati | There are no images tagged Pygtk on this blog

August 15, 2007

PyGTK bindings & vim syntax highlighting

Python bindings as implemented the PyGTK way use files with extensions ”.defs” and ”.override”. By default in vim these will not have syntax highlighting.

Create ~/.vim if necessary, and in ~/.vim/filetype.vim put:

if exists("did_load_filetypes")
augroup filetypedetect
  au! BufRead,BufNewFile *.override             setfiletype c
  au! BufRead,BufNewFile *.defs                 setfiletype scheme
augroup END

This blog is obsolete

From 20th August 2007, this blog is no longer being updated. For something more recent, please visit Tim Retout’s website.

Search this blog

Not signed in
Sign in

Powered by BlogBuilder