mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-12-07 09:35:37 -08:00
lots of macbook vim stuff
This commit is contained in:
5
lua/autocommand.lua
Normal file
5
lua/autocommand.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
vim.cmd [[:command! -nargs=1 I lua inspectFn(<f-args>)]]
|
||||
function inspectFn(obj)
|
||||
local cmd = string.format('lua print(vim.inspect(%s))', obj)
|
||||
require('noice').redirect(cmd, { view = 'messages', filter = {} })
|
||||
end
|
||||
Reference in New Issue
Block a user