This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-09
Channels
- # aleph (1)
- # announcements (4)
- # asami (6)
- # babashka (45)
- # beginners (19)
- # biff (3)
- # calva (35)
- # cider (4)
- # clojars (5)
- # clojure (117)
- # clojure-art (3)
- # clojure-denmark (2)
- # clojure-europe (89)
- # clojure-gamedev (5)
- # clojure-nl (4)
- # clojure-norway (17)
- # clojure-spec (3)
- # clojure-uk (5)
- # clojurescript (84)
- # conjure (13)
- # datomic (11)
- # emacs (2)
- # figwheel (2)
- # fulcro (16)
- # graphql (5)
- # honeysql (7)
- # introduce-yourself (1)
- # lsp (86)
- # malli (16)
- # music (1)
- # off-topic (2)
- # pathom (14)
- # polylith (28)
- # re-frame (11)
- # reagent (23)
- # releases (1)
- # reveal (19)
- # shadow-cljs (72)
- # spacemacs (13)
- # sql (1)
- # test-check (3)
- # timbre (4)
- # tools-deps (45)
- # vim (18)
anyone has a hint on how to highlight matching brackets? I want it to highlight the one matching bracket of the bracket I have my cursor on, no rainbow, only some kind of highlight like bolden the matching bracket.
Vim has the matchparen plugin included by default. You should already have matching parentheses highlighted. Maybe your color scheme does not set the MatchParen
highlight? See :help matchparen
for details.
@U4GEXTNGZ i think if you remove https://github.com/TimoKramer/dotfiles/blob/stow/nvim/.config/nvim/lua/disable_builtins.lua#L12 it should work 😄
I have a project deployed on Heroku but using deps.edn so it requires an almost empty project.clj
file (from lein). I'm now getting this error every time I go into the project:
[coc.nvim] Classpath lookup failed when running `lein with-profile +test,+dev classpath`. Some fe
atures may not work properly. Error:
(Side note: I don't know how to see that full error message from the statusline. :messages
just repeats that truncated error message at the bottom)
I'm not sure why coc.nvim is trying to run that lein command or how to fix that.Maybe try set verbose=10
(or some lower value) to see more of the message. :CocInfo
could be helpful too.
Will do. Of course now it's not doing it anymore even though it did it every time for the last few days. lol story of my debugging life
The tools probably presume the file in format:
(defproject project-name "version" :min-lein-version "...")
Just bare edn map isn't really a valid project.clj file
clojure-lsp is making that call to find your classpath. The class path scanning was part of a recent release which is probably why you are seeing it now. It can be disabled https://clojure-lsp.io/settings/#source-paths-discovery
You should be able to override the default project-specs
to some command that can return a classpath for the project. https://clojure-lsp.io/settings/#classpath-scan
Ok. How do I change this example code given to look at both deps.edn
and shadow-cljs.edn
(while ignoring the project.clj
)?
{:project-specs [{:project-path "deps.edn"
:classpath-cmd ["clojure" "-A:my-custom-alias" "-Spath"]}]}
Do I change the input to project-path
to a vector? What alias am I using?Actually I just fleshed out the project.clj
as suggested above and since the docs say it just uses the classpaths it finds from all sources I think that should solve it, right?
I've used an empty project.clj file to tell Heroku it's a Clojure project. Although I haven't tested that with nvim or CoC yet