This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-15
Channels
- # announcements (8)
- # beginners (65)
- # calva (25)
- # cider (11)
- # clj-kondo (9)
- # cljsrn (14)
- # clojure (103)
- # clojure-europe (15)
- # clojure-greece (1)
- # clojure-italy (28)
- # clojure-nl (39)
- # clojure-spec (9)
- # clojure-uk (28)
- # clojuredesign-podcast (37)
- # clojurescript (56)
- # cursive (41)
- # data-science (10)
- # datomic (25)
- # duct (1)
- # emacs (1)
- # events (3)
- # figwheel-main (7)
- # fulcro (9)
- # graalvm (7)
- # graphql (10)
- # jobs (2)
- # nrepl (17)
- # off-topic (40)
- # quil (12)
- # reitit (11)
- # remote-jobs (5)
- # rum (2)
- # shadow-cljs (387)
- # sql (22)
- # tools-deps (8)
- # vim (26)
- # xtdb (47)
- # yada (9)
I can't seem to add anything to lispwords in my neovim's init.vim. Shouldn't setlocal lispwords+=foo
work?
(New codebase indents trys with two spaces and my nvim is creating a lot of noise in commits :/)
Hm, also it seems like after metadata, records are indented oddly. Any way to fix that?
(^void onOpen []
(log/log :on-open nil))
Ah, metadata does not affect that. I guess it somehow considers that to be same as defs?
On futher analysis, this only happens when I open clj files. If I open just a new empty file, the lispwords has updated
I kinda solved it by moving the setting to after/ftplugin/clojure.vim, but I'm a bit confused why. I thought that ftplugin stuff is run right when the plugin is turned on in init.vim (which was before my config).
Do you use swapfiles?
set directory=~/.vim/tmp " Directory for swap/temp files
set nobackup " Don't create backup files
set nowb " Don't create write backups
set noswapfile " Don't create swap files
I’ve been getting annoyed by there constantly being some swapfile despite me not exiting vim in any strange way
Are there any cool hacks to enable backgrounding/foregrounding without needing to remember if there’s already a vim running in the background?
I've been using the above settings in vim for years (and nvim for about a year), and have never had any issues. To be fair, though, I don't <C-z>
vim often.
any recommended plugins to convince vim to autoclose parens, quotes and the like?
i use https://github.com/jiangmiao/auto-pairs worth noting that it (apparently, according to a comment i left in my vimrc 😄 ) doesn't play nice with parinfer, so i disabled it for lisp:
" disable auto-pairs for lisp -- it interferes with parinfer
au Filetype lisp,scheme,clojure,lfe let b:AutoPairs = {}