mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
docs(builtin): fix and annotate language blocks (#24506)
This commit is contained in:
2847
runtime/doc/builtin.txt
generated
2847
runtime/doc/builtin.txt
generated
File diff suppressed because it is too large
Load Diff
2829
runtime/lua/vim/_meta/vimfn.lua
generated
2829
runtime/lua/vim/_meta/vimfn.lua
generated
File diff suppressed because it is too large
Load Diff
@ -217,14 +217,14 @@ local CONFIG = {
|
||||
'same way. The difference is that a String is handled like it is one line.',
|
||||
'When it contains a "\\n" character, this is not seen as a line break for the',
|
||||
'pattern. It can be matched with a "\\n" in the pattern, or with ".". Example:',
|
||||
'>',
|
||||
'\t:let a = "aaaa\\nxxxx"',
|
||||
'\t:echo matchstr(a, "..\\n..")',
|
||||
'\taa',
|
||||
'\txx',
|
||||
'\t:echo matchstr(a, "a.x")',
|
||||
'\ta',
|
||||
'\tx',
|
||||
'>vim',
|
||||
'\tlet a = "aaaa\\nxxxx"',
|
||||
'\techo matchstr(a, "..\\n..")',
|
||||
'\t" aa',
|
||||
'\t" xx',
|
||||
'\techo matchstr(a, "a.x")',
|
||||
'\t" a',
|
||||
'\t" x',
|
||||
'',
|
||||
'Don\'t forget that "^" will only match at the first character of the String and',
|
||||
'"$" at the last character of the string. They don\'t match after or before a',
|
||||
|
3105
src/nvim/eval.lua
3105
src/nvim/eval.lua
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user