diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-14 17:29:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-14 17:29:55 +0200 |
commit | 65e0d77a66b7e50beb562ad554ace46c32ef8f0f (patch) | |
tree | 3755acc8d00557462fbb2b5970422fd2600acc12 /runtime/doc/syntax.txt | |
parent | 8e20f75e58f4879308b0011b468ef928a3f93085 (diff) | |
download | vim-git-65e0d77a66b7e50beb562ad554ace46c32ef8f0f.tar.gz |
Update runtime files
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 8916d3509..dbcaad2be 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1214,11 +1214,13 @@ DESKTOP *desktop.vim* *ft-desktop-syntax* Primary goal of this syntax file is to highlight .desktop and .directory files according to freedesktop.org standard: -http://standards.freedesktop.org/desktop-entry-spec/latest/ -But actually almost none implements this standard fully. Thus it will -highlight all Unix ini files. But you can force strict highlighting according -to standard by placing this in your vimrc file: > - :let enforce_freedesktop_standard = 1 +https://specifications.freedesktop.org/desktop-entry-spec/latest/ +To highlight nonstandard extensions that does not begin with X-, set > + let g:desktop_enable_nonstd = 1 +Note that this may cause wrong highlight. +To highlight KDE-reserved features, set > + let g:desktop_enable_kde = 1 +g:desktop_enable_kde follows g:desktop_enable_nonstd if not supplied DIFF *diff.vim* |