expand(<cword>)
gives me the word under the cursor, but it excludes symbols such as @
or .
. For example, if I call it at the end of @word
, it will get me word
and exclude the @
.
Is there a way that I could include symbols as part of the current word?