1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

use vim.pretty_print for checking lua objects

This commit is contained in:
jdhao 2022-05-14 00:59:00 +08:00
parent a9be0d0b20
commit c3253a5731

View File

@ -1,7 +1,6 @@
-- inspect something
-- Taken from https://github.com/jamestthompson3/vimConfig/blob/eeef4a8eeb5a24938f8a0969a35f69c78643fb66/lua/tt/nvim_utils.lua#L106
function inspect(item)
print(vim.inspect(item))
vim.pretty_print(item)
end
local M = {}