forked from aniani/vim
runtime(doc): documentation updates
This is a collection of various improvements to the help pages closes #12790 Co-authored-by: Houl <anwoku@yahoo.de> Co-authored-by: Doug Kearns <dougkearns@gmail.com> Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -2160,11 +2160,11 @@ should set a variable in your .vimrc file: >
|
||||
:let lpc_syntax_for_c = 1
|
||||
|
||||
If it doesn't work properly for some particular C or LPC files, use a
|
||||
modeline. For a LPC file:
|
||||
modeline. For a LPC file: >
|
||||
|
||||
// vim:set ft=lpc:
|
||||
|
||||
For a C file that is recognized as LPC:
|
||||
For a C file that is recognized as LPC: >
|
||||
|
||||
// vim:set ft=c:
|
||||
|
||||
@@ -2196,7 +2196,7 @@ LUA *lua.vim* *ft-lua-syntax*
|
||||
The Lua syntax file can be used for versions 4.0, 5.0, 5.1 and 5.2 (5.2 is
|
||||
the default). You can select one of these versions using the global variables
|
||||
lua_version and lua_subversion. For example, to activate Lua
|
||||
5.1 syntax highlighting, set the variables like this:
|
||||
5.1 syntax highlighting, set the variables like this: >
|
||||
|
||||
:let lua_version = 5
|
||||
:let lua_subversion = 1
|
||||
|
||||
Reference in New Issue
Block a user