This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-30
Channels
- # aleph (2)
- # announcements (4)
- # babashka (3)
- # beginners (89)
- # calva (12)
- # cljdoc (7)
- # cljsrn (5)
- # clojars (1)
- # clojure (19)
- # clojure-dev (6)
- # clojure-europe (2)
- # clojurescript (12)
- # conjure (7)
- # cursive (4)
- # fulcro (28)
- # graphql (6)
- # gratitude (2)
- # introduce-yourself (2)
- # jobs (1)
- # jobs-discuss (26)
- # off-topic (2)
- # pathom (22)
- # pedestal (2)
- # podcasts-discuss (10)
- # re-frame (9)
- # reitit (8)
- # releases (2)
- # remote-jobs (1)
- # shadow-cljs (1)
- # tools-deps (27)
- # xtdb (11)
So, I rebooted my config using https://github.com/rafaeldelboni/nvim-fennel-lsp-conjure-as-clojure-ide and now I'm not sure about how to use an autocmd to set edn and some other files to filetype clojure. I had autocmd BufNewFile,BufRead *.cljs.hl,*.boot,.joker,.edn,.cljfmt,.cljstyle set filetype=clojure
but I'm not sure about how to do that using fennel.
I did something similar in my personal .dotfiles here: https://github.com/rafaeldelboni/dotfiles/blob/63284fc1ad293b7065565b172be6e7c2634ffbf8/config/nvim/fnl/config/core.fnl#L7 And here: https://github.com/rafaeldelboni/dotfiles/blob/63284fc1ad293b7065565b172be6e7c2634ffbf8/config/nvim/fnl/config/plugin/nerdtree.fnl#L8 Hope it helps
This is great, thanks. I noticed that you don't use augroup. Did that cause any problems?
Never need to use it, but I'm not a vim pro, so maybe I should check it out haha
Well, I use those but I'm not sure what they are for so :man-shrugging: I just tried, it worked. Thanks!
Glad to hear and really happy to help! Have a great day.