This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-02
Channels
- # announcements (3)
- # aws (2)
- # babashka (60)
- # beginners (21)
- # cljs-dev (35)
- # cljsrn (3)
- # clojure (53)
- # clojure-android (2)
- # clojure-australia (3)
- # clojure-europe (45)
- # clojure-france (4)
- # clojure-nl (4)
- # clojure-uk (6)
- # clojurescript (33)
- # core-typed (1)
- # cursive (13)
- # datomic (6)
- # duct (1)
- # emacs (2)
- # fulcro (10)
- # introduce-yourself (3)
- # jobs (2)
- # jobs-discuss (13)
- # leiningen (1)
- # malli (19)
- # missionary (63)
- # music (1)
- # off-topic (21)
- # pathom (3)
- # polylith (18)
- # practicalli (12)
- # proletarian (1)
- # reagent (40)
- # reitit (23)
- # releases (1)
- # remote-jobs (1)
- # ring (14)
- # ring-swagger (1)
- # shadow-cljs (13)
- # sql (30)
- # testing (27)
- # tools-deps (31)
- # vim (10)
- # xtdb (4)
Anyone got a good way of having vim recongise that if you highlight a word, i.e., foo
that it can also highlight the word in foo/bar
currently, when I hilight foo
by itself is highlighted, but if it's part of a (in this case) namespace, i.e., foo/bar
, that foo
doesn't get highlighted
word
defined by iskeyword
characters https://github.com/neovim/neovim/blob/master/runtime/ftplugin/clojure.vim#L20
*
it puts word boundaries around word
i.e. /\<word\>
g*
does not put boundaries i.e. /word
Changing iskeyword
can have some unintended consequences. E.g. vim-fireplace uses the word under the cursor for "jump to definition" (IIRC), but if edn/read-string
is now just read-string
(or just edn
), it doesn't work as expected.
I just got used to doing /<Up><BS><BS>
or /<Up><Home><Del><Del>
to remove \>
or \<
from the search term 🤷