vim-iced question: how do I set the g:iced_enable_clj_kondo_analysis
to {v:true}
? what should i put in my .vimrc?
I don't use iced, but this sounds like a general VimL question. The syntax is:
let g:iced_enable_clj_kondo_analysis = v:true
You can put that anywhere in your vimrc.
yep, the g:
and v:
are just part of the name, representing the namespace
thank you. none of the other options in my vimrc use v:true
, and the brackets threw me off
I believe 1
is equivalent. I mostly use let g:whatever = 1
in my vimrc.
oh that's very good to know
I think the brackets are just part of vim help format, but not sure what they mean.
If you check for example :help map
, both the command and the docstring use { }
to mark the arguments.
I think {foo}
is for formatting as code, similar to the backticks in markdown
or rather to "highlight differently" according to helphelp.txt
https://github.com/liquidz/vim-iced/blob/main/doc/vim-iced.txt#L1740 backticks are also used
v:false
and v:true
are also help subjects themselves, so maybe it can also refer to that
Though ctrl-] doesn't jump to e.g. v:true
from {v:true}
I think the braces don´t link, but the backticks do
> When referring to a Vim command and to create a hot-link, place the > name between two backticks, eg. inside :filetype. You will see this is > highlighted as a command, like a code block (see below).
but under "Highlighting" in helphelp: > The following are highlighted differently in a Vim help file: > - a special key name expressed either in <> notation as in <PageDown>, or > as a Ctrl character as in CTRL-X > - anything between {braces}, e.g. {lhs} and {rhs}
thanks for input everyone. i've got the setting correct now, but i'm not seeing anything change. should there be any visual changes? nevermind, i just can't read