Commit Graph

175 Commits

Author SHA1 Message Date
Yasuhiro Matsumoto fbb61e7ef2 Use shellescape() for external commands to prevent command injection
File paths passed to system() via xxd and identify were using manual
double-quote wrapping instead of shellescape(), which could allow
command injection with specially crafted filenames.
2026-03-07 16:45:56 +09:00
Yasuhiro Matsumoto 7c44caa0e6 Refactoring 2026-03-07 11:08:24 +09:00
Yasuhiro Matsumoto 3fb2f63799 support avif for image encode/decode 2024-06-14 23:09:53 +09:00
eight04 f4c999bdf2 Fix: updateTag doesn't support hyphen 2021-12-04 22:28:25 +08:00
gitusp f8e6431776 Add support for CSS in JS annotations like css` and styled.*` 2020-10-19 10:34:50 +09:00
Yasuhiro Matsumoto dc6cb4fd07 Remove atttribues with setting v:null in default_attributes 2020-06-21 00:27:03 +09:00
grohiro e4d9455d5a Fix updateTag with boolean attr 2020-05-04 01:18:35 +09:00
Yasuhiro Matsumoto 15ef997d4d Implement imageEncode on CSS 2019-06-24 23:35:52 +09:00
Yasuhiro Matsumoto f4afd031a3 Fix next item in CSS 2019-06-24 23:20:54 +09:00
Yasuhiro Matsumoto 5a7c7930c6 Fix mergeLines() 2019-06-20 00:32:53 +09:00
Yasuhiro Matsumoto 9f854c868e Add mergeLines() 2019-06-20 00:02:06 +09:00
Yasuhiro Matsumoto 6ee9d6d417 rename 2019-06-19 23:39:03 +09:00
Yasuhiro Matsumoto 685359e892 Merge branch 'master' of https://github.com/mattn/emmet-vim 2019-06-19 14:56:36 +09:00
Yasuhiro Matsumoto b9f1ae467b Fix remove tag 2019-06-19 01:39:37 +09:00
Yasuhiro Matsumoto 32dd6d3064 Fix split/join tag 2019-06-19 01:08:51 +09:00
Yasuhiro Matsumoto 50b44d90c9 Fix hang-up while split/join tag 2019-06-19 00:46:33 +09:00
Yasuhiro Matsumoto 7b08b89d7d Implement image encode 2019-06-18 15:44:00 +09:00
Yasuhiro Matsumoto d02023cd7a Fix unit expanding 2019-06-18 03:56:28 +09:00
Yasuhiro Matsumoto 6039842751 Fix unit expanding 2019-06-18 03:49:40 +09:00
Yasuhiro Matsumoto dad174f359 auto is not unit name 2019-06-18 03:25:51 +09:00
Yasuhiro Matsumoto 47c28892d9 Fix unit expanding 2019-06-18 03:22:31 +09:00
Yasuhiro Matsumoto 192d22fe69 Handle ex 2019-06-18 03:10:06 +09:00
Yasuhiro Matsumoto 24fbb0aef7 Fix move next/prev 2019-06-07 15:18:29 +09:00
Yasuhiro Matsumoto 6a6dc6e093 Fix balance tag 2019-05-19 23:26:36 +09:00
Martin Pedersen f8fc806a61 get extends recursively, minor additional fixes for pug and jsx 2019-05-09 01:14:00 +02:00
Yasuhiro Matsumoto d698f16587 Expand lorem with div only when there is multiplier. 2019-02-11 00:04:31 +09:00
Yasuhiro Matsumoto 88ecfac350 add dot into pattern of attributes
Fixes #436
2018-11-09 15:42:39 +09:00
Yasuhiro Matsumoto 63c98d801b Merge branch 'master' of https://github.com/mattn/emmet-vim 2018-08-07 16:05:04 +09:00
Yasuhiro Matsumoto 645258ddd4 element configuration should be overridable
Fixes #432
2018-08-07 16:03:23 +09:00
Yasuhiro Matsumoto 2ac3648bc8 fix custom expanding
closes #429
2018-08-06 22:31:34 +09:00
Yasuhiro Matsumoto 3fb134b503 fix finding begining of token
closes #428
2018-07-19 01:02:57 +09:00
Yasuhiro Matsumoto dcf8f6efd8 treat foo. as boolean attributes
closes #426
2018-07-13 12:56:55 +09:00
Yasuhiro Matsumoto e7dd13a750 fix custom tag 2018-07-13 12:01:46 +09:00
Yasuhiro Matsumoto f5b185e3a2 fix zero origin base value
closes #420
2018-05-21 10:39:09 +09:00
Yasuhiro Matsumoto fb31b5dbb6 make child node if current node have a name already
related #272
2018-05-02 14:29:53 +09:00
Yasuhiro Matsumoto 1ba2eb67fb fix attribute pattern 2018-04-25 11:15:55 +09:00
Yasuhiro Matsumoto 40c89e5415 handle inner []
closes #412
2018-04-25 10:32:16 +09:00
Yasuhiro Matsumoto 06b4cda774 expand local variables in custom snippets.
closes #414
2018-04-25 10:03:38 +09:00
Yasuhiro Matsumoto c7923d1ec4 fix #389 2017-12-07 00:13:48 +09:00
hpate-omicron 4b4e68ae1d Fix #382 - Multiple class name expansion with Elm
This change makes the multiple class name expansion work correctly in Elm.

```
div.one.two.three
```

Becomes
```
    div [ class "one two three" ] []
```

Previously you would get
```
    div [ class "one.two.three" ] []
```
https://github.com/mattn/emmet-vim/issues/382
2017-08-16 09:52:32 -04:00
Yasuhiro Matsumoto 230f41e55b handle attribute in join-tag
close #379
2017-07-13 01:47:17 +09:00
Yasuhiro Matsumoto 94261d6515 handle name={{width: 300px}}
close #377
2017-06-22 22:32:30 +09:00
Yasuhiro Matsumoto aa801bc9b7 add block_all_childless
close #270
2017-06-13 18:10:16 +09:00
Yasuhiro Matsumoto 2247b1f457 fix indentation 2017-06-01 22:42:47 +09:00
Yasuhiro Matsumoto 6c38fe86c1 remove debug code 2017-05-16 17:07:20 +09:00
Yasuhiro Matsumoto 956f1b0b43 try to find short name in css snippets
close #371
2017-05-16 17:06:55 +09:00
Florian Schroedl Home d6e093d441 Add viewport units to expansion 2017-03-29 17:35:23 +02:00
Michael Bøcker-Larsen 5b217264dd Minimal elm lang support #356 2016-12-07 00:04:49 +09:00
Yasuhiro Matsumoto 1a9c1493ab Fixes #355 2016-11-30 14:05:39 +09:00
Xu Deng dfff6672c6 fix while loop, #351 2016-11-09 20:02:15 -05:00