Re: question about lua source navigation

2010-07-03 Thread X Heruacles
Thanks Gary, this really helps me a lot :) On Sat, Jul 3, 2010 at 1:23 AM, Gary Johnson wrote: > On 2010-07-03, X Heruacles wrote: > > > On Thu, Jul 1, 2010 at 4:42 AM, Gary Johnson > wrote: > > > > On 2010-06-30, X Heruacles wrote: > > > > > On Wed, Jun 30, 2010 at 3:42 PM, Gary Johnso

Re: question about lua source navigation

2010-07-02 Thread Gary Johnson
On 2010-07-03, X Heruacles wrote: > On Thu, Jul 1, 2010 at 4:42 AM, Gary Johnson wrote: > > On 2010-06-30, X Heruacles wrote: > > > On Wed, Jun 30, 2010 at 3:42 PM, Gary Johnson > wrote: > > > > On 2010-06-30, X Heruacles wrote: > > > I'm just learning lua and I

Re: question about lua source navigation

2010-07-02 Thread X Heruacles
Sorry for the late reply Gary and thank you very much that it works!!! But there are others that can't work, so I want to know why this helps. I tried to read some help file about iskeyword and isfname, but it hardly did help. So I ask you do me a favor to describe the keyword and how it works?(may

Re: question about lua source navigation

2010-06-30 Thread Gary Johnson
On 2010-06-30, X Heruacles wrote: > On Wed, Jun 30, 2010 at 3:42 PM, Gary Johnson wrote: > > On 2010-06-30, X Heruacles wrote: > > I'm just learning lua and I use vim to navigate some lua projects. I > use > ctags > > to generate tags using a map: > > > > map :!ct

Re: question about lua source navigation

2010-06-30 Thread X Heruacles
The error code is E426. After I set iskeyword, the command set iskeyword? echos iskeyword=@,48-57,_,128-167,224-235,: but it still didn't solve the problem. Thanks anyway. 2010/6/30 Dominique Pellé > X Heruacles wrote: > > > I'm just learning lua and I use vim to navigate some lua projects. I u

Re: question about lua source navigation

2010-06-30 Thread Dominique Pellé
X Heruacles wrote: > I'm just learning lua and I use vim to navigate some lua projects. I  use > ctags to generate tags using a map: >> >> map  :!ctags -R . > > but it rarely helps. When I want to jump to some function definition, it > always errs. Then I checked the generated tag and it seems fi

Re: question about lua source navigation

2010-06-30 Thread X Heruacles
thanks Gary. Then I show the code here: the generated tag has a line looks like this: > TaskHandler.prizeTask .\init\taskHandler.lua /^function > TaskHandler.prizeTask(plr, task)$/;" f and I have a function: > function Task:succeed() debug_log("Task:succeed") self.isSucceed = true TaskHand

Re: question about lua source navigation

2010-06-30 Thread Gary Johnson
On 2010-06-30, X Heruacles wrote: > I'm just learning lua and I use vim to navigate some lua projects. I use > ctags > to generate tags using a map: > > map :!ctags -R . > > but it rarely helps. When I want to jump to some function definition, it > always > errs. Then I checked the gener