mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 20:20:42 +00:00
feat(vim.version): make tostring() return human-readable version range
Problem: `tostring()` applied to version range doesn't return human-readable text with information about the range. Solution: Add `__tostring()` method.
This commit is contained in:
@@ -199,6 +199,7 @@ LUA
|
||||
• |vim.hl.range()| now allows multiple timed highlights.
|
||||
• |vim.tbl_extend()| and |vim.tbl_deep_extend()| now accept a function behavior argument.
|
||||
• |vim.fs.root()| can define "equal priority" via nested lists.
|
||||
• |vim.version.range()| output can be converted to human-readable string with |tostring()|.
|
||||
|
||||
OPTIONS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user