Skip to content

Commit

Permalink
fixes #49
Browse files Browse the repository at this point in the history
  • Loading branch information
atomi committed Jun 26, 2012
1 parent 1b8db5d commit 32170d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Coldfusion.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@
</dict>
</dict>
<key>name</key>
<string>meta.tag.block.cf.conditional.cfml source.cfscript.embedded.cfml</string>
<string>meta.tag.inline.cf.conditional.cfml source.cfscript.embedded.cfml</string>
<key>patterns</key>
<array>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion coldfusiontagcompletions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run(self, edit):
print tagdata
tagname = tagdata[0]

if self.view.match_selector(sel.end(),"meta.tag.block.cf"):
if self.view.match_selector(sel.end(),"meta.tag.block.cf") and tagname.find("/") == -1:
if not tagname[-1] == ">":
tagname = tagname + ">"
if not SETTINGS.get("auto_indent_on_close") or tagname == "cfoutput>":
Expand Down

0 comments on commit 32170d5

Please sign in to comment.