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")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile *.override setfiletype c
au! BufRead,BufNewFile *.defs setfiletype scheme
augroup END
Add a comment
You are not allowed to comment on this entry as it has restricted commenting permissions.