Skip to content

Commit

Permalink
prevents cfoutput from auto-indenting on tag close
Browse files Browse the repository at this point in the history
  • Loading branch information
atomi committed Jun 25, 2012
1 parent bc36329 commit 1b8db5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coldfusiontagcompletions.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run(self, edit):
if self.view.match_selector(sel.end(),"meta.tag.block.cf"):
if not tagname[-1] == ">":
tagname = tagname + ">"
if not SETTINGS.get("auto_indent_on_close"):
if not SETTINGS.get("auto_indent_on_close") or tagname == "cfoutput>":
self.view.run_command("insert_snippet", {"contents": "$0</" + tagname})
else:
self.view.run_command("insert_snippet", {"contents": "\n\t$0\n</" + tagname})
Expand Down

0 comments on commit 1b8db5d

Please sign in to comment.