Hello everyone,
I have a quick question I wanted to ask. I use neovim
for programming in a few languages, the main ones being python3, common-lisp, and POSIX shell script. I often set iskeyword
for these languages so I can get better auto-completion (granted I recently started using nvim-compe which doesn’t support iskeyword
), but have run into an issue.
In common-lisp ,
can be used for classes and I would like to add it to iskeyword
so I can complete classes faster, but whenever I try to it:
opt.iskeyword:append({ '-' , ',' })
I get an error about an incorrect argument being passed. Having read the help page for iskeyword
, :h iskeyword
, I know this must be because it is a comma separated list of characters. Is there anyway to add ,
to iskeyword
?
As an aside, while I don’t do much C I often have to deep dive into it to manage different projects. Is there anyway to add ->
to iskeyword
to help with completing structs?
Thank you for your time.