mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
lua: vim.rpcrequest, vim.rpcnotify, vim.NIL
This commit is contained in:
@@ -289,7 +289,7 @@ function Inspector:putValue(v)
|
||||
if tv == 'string' then
|
||||
self:puts(smartQuote(escape(v)))
|
||||
elseif tv == 'number' or tv == 'boolean' or tv == 'nil' or
|
||||
tv == 'cdata' or tv == 'ctype' then
|
||||
tv == 'cdata' or tv == 'ctype' or (vim and v == vim.NIL) then
|
||||
self:puts(tostring(v))
|
||||
elseif tv == 'table' then
|
||||
self:putTable(v)
|
||||
|
||||
Reference in New Issue
Block a user