This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-12
Channels
- # beginners (102)
- # boot (5)
- # cider (1)
- # cljs-dev (15)
- # cljsjs (1)
- # cljsrn (20)
- # clojure (104)
- # clojure-austin (1)
- # clojure-europe (8)
- # clojure-italy (39)
- # clojure-nl (17)
- # clojure-spec (38)
- # clojure-uk (23)
- # clojurescript (34)
- # cursive (31)
- # data-science (5)
- # datomic (3)
- # emacs (28)
- # joker (1)
- # kaocha (5)
- # klipse (1)
- # leiningen (1)
- # off-topic (66)
- # quil (4)
- # reagent (35)
- # ring-swagger (1)
- # rum (1)
- # shadow-cljs (121)
- # test-check (1)
- # tools-deps (33)
- # uncomplicate (2)
- # vim (15)
- # yada (1)
Hi, I have been using vim for over a decade now and I am ashamed to say that I've never contributed to any plugins of any sort. In fact, before I discovered clojure, my vimrc was so tiny and the list of plugins I've used was very minimal. But now with clojure and its repl development approach, I feel the need for my editor to have a more symbiotic interaction with the programming language I'm using... Any particular reason, in that regard, that some of you switched to neovim? Was that before vim 8 and the lack of async support? Or is it something definitely worth considering for a typical (which I believe I am) vim user?
Late reply, but I didn't see anyone mention this: neovim has an excellent (once you add some plugins to it) built-in terminal. I don't need to use tmux with vim anymore, since I can do all that inside neovim now.
I hopped on to the Neovim train just because it seemed it's going to be the "future" of Vim - more features, active development... It's a drop-in replacement for the original so the switch was pretty effortless. Gave it a try and haven't looked back since.
Remote plugins, floating windows and the msgpack RPC interface sold it for me as someone who wanted to build true async plugins in any language I wanted. (still waiting for floating windows to land in stable) - also virtual text is 💯 I use it to display documentation as I type - oh and being able to write plugins in Lua!
@olical Yes I must admit the RPC interface is appealing... I'll try a switch today or tomorrow. Why Lua rather than vimscript? Is vimscript really bad?
I mean, I've used Vim for a long time now and it has never really grown on me. I even owned a hardback "Learn Vim Script the Hard Way" book! The Lua executes faster and is much easier to understand / work with.
My plugin is written in Clojure but the overhead of the msgpack RPC can be too much for some interactions, I get to write those in Lua then just execute a Lua function over the RPC interface. Best of both worlds!
Complex functions in Lua are much easier to understand but I would argue that VimL is still better as a DSL for creating buffers or configuring things.