Tuesday, September 18, 2018

isident and iskeyword treat @ differently

(On Linux with encoding=utf-8) After

:set isident=@ iskeyword=@

\k matches Greek letters, but \i does not. The help states that both have the format of isfname, which says

Multi-byte characters 256 and above are always included, only the
characters up to 255 are specified with this option.

While I'm at it, \k (and \f) do not match some punctuation, even above 256. For example,

; U+037E GREEK QUESTION MARK

IMO this is good, perhaps the help should be revised.

Regards, John Little

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: