annotate runtime/syntax/vue.vim @ 27974:495418c6cac8 v8.2.4512

patch 8.2.4512: the find_tags_in_file() function is much too long Commit: https://github.com/vim/vim/commit/df1bbea436636ac227d33dd79f77e07f4fffb028 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Mar 5 14:35:12 2022 +0000 patch 8.2.4512: the find_tags_in_file() function is much too long Problem: The find_tags_in_file() function is much too long. Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan, closes #9892)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Mar 2022 15:45:03 +0100
parents 95c23e180022
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17372
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Vue.js Single File Component
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Ralph Giles <giles@thaumas.net>
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " URL: https://vuejs.org/v2/guide/single-file-components.html
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Last Change: 2019 Jul 8
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 " Quit if a syntax file was already loaded.
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 if exists("b:current_syntax")
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 finish
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 endif
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 " We have a collection of html, css and javascript wrapped in
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 " tags. The default HTML syntax highlight works well enough.
b9bc47742df6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 runtime! syntax/html.vim