diff options
| author | jdhao <jdhao@hotmail.com> | 2022-05-14 00:59:00 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-05-14 00:59:00 +0800 |
| commit | c3253a573142fa1e3e1ea10ed52c465eb3471ba0 (patch) | |
| tree | 6b1db596942d21bd7161e41ac8958609b945c198 /lua/utils.lua | |
| parent | a9be0d0b209d91079a2e1f404cadc1e0880f4281 (diff) | |
use vim.pretty_print for checking lua objects
Diffstat (limited to 'lua/utils.lua')
| -rw-r--r-- | lua/utils.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/utils.lua b/lua/utils.lua index 7deb322..c04f64b 100644 --- a/lua/utils.lua +++ b/lua/utils.lua @@ -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 = {} |
