aboutsummaryrefslogtreecommitdiffstats
path: root/src/html-abbrev.el
diff options
context:
space:
mode:
authorShin Aoyama <smihica@gmail.com>2016-05-02 03:51:14 +0900
committerShin Aoyama <smihica@gmail.com>2016-05-02 03:51:14 +0900
commit355e01a29208d066a52f962fc81075d0fc882b58 (patch)
tree95a03e7145b55da8e7d9d9e10467ea2d0f743766 /src/html-abbrev.el
parent3a29a1ae17271a3dfe3cd47db034ee4036b2b144 (diff)
parent94361c0ba7a3e454b021306742585e9df44f29ad (diff)
downloademmet-mode-355e01a29208d066a52f962fc81075d0fc882b58.tar.lz
emmet-mode-355e01a29208d066a52f962fc81075d0fc882b58.tar.xz
emmet-mode-355e01a29208d066a52f962fc81075d0fc882b58.zip
Merge pull request #75 from dochang/custom-self-closing-tags
Add self-closing tags style customization
Diffstat (limited to 'src/html-abbrev.el')
-rw-r--r--src/html-abbrev.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html-abbrev.el b/src/html-abbrev.el
index 6686bea..ad53474 100644
--- a/src/html-abbrev.el
+++ b/src/html-abbrev.el
@@ -572,7 +572,8 @@
(block-indentation? (or content-multiline? (and block-tag? content)))
(lf (if block-indentation? "\n")))
(concat "<" tag-name id classes props
- (if self-closing? "/>"
+ (if self-closing?
+ (concat emmet-self-closing-tag-style ">")
(concat ">"
(if tag-txt
(if block-indentation?