Home » Questions » Computers [ Ask a new question ]

how to define what characters are considered to be part of a tagname in vim?

how to define what characters are considered to be part of a tagname in vim?

when I'm using Ctrl-] to jump to a tagname in vim it ignores ! and ? characters which can be used in ruby as parts of identifiers. i.e. when trying to jump to 'empty?' tag it complains about missing tag 'empty'.

Asked by: Guest | Views: 65
Total answers/comments: 1
Guest [Entry]

"Add the desired characters to the iskeyword option. Try:

:set iskeyword+=!,?"