Commit Graph
176 Commits
Author SHA1 Message Date
leaf 983942b6d8 Merge pull request #46 from leafOfTree/ci-matrix
Test with several Vim and Neovim versions and fixed deps
2026-10-21 20:22:51 +08:00
leafOfTree d1b9d6a734 Update README
- Add test badge
- Link to the current Single File Components guide
- Remove unused Travis badge link
2026-10-21 12:14:10 +00:00
leafOfTree 36bc3f9a87 Test with several Vim and Neovim versions and fixed deps
Run tests on GitHub Actions with Vim 8.2.0000, the latest Vim, Neovim
0.9.5 and the latest Neovim by rhysd/action-setup-vim. test/run.sh only
uses the editors in $VUE_TEST_EDITORS if set, and fails if none runs.

Clone the syntax plugins for tests at fixed commits, so changes there
don't break tests unexpectedly.
2026-10-21 12:14:02 +00:00
leafOfTree ee1a608c40 Remove logo height in README
test / test (push) Canceled after 0s
GitHub shows a background with rounded corners for images with both
width and height, so the transparent logo had a box behind it.
2026-10-20 01:31:33 +00:00
leafOfTree 68b866210b Test all features
test / test (push) Canceled after 0s
Add cases for attribute highlight on and off, block syntax by lang
and emmet-vim group names, OnChangeVueSyntax(), matchit, .wpy,
initial_indent as syntax and tag.syntax, and syntax after reloading.

Also check indenting a file after removing all indent with
g:test_flatten, which fails before the end tag fix as closing tags at
column 0 were taken as block end tags.
2026-10-20 01:21:17 +00:00
leafOfTree de812d609b Add tests and GitHub Actions
Replace the Travis tests, which used a separate repo and no longer
ran, with tests in this repo. Each case in test/cases is indented as
a whole and should be unchanged, with optional syntax, fold and tag
checks. The cases are from the previous tests, plus script-setup.vue
for <script setup> keywords and a sync check in oneline.vim.

test/run.sh runs the cases with Vim in a pseudo terminal, as syntax in
Ex mode isn't the same, and Neovim headless.
2026-10-19 14:20:24 +00:00
leafOfTree d87fbbdde4 Use rtp^= for manual installation in README
Vim 9 and Neovim have placeholder vue syntax and indent files, which
load html ones and take precedence over this plugin added by rtp+=.
2026-10-19 13:43:15 +00:00
leafOfTree 58ac69b2c8 Update doc 2023-02-02 12:33:31 +08:00
leafOfTree ac76f21419 Update doc 2022-06-15 11:59:05 +08:00
leafOfTree be0f84ebb5 Update doc 2022-06-15 11:41:42 +08:00
leafOfTree 3b90ccad2d Update 2022-06-15 11:32:33 +08:00
leafOfTree b4c9fdc87a Update doc 2022-02-21 16:25:10 +08:00
leafOfTree 6569315461 Update doc 2022-02-21 16:24:09 +08:00
leafOfTree 5977fc07fe Update doc 2022-02-21 16:23:04 +08:00
leafOfTree dd0e3145af Update doc 2021-09-12 10:47:58 +08:00
leafOfTree a5be3e6c3a Update doc 2021-09-12 10:46:44 +08:00
leafOfTree 8e121ce67d Update doc 2021-09-10 12:03:57 +08:00
leafOfTree 6678475a50 Update doc 2021-09-06 16:08:55 +08:00
leafOfTree 0432e150dc Update doc 2021-09-06 16:07:32 +08:00
leafOfTree 15143762b8 Update doc 2021-09-06 15:58:31 +08:00
leafOfTree e4ddccee90 Update doc 2021-08-05 16:37:20 +08:00
leafOfTree cda82484d2 Update doc 2021-06-15 12:30:38 +08:00
leafOfTree 0e341ab4f8 Simplify example config 2021-06-15 12:29:47 +08:00
leafOfTree a5882eb712 Update doc 2021-06-05 16:02:34 +08:00
leafOfTree 568b571849 Update doc 2021-06-05 16:00:32 +08:00
leafOfTree 43490363a5 Update doc 2021-05-19 11:20:04 +08:00
leafOfTree 696533d262 Update doc 2021-05-12 19:09:04 +08:00
leafOfTree 0f4b6b7b7e Update doc 2021-05-05 21:03:48 +08:00
leafOfTree 12e5eadbad Update doc 2021-05-05 20:59:04 +08:00
leafOfTree 617639320d Update doc 2021-05-05 20:57:51 +08:00
leafOfTree 511fb2fb82 Update doc 2021-05-05 20:56:59 +08:00
leafOfTree b8f8a45e44 Update doc 2021-05-05 20:54:48 +08:00
leafOfTree 32b89ad2bf Update doc 2021-04-26 16:03:04 +08:00
leafOfTree 9e642cc983 Update doc 2021-04-23 13:21:43 +08:00
leafOfTree 9e55939c89 Rename subtype to syntax 2021-04-23 12:49:55 +08:00
leafOfTree 5067a5cc25 Update doc 2021-04-19 18:59:32 +08:00
leafOfTree c4847c18e9 Update doc 2021-04-19 14:20:56 +08:00
leafOfTree 8f23970cf9 Update doc 2021-04-19 09:50:11 +08:00
leafOfTree d8a5c1486b Update doc 2021-04-19 09:39:44 +08:00
leafOfTree 8f0d26991a Update doc 2021-04-19 09:36:57 +08:00
leafOfTree 2a682014a3 Update doc 2021-04-16 16:22:57 +08:00
leafOfTree f437eea49d Update doc 2021-04-13 15:53:27 +08:00
leafOfTree 99f317066a Update doc 2021-04-12 14:11:51 +08:00
leafOfTree 74a917987e Update doc 2021-04-12 12:06:50 +08:00
leafOfTree 6da176f51e Update doc 2021-04-12 11:57:02 +08:00
leafOfTree 15914af39b Update doc 2021-04-06 13:39:54 +08:00
leafOfTree f50130155e Update doc 2021-04-06 13:37:10 +08:00
leafOfTree b601b25226 Update doc 2021-03-30 14:22:14 +08:00
leafOfTree fe88470ebf Update doc 2021-03-30 14:21:44 +08:00
leafOfTree d11229e7e1 Update doc 2021-03-30 14:19:42 +08:00