515 Commits

Author SHA1 Message Date
Yasuhiro Matsumoto
cc8b1a9f22 Fix basevalue access before empty string check in parseIntoTree
l:basevalue[1] was accessed before checking if l:basevalue is empty.
Moved the empty check first so l:basedirect is only computed when
l:basevalue is non-empty.
2026-03-07 16:46:10 +09:00
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
8623326f4c Fix mergeConfig() list merge bug
When merging two lists, l:rhi is a value from iteration (not an index),
so l:rhs[l:rhi] was incorrectly using values as indices. Changed to use
l:rhi directly. Also removed the redundant l:lhs += l:rhs before the
clear-and-rebuild loop.
2026-03-07 16:44:58 +09:00
Yasuhiro Matsumoto
edb1941955 Fix duplicate mergeLines() definition
The second definition without 'range' was overwriting the first one,
causing the visual selection merge to not work properly. Removed the
duplicate and kept the lang-delegating version.
2026-03-07 16:44:38 +09:00
Yasuhiro Matsumoto
7c44caa0e6 Refactoring 2026-03-07 11:08:24 +09:00
Pedro Pozo
56199c129a fix bugemmet.vim
in files with double extension type: "hola.txt.md" it generated an error
it is because you were passing a null to len() that detects if the file does not have an extension len(type)==0
2025-07-14 21:12:24 -04:00
kola
033476412e Change treesitter judgment method 2024-08-10 09:32:53 +08:00
kola
8f1581550d my_utils.lua -> emmet_utils.lua 2024-08-10 09:29:20 +08:00
kola
c5c5188a0b support treesitter 2024-08-09 18:06:47 +08: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
eight04
f960b9bd59 Fix: make updateTag work with tag name 2021-12-04 00:23:16 +08:00
Chris
15216aa849 Add support for javascriptreact and typescriptreact filetypes fixes: #505 2021-03-19 22:19:26 -04: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
Arun
e9033d0d88 fix for #445 2020-03-07 15:11:56 +05:30
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
3f53d7b637 Add mergeLines() 2019-06-20 00:05:36 +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
b7cc3a743f Fix emmet#isExpandable()
Fixes #458
2019-05-23 18:52:17 +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
ae7d31f290 Fixes #452, #448 2019-04-16 00:21:28 +09:00
Yasuhiro Matsumoto
d698f16587 Expand lorem with div only when there is multiplier. 2019-02-11 00:04:31 +09:00
Yasuhiro Matsumoto
eb8a4782ba Fix css 2019-01-29 00:54:17 +09:00
Yasuhiro Matsumoto
5d6870c0af Add ignore_embeded_filetype 2019-01-29 00:15:23 +09:00
Yasuhiro Matsumoto
d99b422a39 Add ignore_embeded_filetype since slim filetype is confusing to html. 2019-01-28 23:59:03 +09:00
Clément DOUIN
313e241932 add support for typescript 2019-01-28 14:21:25 +01:00
Yasuhiro Matsumoto
19e3240bf3 Fix getFileType 2019-01-16 21:57:43 +09:00
mattn
7492853a59 Merge pull request #439 from mattn/fix436
add dot into pattern of attributes
2018-11-09 15:44:46 +09:00
Yasuhiro Matsumoto
88ecfac350 add dot into pattern of attributes
Fixes #436
2018-11-09 15:42:39 +09:00
jpsouzasilva
a33b7273a1 Removes extra spaces at line 523 2018-09-07 22:22:44 -03:00
jpsouzasilva
64656d8d4b Fixes the file identification for JSX 2018-08-30 08:11:50 -03:00
jpsouzasilva
0e20db0cb7 Changes from PR review #1 2018-08-29 13:17:06 -03:00
jpsouzasilva
581ba25bf8 Simplify pattern rules for matching single word syntax naming 2018-08-28 23:55:27 -03:00