added markview
This commit is contained in:
parent
0c777ffad4
commit
a2a67558c0
@ -7,4 +7,5 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require('render-markdown').setup({})
|
require('render-markdown').setup({})
|
||||||
end,
|
end,
|
||||||
|
enabled = false
|
||||||
}
|
}
|
||||||
|
14
lua/plugins/markview.lua
Normal file
14
lua/plugins/markview.lua
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
return {
|
||||||
|
'OXY2DEV/markview.nvim',
|
||||||
|
lazy = false,
|
||||||
|
config = function()
|
||||||
|
vim.api.nvim_create_autocmd('User', {
|
||||||
|
pattern = 'MarkviewAttach',
|
||||||
|
callback = function(event)
|
||||||
|
print(event.buf)
|
||||||
|
vim.keymap.set('n', '<CR>', require('markview').commands.open,
|
||||||
|
{ buffer = event.buf, desc = 'Open Link', silent = false })
|
||||||
|
end
|
||||||
|
})
|
||||||
|
end
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user