100 Commits
Author SHA1 Message Date
mattn 92ef2f74f4 Merge pull request #569 from Dosx001/master
Test / test (head) (push) Has been cancelled
fix: replace deprecated treesitter call
2026-03-24 17:18:49 +09:00
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
mattn 6c511a8d7d Merge pull request #558 from kola-web/master
support treesitter
2024-08-10 11:07:49 +09: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
mattn 1b7e460de0 Merge pull request #523 from snxx-lppxx/master
Update README.mkd
2021-09-30 23:47:58 +09: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
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
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
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
mattn c7643e5b61 Merge pull request #477 from zorro/fix445
fix for #445
2020-03-07 20:01:46 +09:00
mattn 5f559fae12 Update FUNDING.yml 2019-10-08 17:37:10 +09:00
mattn 10b3746ecb Merge pull request #468 from r6eve/fix/minor-typo
Fix minor typo
2019-08-27 18:25:18 +09:00
Yasuhiro Matsumoto 37203af2b3 Add LICENSE 2019-08-27 15:06:44 +09:00
mattn 461700696e Merge pull request #462 from baxter2/installation-pathogen
explicit installation instructions for pathogen
2019-07-24 15:34:43 +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 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
mattn 0414b53a23 Update FUNDING.yml 2019-05-23 23:51:11 +09:00
mattn 369a5420f0 Update FUNDING.yml 2019-05-23 23:49:26 +09:00
mattn 456d094ef3 Create FUNDING.yml 2019-05-23 23:43:41 +09:00
mattn 633320d968 Merge pull request #459 from mattn/fix-dot
Fix unittest
2019-05-23 20:23:08 +09:00
Yasuhiro Matsumoto 5531b23f20 Fix unittest 2019-05-23 20:20:45 +09:00
Yasuhiro Matsumoto b7cc3a743f Fix emmet#isExpandable()
Fixes #458
2019-05-23 18:52:17 +09:00
mattn 758421535f Merge pull request #456 from mattn/fix-balance
Fix balance tag
2019-05-19 23:28:37 +09:00
Yasuhiro Matsumoto 6a6dc6e093 Fix balance tag 2019-05-19 23:26:36 +09:00
mattn 97b0b6c643 Merge pull request #455 from M4R7iNP/fix-root-filetype-detection
get extends recursively, minor additional fixes for pug and jsx
2019-05-19 22:03:15 +09: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
mattn 19f2821b7b Merge pull request #447 from mattn/ignore-embeded
Add ignore_embeded_filetype since slim filetype is confusing to html.
2019-01-29 01:03:24 +09:00
Yasuhiro Matsumoto 922784dad6 Fix Makefile 2019-01-29 00:57:37 +09:00
Yasuhiro Matsumoto eb8a4782ba Fix css 2019-01-29 00:54:17 +09:00
Yasuhiro Matsumoto b79f9128d3 Fix test 2019-01-29 00:41:06 +09:00
Yasuhiro Matsumoto 5d6870c0af Add ignore_embeded_filetype 2019-01-29 00:15:23 +09:00
Yasuhiro Matsumoto 5fc2cc0fae xenial 2019-01-29 00:09:20 +09:00
Yasuhiro Matsumoto d99b422a39 Add ignore_embeded_filetype since slim filetype is confusing to html. 2019-01-28 23:59:03 +09:00
mattn 3720be60fb Merge pull request #446 from soywod/master
Add support for TypeScript
2019-01-28 23:50:20 +09:00
Yasuhiro Matsumoto 19e3240bf3 Fix getFileType 2019-01-16 21:57:43 +09:00
mattn e6fb10d22a Merge pull request #416 from rgalbo/patch-1
fix a broken markdown heading
2018-11-29 15:56:27 +09:00
mattn d2a7edf1ad Merge pull request #440 from tyru/add-gitlink
[Fix] Add gitlink of 'docs'
2018-11-29 15:55:44 +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
mattn 7a4bf3463e Merge pull request #433 from jpsouzasilva/prioritize-syntax
Prioritizes syntax at the current cursor position for determining the file type
2018-10-06 13:36: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
mattn acc5ac7a9b Merge pull request #421 from Giorgiosaud/master
get blade syntax
2018-05-21 10:09:01 +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 a0aa79d660 use : prefix for localvar 2018-04-25 10:41:25 +09:00
Yasuhiro Matsumoto 40c89e5415 handle inner []
closes #412
2018-04-25 10:32:16 +09:00
Yasuhiro Matsumoto c0728a8dac Merge branch 'master' of https://github.com/mattn/emmet-vim 2018-04-25 10:04:27 +09:00
Yasuhiro Matsumoto 06b4cda774 expand local variables in custom snippets.
closes #414
2018-04-25 10:03:38 +09:00
mattn 5cb3b51e47 Merge pull request #410 from ashfinal/master
Adds emmet#anchorizeURL support for reStructuredText
2018-04-25 09:03:40 +09:00
mattn 350f0ba10b Merge pull request #398 from taylorzr/master
Fix "More Tutorials" link
2017-12-08 07:47:06 +09:00
Yasuhiro Matsumoto abdd9e440d fix .travis.yml and README.mkd 2017-12-07 00:26:00 +09:00
Yasuhiro Matsumoto e8c905853b fix README.mkd 2017-12-07 00:23:18 +09:00
Yasuhiro Matsumoto 8e06fbd056 remove --clean 2017-12-07 00:20:12 +09:00
Yasuhiro Matsumoto 2364a97f1c fix Makefile 2017-12-07 00:18:25 +09:00
Yasuhiro Matsumoto 1be61f24ba fix Makefile 2017-12-07 00:18:09 +09:00