diff options
author | Maria José Solano <majosolano99@gmail.com> | 2024-02-28 14:14:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 06:14:49 +0800 |
commit | f912030d4ed0998b3de90bad9f1b416fffff49c9 (patch) | |
tree | 264f7e5437b1385bb27246155c986b9c7a123728 /runtime/lua/vim/_meta/lpeg.lua | |
parent | 853f647da618d2891e4ac513fb96d3c8a42fa131 (diff) | |
download | rneovim-f912030d4ed0998b3de90bad9f1b416fffff49c9.tar.gz rneovim-f912030d4ed0998b3de90bad9f1b416fffff49c9.tar.bz2 rneovim-f912030d4ed0998b3de90bad9f1b416fffff49c9.zip |
docs(lpeg): remove double backticks from meta (#27659)
Diffstat (limited to 'runtime/lua/vim/_meta/lpeg.lua')
-rw-r--r-- | runtime/lua/vim/_meta/lpeg.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/lua/vim/_meta/lpeg.lua b/runtime/lua/vim/_meta/lpeg.lua index fef07d3046..202c99f18c 100644 --- a/runtime/lua/vim/_meta/lpeg.lua +++ b/runtime/lua/vim/_meta/lpeg.lua @@ -129,8 +129,8 @@ function vim.lpeg.B(pattern) end --- Returns a pattern that matches any single character belonging to one of the given ranges. --- Each `range` is a string `xy` of length 2, representing all characters with code between the codes of ---- `x` and `y` (both inclusive). As an example, the pattern ``lpeg.R('09')`` matches any digit, and ---- ``lpeg.R('az', 'AZ')`` matches any ASCII letter. +--- `x` and `y` (both inclusive). As an example, the pattern `lpeg.R('09')` matches any digit, and +--- `lpeg.R('az', 'AZ')` matches any ASCII letter. --- --- Example: --- @@ -144,9 +144,9 @@ function vim.lpeg.B(pattern) end function vim.lpeg.R(...) end --- Returns a pattern that matches any single character that appears in the given string (the `S` stands for Set). ---- As an example, the pattern ``lpeg.S('+-*/')`` matches any arithmetic operator. Note that, if `s` is a character +--- As an example, the pattern `lpeg.S('+-*/')` matches any arithmetic operator. Note that, if `s` is a character --- (that is, a string of length 1), then `lpeg.P(s)` is equivalent to `lpeg.S(s)` which is equivalent to ---- `lpeg.R(s..s)`. Note also that both ``lpeg.S('')`` and `lpeg.R()` are patterns that always fail. +--- `lpeg.R(s..s)`. Note also that both `lpeg.S('')` and `lpeg.R()` are patterns that always fail. --- --- @param string string --- @return vim.lpeg.Pattern |