Yasuhiro Matsumoto
9cd8a85ffb
Revert "CI: test only with Vim head, remove skip workarounds"
...
Test / test (head) (push) Has been cancelled
This reverts commit 8447f060ad .
2026-03-20 23:20:15 +09:00
Yasuhiro Matsumoto
8447f060ad
CI: test only with Vim head, remove skip workarounds
2026-03-20 23:18:43 +09:00
Yasuhiro Matsumoto
497a025f14
CI: test only with Vim head
2026-03-20 23:18:11 +09:00
Yasuhiro Matsumoto
809e4249d6
Skip visual/input tests in ex mode for CI compatibility
...
Tests requiring visual mode or input() cannot run in -e -s mode.
Skip them gracefully instead of failing.
2026-03-20 23:15:27 +09:00
Yasuhiro Matsumoto
96c35359b9
Update CI to test with Vim 9.1 instead of 9.0
2026-03-20 23:10:59 +09:00
Yasuhiro Matsumoto
bae30d2ae4
Convert tests from custom unittest.vim to vim-themis format
...
- Use vimspec style (Describe/It/End) instead of basic suite style
- Setup helpers via .themisrc with ExpandWord/ExpandInBuffer globals
- Fix linear-gradient test expected value (0 100% is correct output)
- All 182 tests pass
2026-03-20 23:08:50 +09:00
Yasuhiro Matsumoto
74be26b7a0
Add GitHub Actions workflow for vim-themis tests
2026-03-20 22:49:31 +09:00
Yasuhiro Matsumoto
21af7f3e2c
Convert tests from custom unittest.vim to vim-themis format
...
- Add .themisrc to set up runtimepath for test helpers
- Add test helper in test/autoload/themis/helper/emmet.vim
- Add test files: html, css, haml, slim, others (xsl/xsd/mustache/scss/jade/pug/jsx)
- Update Makefile to use vim-themis (old target preserved as test-old)
- All 181 test cases from unittest.vim are covered
2026-03-20 22:47:52 +09:00
Yasuhiro Matsumoto
a4d8b71bf7
Refactor emmet.vim: extract duplicated expand/filter logic
...
- Extract parse+toString loop into s:expandItems()
- Extract HTML escape filter into s:applyEscapeFilter()
- Apply to expandAbbr() (3 sites) and expandWord() (1 site)
2026-03-20 22:17:44 +09:00
Yasuhiro Matsumoto
3c17b27664
Refactor util.vim: extract duplicated logic into helper functions
...
- Extract header/body split logic into s:splitHeaderBody()
- Extract file-to-hex reading logic into s:resolveAndReadHex()
- Simplify setContent() by unifying three near-identical branches
2026-03-20 22:16:47 +09:00
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
mattn
e983971449
Merge pull request #566 from mmppppss/master
...
fix bug in len() invalid
2025-07-15 11:44:13 +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
mattn
6c511a8d7d
Merge pull request #558 from kola-web/master
...
support treesitter
2024-08-10 11:07:49 +09: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
mattn
def5d57a1a
Merge pull request #533 from eight04/dev-update-tag-name
...
Fix: make updateTag work with tag name
2021-12-05 00:38:44 +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
mattn
1b7e460de0
Merge pull request #523 from snxx-lppxx/master
...
Update README.mkd
2021-09-30 23:47:58 +09:00
snxx
f0df5fa676
Update README.mkd
2021-09-30 19:26:28 +05:00
mattn
baf5546734
Merge pull request #492 from nhooyr/master
...
Make mappings silent by default
2021-09-30 00:57:53 +09:00
mattn
58e24035cc
Merge pull request #514 from thecodemensch/master
...
Update README.mkd for responsive snippet
2021-09-30 00:46:54 +09:00
mattn
4ea41b2cba
Merge pull request #522 from skylarmb/patch-1
...
Update README.mkd
2021-09-30 00:44:43 +09:00
snxx
f2a80ddfa2
Update README.mkd
2021-09-29 00:03:02 +05:00
snxx
413fb145fe
Update README.mkd
2021-09-29 00:01:22 +05:00
Skylar
8b079dcf6e
Update README.mkd
...
Fixes broken github pages links. github.com urls for github pages sites are deprecated as of earlier this year and should be replaced with github.io
2021-09-08 09:17:29 -07:00
Yasuhiro Matsumoto
46e60676f2
Add note
...
Closes #148
2021-04-17 21:42:11 +09:00
mattn
1f5daf6810
Merge pull request #515 from ChristianChiarulli/master
...
Support javascriptreact and typescriptreact filetypes fixes : #505
2021-03-20 21:22:08 +09:00
Chris
15216aa849
Add support for javascriptreact and typescriptreact filetypes fixes : #505
2021-03-19 22:19:26 -04:00
Ibrahim
209220ee02
Updated README.mkd for responsiveness snippet
2021-03-03 12:34:22 +05:30
ibrahim
fc547c48a8
Added meta tag for responsiveness.
2021-03-02 16:31:33 +05:30
Yasuhiro Matsumoto
60930a968d
Fix syntax
2020-10-22 08:22:30 +09:00
mattn
8255d7d0b9
Merge pull request #502 from mattn/use-autocmd
...
Use autocmd to apply syntax styledEmmetAbbreviation
2020-10-20 18:23:42 +09:00
Yasuhiro Matsumoto
9c526a43d6
Use autocmd to apply syntax styledEmmetAbbreviation
2020-10-20 17:36:24 +09:00
mattn
a46a282c5e
Merge pull request #501 from gitusp/support-styled-components
...
Support CSS in JS syntax
2020-10-19 12:20:26 +09:00
gitusp
f8e6431776
Add support for CSS in JS annotations like css` and styled.*`
2020-10-19 10:34:50 +09:00
Anmol Sethi
1533dd03a1
Make mappings silent by default
...
Closes #361
2020-07-29 12:19:11 -04:00
Yasuhiro Matsumoto
dc6cb4fd07
Remove atttribues with setting v:null in default_attributes
2020-06-21 00:27:03 +09:00
mattn
76285f8ec4
Merge pull request #484 from grohiro/boolean_attr
...
Fix updateTag() boolean attribute
2020-05-04 11:03:35 +09:00
grohiro
e4d9455d5a
Fix updateTag with boolean attr
2020-05-04 01:18:35 +09:00
mattn
c7643e5b61
Merge pull request #477 from zorro/fix445
...
fix for #445
2020-03-07 20:01:46 +09:00
Arun
e9033d0d88
fix for #445
2020-03-07 15:11:56 +05:30
mattn
5f559fae12
Update FUNDING.yml
2019-10-08 17:37:10 +09:00