mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-07 18:14:26 +08:00
Removes omit_attr argument from s:register_language(), because html, javascript, and css regions were the only ones that used it, and they are now handled by syntax/html.vim. `runtime! syntax/html.vim` also has the advantage that we can hook into the html syntax, meaning that we can add stuff like highlighting javascript expressions inside vue directives, and add our own html attributes. Also removes the start of line limitation introduced in previous commit
Vader Tests
Requires Vim 8 or Neovim, due to the way dependencies are installed.
To run the tests, you need to install the dependencies first. Use the installation script:
test/install.sh
Running the tests from the command line
You can run the tests with the following command:
vim -u test/vimrc -c 'Vader! test/*.vader'
Running the tests from within Vim
Open vim with:
vim -u test/vimrc
Then, you can run the tests with the following command:
:Vader test/*.vader