This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-20
Channels
- # announcements (1)
- # asami (6)
- # babashka (21)
- # beginners (19)
- # calva (44)
- # circleci (3)
- # clj-http (3)
- # clj-kondo (44)
- # clojure (24)
- # clojure-australia (1)
- # clojure-czech (1)
- # clojure-europe (50)
- # clojure-france (5)
- # clojure-germany (1)
- # clojure-nl (2)
- # clojure-spec (8)
- # clojure-uk (8)
- # clojurescript (161)
- # datomic (4)
- # fulcro (7)
- # graalvm (8)
- # heroku (4)
- # lambdaisland (4)
- # lein-figwheel (5)
- # lsp (48)
- # malli (21)
- # meander (15)
- # off-topic (35)
- # polylith (2)
- # re-frame (21)
- # react (22)
- # reagent (13)
- # reitit (6)
- # remote-jobs (1)
- # reveal (3)
- # ring (3)
- # shadow-cljs (37)
- # testing (2)
- # tools-deps (10)
- # vim (18)
- # vrac (1)
- # xtdb (17)
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
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
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