feat: rename
This commit is contained in:
parent
e1d7abf58e
commit
942438f817
21 changed files with 660 additions and 305 deletions
12
plugin/preview.lua
Normal file
12
plugin/preview.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
if vim.g.loaded_preview then
|
||||
return
|
||||
end
|
||||
vim.g.loaded_preview = 1
|
||||
|
||||
require('preview.commands').setup()
|
||||
|
||||
vim.api.nvim_create_autocmd('VimLeavePre', {
|
||||
callback = function()
|
||||
require('preview.compiler').stop_all()
|
||||
end,
|
||||
})
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
if vim.g.loaded_render then
|
||||
return
|
||||
end
|
||||
vim.g.loaded_render = 1
|
||||
|
||||
require('render.commands').setup()
|
||||
|
||||
vim.api.nvim_create_autocmd('VimLeavePre', {
|
||||
callback = function()
|
||||
require('render.compiler').stop_all()
|
||||
end,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue