view runtime/syntax/README.txt @ 10928:5b3e671ef6a2 v8.0.0353

patch 8.0.0353: if [RO] is translated it may be truncated commit https://github.com/vim/vim/commit/3457d295f4035293a78f9a9851ea416f923dd59e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 23 14:55:59 2017 +0100 patch 8.0.0353: if [RO] is translated it may be truncated Problem: If [RO] in the status line is translated to a longer string, it is trunctted to 4 bytes. Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
author Christian Brabandt <cb@256bit.org>
date Thu, 23 Feb 2017 15:00:05 +0100
parents 3fc0f57ecb91
children 2acb87ee55fc
line wrap: on
line source

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.


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 Bram@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 Bram@vim.org.

If you are the maintainer of a syntax file and make improvements, send the new
version to Bram@vim.org.

For further info see ":help syntax" in Vim.