aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rebind emmet-wrap-with-markup under ‘C-c C-c w’Vladimir Sedach2018-03-291-4/+3
| | | | | | | | | | | | elisp manual 22.2.1 Major Mode Conventions: “The key sequences bound in a major mode keymap should usually start with ‘C-c’, followed by a control character, a digit, or ‘{’, ‘}’, ‘<’, ‘>’, ‘:’ or ‘;’. The other punctuation characters are reserved for minor modes, and ordinary letters are reserved for users.” ‘C-c C-c’ is already a prefix map for sgml-mode, the ‘w’ fits nicely there without a conflict.
* Merge pull request #84 from Fuco1/feature/online-previewShin Aoyama2016-11-141-1/+29
|\ | | | | Add emmet-preview-mode
| * Add emmet-preview-modeMatus Goljer2016-11-121-1/+29
|/
* Merge pull request #82 from pobocks/issue_81William David Mayo ("Dave")2016-09-063-34/+69
|\ | | | | | | | | Added multi-line * wrap functionality as per #81 With a multi-line region, expanding something like `div>ul>li*` will wrap each line in the terminating *'d expression.
| * Fix regression in regular multiplier handlingDave Mayo2016-09-063-6/+13
| | | | | | | | | | | | Previous commit borked regular multplied markup, this one doesn't. Also, tests were there!
| * Implement token-replacement in new wrap * functionDave Mayo2016-09-062-32/+46
| | | | | | | | | | | | | | | | | | It itched at me, so I cleaned it up and rewrote to make it do the token replacement. Would be more performant to do the sha1 once, but realistically, it's not going to be meaningfully slow for the use-case. This is essentially complete, but needs tests - I'll add them as soon as I can get testing working on my computer.
| * Added multi-line * wrap functionality as per #81Dave Mayo2016-09-062-16/+30
|/ | | | | | | | | | | | | | | | This is a proof-of-concept - it needs to do the token-replacement jazz the original version did, because right now this will fail if the content of the txt/lines includes unmatched braces in various configurations. I think the overall plan is sound: split expression into leading and terminal components, render the text as a list (either a one-element list of all text or a multiline list, depending on trailing *), and create a terminal phrase consisting of "terminal-element{TOKEN}" joined on "+" To do: render list into a-list of '((hash-of-txt . txt), ...), mapconcat the hash replacement instead of the text, then run replace over result. Write tests. Also, tests appear to be broken on master, at least on my machine.
* Update README.md to remove unmet escape.Shin Aoyama2016-05-021-2/+2
|
* Updated README.mdsmihica2016-05-021-0/+7
|
* Merge pull request #75 from dochang/custom-self-closing-tagsShin Aoyama2016-05-024-2/+71
|\ | | | | Add self-closing tags style customization
| * Add self-closing tags style customizationDesmond O. Chang2016-05-024-2/+71
|/ | | | | People use different styles in different projects. Allow user to customize it.
* Fixed end comment position.smihica2015-12-142-1/+2
|
* Merge pull request #70 from Seeq/masterShin Aoyama2015-12-141-1/+2
|\ | | | | fixes #69
| * move 'emmet-mode.el ends here' to the bottom of fileCody2015-12-131-1/+2
|/
* Added JSX's test and document.smihica2015-10-064-4/+31
|
* Merge pull request #67 from CestDiego/masterShin Aoyama2015-10-061-1/+7
|\ | | | | Add jsx support for className
| * Add jsx support for classNameDiego Berrocal2015-10-051-1/+7
|/
* Fixed bug #65smihica2015-09-253-20/+27
|
* Merge pull request #62 from smihica/issue_61William David Mayo ("Dave")2015-04-105-12/+26
|\ | | | | Refs #61 - Escape using backslash inside { text }
| * Refs #61 - Escape using backslash inside { text }Dave Mayo2015-04-105-12/+26
|/ | | | | | | | | | This fixes half the problem specified in #61. The doc change is technically inaccurate - opening brackets don't actually NEED to be escaped - p{{\}} works as well as p{\{\}}. But they CAN be escaped, so I used the most regular version. The part that is NOT fixed is that a | character, escaped or not, will prevent the expression from being parsed AT ALL.
* Added support statement indicating that we support 23+Dave Mayo2015-01-221-1/+5
|
* Usual order of multiple modifier keys in emacs doc is C-M. Pedantic!Dave Mayo2015-01-181-2/+2
|
* Merge pull request #57 from weih/masterWilliam David Mayo ("Dave")2015-01-181-2/+2
|\ | | | | typo in README.md - still needs some attention, which I'm about to give it
| * typo in README.mdHao Wei2015-01-181-2/+2
|/
* Attempt at resolving #56Dave Mayo2014-12-222-2/+2
| | | | skip-chars-forward does not take a regexp, it takes a pseudo-char-class string.
* Fixes #52 - changes default setting for preview to nilDave Mayo2014-11-262-2/+2
|
* Merge pull request #55 from pobocks/issue_54William David Mayo ("Dave")2014-11-263-12/+36
|\ | | | | Fixes #54 - Uses looking-back to check if there is a tag immediately pre...
| * Fixes #54 - Uses looking-back to check if there is a tag immediately ↵Dave Mayo2014-11-263-12/+36
|/ | | | preceding in cases where ">" is before-char
* Merge pull request #53 from ajschumacher/patch-1William David Mayo ("Dave")2014-11-251-1/+1
|\ | | | | typo: "expandin" -> "expanding"
| * typo: "expandin" -> "expanding"Aaron Schumacher2014-11-251-1/+1
|/
* Merge pull request #51 from pobocks/issue_50William David Mayo ("Dave")2014-11-142-3/+10
|\ | | | | Fixes #50 - Checks start of region for flash after insert.
| * Fixes #50 - Checks start of region for flash after insert.Dave Mayo2014-11-142-3/+10
|/
* Avoid warning messagessmihica2014-10-266-571/+591
|
* Wrap with markup now leaves cursor at edit point.Dave Mayo2014-10-232-4/+10
|
* Make never run for fix in commit 1b5517ec15803addb5322df615a70640bb3ea617Dave Mayo2014-10-141-1/+2
|
* Merge branch 'master' of github.com:smihica/emmet-modeflyingleafe2014-10-011-1/+2
|\
| * Merge pull request #48 from XeCycle/masterDmitry Mukhutdinov2014-10-011-1/+2
| |\ | | | | | | Fix error when accepting the expansion.
| | * Fix error when accepting the expansion.Carl Lei2014-10-011-1/+2
| |/
* | Fixed stack overflow error while checking for style tag and attrflyingleafe2014-10-013-16/+66
| |
* | Merge branch 'master' of github.com:smihica/emmet-modeflyingleafe2014-09-033-6/+78
|\|
| * Merge pull request #46 from pobocks/wrap_with_markupWilliam David Mayo ("Dave")2014-08-283-6/+78
| |\ | | | | | | Wrap with markup
| | * Wrap using token replacement, handles multiline. Test for multiline.Dave Mayo2014-08-283-31/+14
| | |
| | * Tests for escape and multiplier.Dave Mayo2014-08-253-10/+57
| | |
| | * Functional wrap-with-markup!Dave Mayo2014-08-252-6/+8
| | |
| | * WIP - Needs escaping figured out or avoidedDave Mayo2014-08-252-0/+30
| | |
| | * Make emmet-next-edit-point respect "emmet-move-cursor-between-quotes"Dave Mayo2014-08-242-6/+16
| |/
* | Merge branch 'master' of github.com:smihica/emmet-modeflyingleafe2014-08-270-0/+0
|\|
| * Merge pull request #44 from pobocks/pr_43_cleanupWilliam David Mayo ("Dave")2014-08-242-14/+40
| |\ | | | | | | Pr 43 cleanup
| | * Fixed single quotes in style attrflyingleafe2014-08-242-8/+8
| | |
| | * Added support of CSS snippets expanding inside style tags and attrsflyingleafe2014-08-242-14/+40
| |/ | | | | | | | | | | Conflicts: emmet-mode.el src/mode-def.el