forked from aniani/vim
The process of preparing and submitting syntax tests is fraught with challenges that can turn away many aspiring contributors from ever attempting it. (Out of 69 languages introduced since v9.0.1627, there are only syntax tests for Tera.) After v9.1.1176~1, one visual clue for admitting syntax test failures previously available with e.g. "git status" is gone after all files under "failed/" have been made ignored for Git and Mercurial. There isn't a single way to go about it: some people may move files from "failed/" to "dumps/" after each iteration; some people may only move "good" iteration files; when a test file is refactored to a great extent, some people may prefer deleting all test-related files under "dumps/" before moving files from "failed/". The usability of reporting, at any time, that there are some _untracked_ files under "failed/" cannot be overstated. Without it, the chances are greater for pushing mismatched changesets. And when tests fail then everyone but the author will be kept in the dark about the cause: were some updated screendumps not committed _or_ was a wrong version of the syntax plugin committed? Another file, "testdir/Xfilter" (v9.1.0763), that will be created to establish communication from Make to Vim about what subset of syntax tests is requested for running, should also be not ignored but rather deleted once its contents are read. Unless it is explicitly deleted _after test failure_, the file may contain new *and* old test names when another testing attempt is under way. And by virtue of it being ignored, the reason for also running not requested tests will be as ever puzzling. Both Git and Mercurial support per-user configuration; such wide-reaching settings hardly belong to clonable defaults. Also, match literal dots in testname filters. Also, discover and report _some_ disused screendump files tracked under "dumps/". References: - https://git-scm.com/docs/gitignore - https://www.mercurial-scm.org/help/topics/config#ui closes: #16917 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This directory contains Vim scripts for syntax highlighting. These scripts are not for a language, but are used by Vim itself: syntax.vim Used for the ":syntax on" command. Uses synload.vim. manual.vim Used for the ":syntax manual" command. Uses synload.vim. synload.vim Contains autocommands to load a language file when a certain file name (extension) is used. And sets up the Syntax menu for the GUI. nosyntax.vim Used for the ":syntax off" command. Undo the loading of synload.vim. The "shared" directory contains generated files and what is used by more than one syntax. A few special files: 2html.vim Converts any highlighted file to HTML (GUI only). colortest.vim Check for color names and actual color on screen. hitest.vim View the current highlight settings. whitespace.vim View Tabs and Spaces. If you want to write a syntax file, read the docs at ":help usr_44.txt". If you make a new syntax file which would be useful for others, please send it to the vim-dev mailing list <vim-dev@vim.org>. Include instructions for detecting the file type for this language, by file name extension or by checking a few lines in the file. And please write the file in a portable way, see ":help 44.12". If you have remarks about an existing file, send them to the maintainer of that file. Only when you get no response send a message to the vim-dev mailing list: <vim-dev@vim.org>. If you are the maintainer of a syntax file and make improvements, send the new version to the vim-dev mailing list: <vim-dev@vim.org> For further info see ":help syntax" in Vim.