A while ago I downloaded a custom syntax file
-- let's call it foo.vim -- and put it in
~/.vim/syntax/. and a file consisting of

autocmd Bufread,BufNewFile *.foo    set filetype=foo

in ~/.vim/ftdetect  Everything worked just fine until
yesterday when I decided to do some changes to the
syntax file, adding some match statements and their
corresponding hi statements.  Previously the high-
lighting patterns defined in ~/.vim/syntax/foo.vim
worked out of the box when I opened a .foo file, but
now I have to explicitly :set filetype=foo to get the
new highlighting patterns, getting only the old ones
out of the box.  I guess another version of the syntax
file is lying around somewhere and confusing vim
-- only I cannot find it(*).  What do you think is
the problem?

(* FWIW my tracker-search-tool seems broken;
it keeps hanging on permission-denied-errors.)

TIA,

/BP

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to