Mercurial > vim
comparison runtime/doc/syntax.txt @ 20856:83cfa1ef1bf2
Update runtime files
Commit: https://github.com/vim/vim/commit/65e0d77a66b7e50beb562ad554ace46c32ef8f0f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 14 17:29:55 2020 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jun 2020 17:45:04 +0200 |
parents | 661eb972cb22 |
children | f3c72001de63 |
comparison
equal
deleted
inserted
replaced
20855:6390b8b611fb | 20856:83cfa1ef1bf2 |
---|---|
1212 | 1212 |
1213 DESKTOP *desktop.vim* *ft-desktop-syntax* | 1213 DESKTOP *desktop.vim* *ft-desktop-syntax* |
1214 | 1214 |
1215 Primary goal of this syntax file is to highlight .desktop and .directory files | 1215 Primary goal of this syntax file is to highlight .desktop and .directory files |
1216 according to freedesktop.org standard: | 1216 according to freedesktop.org standard: |
1217 http://standards.freedesktop.org/desktop-entry-spec/latest/ | 1217 https://specifications.freedesktop.org/desktop-entry-spec/latest/ |
1218 But actually almost none implements this standard fully. Thus it will | 1218 To highlight nonstandard extensions that does not begin with X-, set > |
1219 highlight all Unix ini files. But you can force strict highlighting according | 1219 let g:desktop_enable_nonstd = 1 |
1220 to standard by placing this in your vimrc file: > | 1220 Note that this may cause wrong highlight. |
1221 :let enforce_freedesktop_standard = 1 | 1221 To highlight KDE-reserved features, set > |
1222 let g:desktop_enable_kde = 1 | |
1223 g:desktop_enable_kde follows g:desktop_enable_nonstd if not supplied | |
1222 | 1224 |
1223 | 1225 |
1224 DIFF *diff.vim* | 1226 DIFF *diff.vim* |
1225 | 1227 |
1226 The diff highlighting normally finds translated headers. This can be slow if | 1228 The diff highlighting normally finds translated headers. This can be slow if |