diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-16 22:23:44 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-17 11:11:58 +0200 |
commit | 61ea4665916909853cf74256a6b350a680f08565 (patch) | |
tree | 09bea1a93f8064081fc2ef0380bbefb0c811b15b /runtime/doc/syntax.txt | |
parent | 4a7371c71486653253ae440a9a4017768ad36262 (diff) | |
download | rneovim-61ea4665916909853cf74256a6b350a680f08565.tar.gz rneovim-61ea4665916909853cf74256a6b350a680f08565.tar.bz2 rneovim-61ea4665916909853cf74256a6b350a680f08565.zip |
vim-patch:9.1.0592: runtime: filetype: Mediawiki files are not recognized
Problem: filetype: Mediawiki files are not recognized
Solution: detect "*.mw" and "*.wiki" as mediawiki filetype,
include basic syntax and filetype plugins.
(AvidSeeker)
closes: vim/vim#15266
https://github.com/vim/vim/commit/b5844104ab1259e061e023ea6259e4eb002e7170
Co-authored-by: AvidSeeker <avidseeker7@protonmail.com>
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index fd510eb772..1be01088e1 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1847,6 +1847,17 @@ have the following in your vimrc: > let filetype_m = "mma" +MEDIAWIKI *ft-mediawiki-syntax* + +Be default, syntax highlighting includes basic HTML tags like style and +headers |html.vim|. For strict Mediawiki syntax highlighting: > + + let g:html_no_rendering = 1 + +If HTML highlighting is desired, terminal-based text formatting such as bold +and italic is possible by: > + + let g:html_style_rendering = 1 MODULA2 *modula2.vim* *ft-modula2-syntax* |