diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-04-30 01:04:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 07:04:42 +0800 |
commit | 234b5f67019b435b604308a96c366b1187c2cc3a (patch) | |
tree | f22fa4e2fc0318ec5940f31746f04db3361f8a4e /runtime/lua/vim/_comment.lua | |
parent | b7e5769132e865122fe4bf8588be9ca1820db802 (diff) | |
download | rneovim-234b5f67019b435b604308a96c366b1187c2cc3a.tar.gz rneovim-234b5f67019b435b604308a96c366b1187c2cc3a.tar.bz2 rneovim-234b5f67019b435b604308a96c366b1187c2cc3a.zip |
docs: various fixes (#28208)
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Co-authored-by: Famiu Haque <famiuhaque@proton.me>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Guilherme Soares <guilhermesoares1970@gmail.com>
Co-authored-by: Jannik Buhr <jannik.m.buhr@gmail.com>
Co-authored-by: thomaswuhoileong <72001875+thomaswuhoileong@users.noreply.github.com>
Co-authored-by: tom-anders <13141438+tom-anders@users.noreply.github.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/_comment.lua')
-rw-r--r-- | runtime/lua/vim/_comment.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_comment.lua b/runtime/lua/vim/_comment.lua index e9cd662c9d..b6cb6c9884 100644 --- a/runtime/lua/vim/_comment.lua +++ b/runtime/lua/vim/_comment.lua @@ -80,7 +80,7 @@ local function make_comment_check(parts) -- <possible whitespace> <left> <anything> <right> <possible whitespace> local nonblank_regex = '^%s-' .. l_esc .. '.*' .. r_esc .. '%s-$' - -- Commented blank line can have any amoung of whitespace around parts + -- Commented blank line can have any amount of whitespace around parts local blank_regex = '^%s-' .. vim.trim(l_esc) .. '%s*' .. vim.trim(r_esc) .. '%s-$' return function(line) |