lighttableparedit

Light Table : parentheses are not auto-closing


I'm trying to edit Clojure/ClojureScript files on Light Table with paredit, but the Plugin does not seem to work. When I open a parenthesis, it is not closed.

However the plugin is installed as shows the plugins list.

Have I missed some configuration step, or is it a bug?

(At the time of writing, I just installed the last version and have not touched the config).


Solution

  • Since version 0.7.0, auto-closing parens are no longer the default, because of some issues with international keyboards apparently. It is mentioned in this closed issue, as well as in the FAQ.

    What I needed to do was add this form to the User behaviors configuration:

    [:app :lt.objs.settings/pair-keymap-diffs]
    

    To do so, I followed these steps:

    1. Ctrl-Space to open Commands
    2. Type "user behaviors" and click the proposed command
    3. This open a file that you can edit to add the above snippet.