How to determine if the cursor is placed on the last character of the word under the cursor?
I can get information about the word under cursor like determining if the length of the word under the cursor is 1 character:
But as far as I see the expression
expand('<cword>') only returns the word itself with no information about the cursor position.
Any help pointing towards a potential solution is appreciated.