Variable not getting added to 'tag stack'; functions work perfectly
While using ctags in vim, my tags stack is behaving strangely.
Case 1: Use 'ctrl+]' to access a function (say foo) and then 'ctrl+t'
:::::::::::::::::::::::: Returns perfectly.
Case 2: Use 'ctrl+]' to access a variable (say 'var') and then do 'ctrl+t'
:::::::::::::::::::::::: Error 'at bottom of tag stack'.
Case 3: Use 'ctrl+]' to access a function (say foo) and then 'ctrl + ]' to access a variable (say 'var') and then do 'ctrl+t'
:::::::::::::::::::::::: Instead of returning to var, it returns to foo
It seems like whenever I do 'ctrl+]' to variable, it is not added to tag stack, but functions are added to tag stack.
Any recommended solutions?
|