Qt-interest Archive, June 2007
qrc + vim
Message 1 in thread
A small tip: Add this line at the beginning of your qrc files
(resources files), and vim will auto-highlight it and auto-format
(with =) will work too.
<!-- vim: set filetype=xml: -->
Benjamin.
ps:
There's probably a global setting to tell vim to map .qrc files to
.xml files too ...
--
[ signature omitted ]
Message 2 in thread
You can also put the following in your .vimrc file:
augroup myxml
au BufRead,BufNewFile *.qrc set filetype=xml
augroup END
Hope that's helpful.
Darrik Mazey
Benjamin Sergeant wrote:
> A small tip: Add this line at the beginning of your qrc files
> (resources files), and vim will auto-highlight it and auto-format
> (with =) will work too.
>
> <!-- vim: set filetype=xml: -->
>
> Benjamin.
>
> ps:
> There's probably a global setting to tell vim to map .qrc files to
> .xml files too ...
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]