Search notes:

Vim ex command: syntax

Enabling highlighting

syntax enable
syntax on
These two commands run $VIMRUNTIME/syntax/syntax.vim.

Stop highlighting

:syntax off
:syntax off runs $VIMRUNTIME/syntax/nosyntax.vim.

Highlighting for specific files only

syntax manual
syntax manual runs $VIMRUNTIME/syntax/manual.vim.

Temporarlily suspend highlighting

syntax clear
When starting another file, it will bring highlighting on again, however.

Arguments

Arguments that can be used for :syntax keyword, :syntax match and :syntax region are: conceal, cchar, contained, containedin, nextgroup, transparent, skipwhite, skipnl and skipempty.
:syntax match and :syntax region can additionially specify contains, fold, display, extend.
:syntax region can additionially specify oneline and concealends.
sa: :help syn-arguments

TODO

syntax keyword {group-name} [{options}] {keyword} .. [{options}]
:syntax spell toplevel
:syntax keyword

:syntax conceal

:syntax conceal is handled in syn_cmd_conceal in syn_cmd_conceal (src/syntax.c)
See also feature FEAT_CONCEAL.

:syntax case

:syntax conceal is handled in syn_cmd_conceal in syn_cmd_case (src/syntax.c)

See also

syntax highlighting
Ex commands

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758196941, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/commands/syntax(103): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78