diff --git a/coldfusion-plugin.py b/coldfusion-plugin.py index 9786682..bd07876 100644 --- a/coldfusion-plugin.py +++ b/coldfusion-plugin.py @@ -138,8 +138,11 @@ def run(self, edit): for temp in self.view.sel(): tag_name = dic.get_tag_name(self.view, temp.b) - indent = not s.get("auto_indent_on_close") or tag_name == "cfoutput" + #indent = not s.get("auto_indent_on_close") or tag_name == "cfoutput" + indent = not s.get("auto_indent_on_close") + if not indent: + #self.view.insert(edit,temp.b,"\n\t\n") self.view.insert(edit,temp.b,"\n\t\n") else: self.view.insert(edit, temp.b, "")