This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-22
Channels
- # announcements (2)
- # beginners (137)
- # chlorine-clover (13)
- # clj-kondo (3)
- # cljsrn (4)
- # clojure (52)
- # clojure-australia (3)
- # clojure-dev (2)
- # clojure-europe (34)
- # clojure-nl (1)
- # clojure-sg (3)
- # clojure-spec (1)
- # clojure-uk (12)
- # clojurescript (2)
- # clojureverse-ops (7)
- # code-reviews (3)
- # conjure (2)
- # cursive (18)
- # datavis (21)
- # datomic (34)
- # exercism (1)
- # figwheel-main (6)
- # graphql (3)
- # helix (21)
- # introduce-yourself (1)
- # jackdaw (1)
- # jobs (4)
- # jobs-discuss (32)
- # juxt (14)
- # leiningen (6)
- # lsp (35)
- # meander (19)
- # nrepl (2)
- # off-topic (37)
- # portal (40)
- # quil (5)
- # re-frame (45)
- # reagent (10)
- # releases (1)
- # remote-jobs (4)
- # reveal (15)
- # sci (7)
- # shadow-cljs (40)
- # spacemacs (3)
- # tools-build (2)
- # vim (17)
- # xtdb (11)
Is there a way to change the bg color for only a specific buffer? Trying to get an autocmd going to make Conjure log windows stand out a bit more.
my first hunch would be to define a custom mode for the log window, then apply syntax hightlighting rules for that mode
this stackoverflow might help too https://vi.stackexchange.com/questions/29093/how-do-you-change-the-background-color-for-only-one-window
🎉
autocmd BufEnter conjure-log-*.cljc setlocal winhighlight=Normal:CocListWhiteBlack
Thanks for the pointers, @U051SS2EU
there might be a gotcha here if you were to go to that window and :b
a different buffer in it - it would still have the old highlighting right?
maybe your user flow would never do that
Yeah, I just picked the first au event that was "good enough", since I don't know them all that well 🙂
I think that's intrinsically an issue with using an autocmd to set a specific window bg, as opposed to using a custom filetype with custom highlight rules
but I think making a new filetype / highlighting ruleset is probably overengineering here
https://github.com/clojure-vim/async-clj-omni/commit/2987d31382e0189e0ad1fc55b02662248b95df3b nvim-cmp support for fireplace shipped!