Closed sanmiguel closed 10 years ago
Initially I also always had :
in isk
, but it can be annoying when you have binaries and want to use keyword completion:
With :
not in isk
:
f(<<FirstVar:8, SecondVar:8>>) ->
Fi<press CTRL-P> → FirstVar
With :
in isk
:
f(<<FirstVar:8, SecondVar:8>>) ->
Fi<press CTRL-P> → FirstVar:8
I found two minor (and probably fixable) cases when this setting makes a difference in syntax highlighting:
<<A:1>>
: if :
is in isk
, the 1
is not highlighted.throw:Var
: if :
is in isk
, Var
is not highlighted.I'm closing issues at hcs42/vim-erlang-tags. From now on issues shall be written on vim-erlang/vim-erlang-tags. Please reopen the issue there if you still think it is relevant.
I've an experimental branch in my fork, here: https://github.com/sanmiguel/vim-erlang-tags/tree/set-iskeyword-for-erl-filetype which always does
set isk+=:
for erlang files, rather than needing the special bindings for erlang files.Thoughts, comments, suggestions welcome as always