html editor: press enter add like 20 tabs to the new line

46 views
Skip to first unread message

cesar pachon

unread,
Mar 18, 2015, 2:40:43 PM3/18/15
to light-table...@googlegroups.com
hi, editing an HTML file, if I write <script> and then press enter to write </script>, the closing tab is prefixed by a large amounts of tabs, like 20..
how can I change that?

this is my user.behaviors file:

[
 ;; The app tag is kind of like global scope. You assign behaviors that affect
 ;; all of Light Table to it.
 [:app :lt.objs.style/set-skin "dark"]
 [:app :lt.objs.plugins/load-js "user_compiled.js"]


 ;; The editor tag is applied to all editors
 [:editor :lt.objs.editor/no-wrap]
 [:editor :lt.objs.style/set-theme "default"]
 [:editor :lt.objs.editor/line-numbers]

 ;; Here we can add behaviors to just clojure editors
 [:editor.clojure :lt.plugins.clojure/print-length 1000]

 [:editor.html :lt.objs.editor/tab-settings true 4 2]


 ;; Behaviors specific to a user-defined object
 [:user.hello :lt.plugins.user/on-close-destroy]

 ;; To subtract a behavior, prefix the name with '-' e.g.
 ;;  [:app :-lt.objs.intro/show-intro]
]
Reply all
Reply to author
Forward
0 new messages