Calva: [Bug] single-quote literal breaks the rainbow and paredit

Created on 25 Feb 2020  路  4Comments  路  Source: BetterThanTomorrow/calva

When somewhere a sinle-quote literale like \' is used the paredit and rainbow is broken for this file from this line onwards.

Example function:

(defn test [string-to-escape]
  (map #(str "'" (string/escape % {\' "''"}) "'")
       ["ab" "asc"]))

In VSCode:
image

bug

All 4 comments

Same Issue for this: (Seems to be the "?" in function name)
image

I think I have found a workaround that fixes both these. Will post a VSIX here later today. (Or if @kstehn beats me to it 馃槃 )

I have now found the root of the problem and will try to fix that, rather than employ that workaround.

Please update to v2.0.78. This issue should have been fixed.

Was this page helpful?
0 / 5 - 0 ratings