Thursday, May 7, 2020

Re: iskeyword and '@'

On Thu, 7 May 2020 at 16:50, Christian Brabandt <cblists@256bit.org> wrote:
On Do, 07 Mai 2020, Yongwei Wu wrote:

> I am trying to include the '@' character into the iskeyword option (MASM uses '@' in identifiers). However,
> ":setlocal iskeyword=@,48-57,_,36,60,62,63,64" does not seem to have effect. Is it a bug, or did I miss something?

The @ has a special meaning. I think you need something like
`:setl isk+=@-@`

See :h 'isfname'  where this is explained.

What puzzled me was that `64` did not work. Good to know/see that `@-@` does the trick. Thanks!

--
Yongwei Wu
URL: http://wyw.dcweb.cn/

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADs46if5ZmBdKN7xk9L2-YZqFwOhFY%3D_G0gy2_BDT93qozUR%3DA%40mail.gmail.com.

No comments: