oakmac / vscode-parinfer

Parinfer for VS Code
MIT License
167 stars 20 forks source link

Not applying inference on tab #19

Open jeffrpowell opened 6 years ago

jeffrpowell commented 6 years ago

When in indent-mode, both parinfer and this plugin advertise updating the surrounding text as you change the indentation. I can't get it to do that until I move my cursor to a different line or hit the Home or End keys.

VSCode 1.19.1 vscode-parinfer 0.6.1 Clojure 0.9.1 (from Andrey Lisin; not sure if this is really related)

(defn foo [a b])
(+ a b)

When I insert a tab at the beginning of line 2, I get the following

(defn foo [a b])
    (+ a b)

Only after I press an arrow key or press the End key do I get the expected result

(defn foo [a b]
    (+ a b))