clj-suitable icon indicating copy to clipboard operation
clj-suitable copied to clipboard

js detection - refinements

Open vemv opened this issue 1 year ago • 0 comments

A possible refinements for https://github.com/clojure-emacs/clj-suitable/pull/36 that I thought of:

  • If any element within the -> chain starts with ., then consider that the operand is js, not cljs, no matter what
  • use cider.nrepl.middleware.util.cljs/grab-cljs-env for checking if a given symbol corresponds to a js ("string") require

vemv avatar Jul 24 '23 08:07 vemv