lots of macbook vim stuff
This commit is contained in:
parent
5b483a9db7
commit
feb59d91c5
20 changed files with 267 additions and 226 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue