rktjmp / hotpot.nvim

:stew: Carl Weathers #1 Neovim Plugin.
MIT License
357 stars 9 forks source link

Add region to reflect #95

Closed rktjmp closed 5 months ago

rktjmp commented 1 year ago

Given

(fn a [] :a)

(fn b [] :b)

(fn c [] :c)

(print (a) (c))

You must add the entire region to test (print (a) (b)) which can be frustrating in large files or contexts (mostly around module-wide imports).

Allow adding non-contiguous regions to reflects evaluator, so that this would be possible

+ (fn a [] :a)

(fn b [] :b)

+ (fn c [] :c)
+
+ (print (a) (c))

Bonus: add regions from other files?