I a *test* file tmp.tex consisting solely of the following LaTeX code:

Start LaTeX code
----------------
\DeclareAcronym{myacro}{
   short = MYACRO,
   long = some longer expansion of myacro
}

\section
{Big long section name that never ends but keeps going and going and}
   \subsection{\ac{myacro}}
--------------
End LaTeX code

If I place my cursor on "myacro" on the last line and press "gd" (without 
quotes), cursor does not jump to the first occurance on the first line.  
However, if I attach the 4th last line "{Big long section..." to the preceding 
line "\section" with no adjoining space, then "gd" *does* work.

Can anyone explain why? The problem exhibits itself even if the file is named 
tmp.txt, so it doesn't seem to be a language-specific syntax issue.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to