aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 21:30:58 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 21:57:50 -0400
commitdf2acdc3be807393ea8d61bb94c41d792388c0de (patch)
tree6807f01a1794e3c0fe40371bd75661873b27461d /runtime/doc/syntax.txt
parent565783be4b42ec8cf2d24543b7d501499c6a1091 (diff)
downloadrneovim-df2acdc3be807393ea8d61bb94c41d792388c0de.tar.gz
rneovim-df2acdc3be807393ea8d61bb94c41d792388c0de.tar.bz2
rneovim-df2acdc3be807393ea8d61bb94c41d792388c0de.zip
vim-patch:65e0d77a66b7
Update runtime files https://github.com/vim/vim/commit/65e0d77a66b7e50beb562ad554ace46c32ef8f0f Omit usr_46.txt because of vim9.
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index d442829773..56f12eadcb 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1191,11 +1191,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*