How to use vimclojure and SLIMV together?

Both add-ons have good sides, SLIMV has better REPL (faster than vimclojure REPL), but vimclojure's indentation and syntax stand out better (also, vimclojure syntax coloring works in REPL as well). And vimclojure embroidery is better. For example, this is SLIMV indentation for a function:

(defn func []) 

And this is vimclojure's:

 (defn func []) 

I am trying to use both plugins with the good sides of each of them. I need syntax coloring in SLIMV REPL and vimclojure indentation. Do you have any idea how I can do this?

+6
source share
1 answer
  • You can replace the Slimv indent plugin in vimfiles / indent with whatever you want (so I think with the Vimclojure indent plugin).
  • You can also replace the syntax plugin in Slimv with vimfiles / syntax (in fact, there is no special syntax plugin, it uses the built-in Vim lisp.vim).
  • You can enable syntax coloring in the Slimv REPL buffer with this command in your .vimrc: let g:slimv_repl_syntax = 1
  • ... and I will fix the indentation problem that you mentioned in Slimv :)
+7
source

Source: https://habr.com/ru/post/891795/


All Articles