aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.gen.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2026-09-17 11:58:37 +0200
committerbfredl <bjorn.linse@gmail.com>2026-09-22 12:31:48 +0200
commit6be4cd6560d17573f9ef9910bae4360cf96d760f (patch)
tree0bfaa2b079bdabeab610025ec9d9456c61dbd22c /runtime/lua/vim/_meta/vimfn.gen.lua
parentee5b7ef669956831abfa8c37a5b454abaaf07bcc (diff)
downloadrneovim-6be4cd6560d17573f9ef9910bae4360cf96d760f.tar.gz
rneovim-6be4cd6560d17573f9ef9910bae4360cf96d760f.tar.bz2
rneovim-6be4cd6560d17573f9ef9910bae4360cf96d760f.zip
refactor(charset)!: delete 'isprint' and cleanup 'iskeyword' and friends
In the `enc=utf-8` only world, the 'isprint' option is quite obsolete. The function is only consulted for decoded U+0080 to U+00FF chars whose printability is defined by the unicode charset, just like higher codepoints. Meanwhile, invalid `\x80` to `\xFF` bytes are always unprintable. Disentangle 'iskeyword', 'isfname' and 'isident' from each other by giving them all separate bitsets. Now these can be updated individually. These updaters can back out of errors gracefully, no need for extra panic logic in option[str].c to restore partially updated chartabs.
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.gen.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.gen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.gen.lua b/runtime/lua/vim/_meta/vimfn.gen.lua
index 79577042b8..b5635078bd 100644
--- a/runtime/lua/vim/_meta/vimfn.gen.lua
+++ b/runtime/lua/vim/_meta/vimfn.gen.lua
@@ -10287,7 +10287,7 @@ function vim.fn.strptime(format, timestring) end
function vim.fn.strridx(haystack, needle, start) end
--- Translates all unprintable characters in {string} into
---- printable characters 'isprint', like they are shown in a
+--- printable characters, like they are shown in a
--- window. Example: >vim
--- echo strtrans(\@a)
--- <This displays a newline in register a as "^\@" instead of