This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-04
Channels
- # announcements (13)
- # beginners (51)
- # boot (3)
- # calva (10)
- # cider (20)
- # clj-kondo (55)
- # cljs-dev (60)
- # clojure (99)
- # clojure-europe (6)
- # clojure-gamedev (9)
- # clojure-italy (19)
- # clojure-nl (7)
- # clojure-spec (20)
- # clojure-uk (42)
- # clojurescript (96)
- # clojurex (37)
- # clojutre (1)
- # cursive (37)
- # data-science (2)
- # datomic (15)
- # defnpodcast (9)
- # duct (7)
- # emacs (6)
- # events (9)
- # fulcro (124)
- # jackdaw (4)
- # jobs (4)
- # leiningen (9)
- # malli (7)
- # mount (3)
- # off-topic (109)
- # other-languages (8)
- # re-frame (39)
- # reagent (4)
- # reitit (6)
- # remote-jobs (2)
- # rewrite-clj (36)
- # ring (4)
- # shadow-cljs (16)
- # spacemacs (16)
- # tools-deps (91)
- # vim (8)
- # yada (2)
thanks for the fugitive and fireplace help @dominicm @hybas3 @roelants.sam — I guess I should learn a bit more about the vim-sexp text objects…
$ cat ftplugin/vim.vim
autocmd FileType vim setlocal foldmethod=marker
I tried using an ftplugin file as described here (https://vimways.org/2018/from-vimrc-to-vim/) but when I open a vim file and try to fold anything it says “no folds found”. The file above is listed in :scriptnames
and doing :set ft=vim
folds everything — does that make sense to anyone?sweet, thanks!
Here’s the tree-sitter StrangeLoop talk btw: https://www.youtube.com/watch?v=Jes3bD6P0To — pretty cool stuff!