Home Explore Blog CI



neovim

25th chunk of `runtime/doc/syntax.txt`
e24a69c1666f2cd023cf80d1c4d4a52a4c6f780cc5f4ca020000000100000fa9
 before, you should turn off the sensible modifiers, and this will also
assert the new efuns after v22 to be invalid, don't set this variable when
you are using the latest version of MudOS: >

	:let lpc_pre_v22 = 1

For LpMud 3.2 series of LPC: >

	:let lpc_compat_32 = 1

For LPC4 series of LPC: >

	:let lpc_use_lpc4_syntax = 1

For uLPC series of LPC:
uLPC has been developed to Pike, so you should use Pike syntax
instead, and the name of your source file should be `*.pike`


LUA						*lua.vim* *ft-lua-syntax*

The Lua syntax file can be used for versions 4.0, 5.0+. You can select one of
these versions using the global variables |g:lua_version| and
|g:lua_subversion|.


MAIL						*mail.vim* *ft-mail.vim*

Vim highlights all the standard elements of an email (headers, signatures,
quoted text and URLs / email addresses).  In keeping with standard conventions,
signatures begin in a line containing only "--" followed optionally by
whitespaces and end with a newline.

Vim treats lines beginning with "]", "}", "|", ">" or a word followed by ">"
as quoted text.  However Vim highlights headers and signatures in quoted text
only if the text is quoted with ">" (optionally followed by one space).

By default mail.vim synchronises syntax to 100 lines before the first
displayed line.  If you have a slow machine, and generally deal with emails
with short headers, you can change this to a smaller value: >

	:let mail_minlines = 30


MAKE						*make.vim* *ft-make-syntax*

In makefiles, commands are usually highlighted to make it easy for you to spot
errors.  However, this may be too much coloring for you.  You can turn this
feature off by using: >

	:let make_no_commands = 1

Comments are also highlighted by default.  You can turn this off by using: >

	:let make_no_comments = 1

There are various Make implementations, which add extensions other than the
POSIX specification and thus are mutually incompatible.  If the filename is
BSDmakefile or GNUmakefile, the corresponding implementation is automatically
determined; otherwise vim tries to detect it by the file contents.  If you see
any wrong highlights because of this, you can enforce a flavor by setting one
of the following: >

	:let g:make_flavor = 'bsd'  " or
	:let g:make_flavor = 'gnu'  " or
	:let g:make_flavor = 'microsoft'


MAPLE						*maple.vim* *ft-maple-syntax*

Maple V, by Waterloo Maple Inc, supports symbolic algebra.  The language
supports many packages of functions which are selectively loaded by the user.
The standard set of packages' functions as supplied in Maple V release 4 may be
highlighted at the user's discretion.  Users may place in their vimrc file: >

	:let mvpkg_all= 1

to get all package functions highlighted, or users may select any subset by
choosing a variable/package from the table below and setting that variable to
1, also in their vimrc file (prior to sourcing
$VIMRUNTIME/syntax/syntax.vim).

	Table of Maple V Package Function Selectors >
  mv_DEtools	 mv_genfunc	mv_networks	mv_process
  mv_Galois	 mv_geometry	mv_numapprox	mv_simplex
  mv_GaussInt	 mv_grobner	mv_numtheory	mv_stats
  mv_LREtools	 mv_group	mv_orthopoly	mv_student
  mv_combinat	 mv_inttrans	mv_padic	mv_sumtools
  mv_combstruct mv_liesymm	mv_plots	mv_tensor
  mv_difforms	 mv_linalg	mv_plottools	mv_totorder
  mv_finance	 mv_logic	mv_powseries


MARKDOWN			*ft-markdown-syntax* *g:markdown_minlines*
		 *g:markdown_fenced_languages* *g:markdown_syntax_conceal*

If you have long regions there might be wrong highlighting.  At the cost of
slowing down displaying, you can have the engine look further back to sync on
the start of a region, for example 500 lines (default is 50): >

	:let g:markdown_minlines = 500

If you want to enable fenced code block syntax highlighting in your markdown
documents you can enable like this: >

	:let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']

To disable markdown syntax concealing add the following to your vimrc: >

	:let g:markdown_syntax_conceal = 0


MATHEMATICA

Title: Configuring Syntax Highlighting for LPC, Lua, Mail, Make, Maple, and Markdown in Vim
Summary
This section provides instructions on customizing syntax highlighting for different languages and file types within Vim. It covers LPC (different versions like MudOS, LpMud 3.2, and LPC4), Lua (specifying versions 4.0, 5.0+), Mail (highlighting email elements and adjusting synchronization lines), Make (disabling command and comment highlighting, enforcing flavors like BSD or GNU), Maple (highlighting specific function packages), and Markdown (adjusting sync lines, enabling fenced code block syntax highlighting, and disabling syntax concealing).