expr returning path of sourced script?

2006-08-25 Thread sgp
On Windows gvim 7.0 I want to :set complete= to a file in the same folder of a syntax file c:\path\to\syntax\syn.vim c:\path\to\syntax\keywords.txt what expression can I use with :exe to achieve that? I tried adding exe "set complete=k".substitute(fnamemodify(bufname('.'),':p:h').'\keywords.tx

Re: ANN: VST 1.0 Finally

2006-07-13 Thread sgp
I installed per provided instructions (WinXP) but when I type :Vst I get a bunch of error messages, mostly undefined variables: g:plinen_rez g:paras_rez g:ptype_rez etc. all of which are initialized in $VIM\vimfiles\autoload\vst\vst.vim but don't seem to be picked up when :Vst is executed. :Vs

syntax highlighting questions

2006-06-28 Thread sgp
Hello everyone, I'm new to this list. I'm writing a syntax file for vim 7.0 and ran into a couple of problems, please help me. 1) The language defines a control statement if(expr)do else endif but also two functions if(...) possibly after a = or an operator and possibly before an operator and