generation 555 25.11.20250714.62e0f05
This commit is contained in:
@@ -167,28 +167,28 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||
|
||||
vim.api.nvim_create_augroup("vimrc", { clear = true })
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
desc = "texpresso compile",
|
||||
group = "vimrc",
|
||||
pattern = "tex",
|
||||
callback = function(args)
|
||||
-- start server on first BufWrite
|
||||
vim.api.nvim_create_autocmd("BufWritePost", {
|
||||
group = vim.api.nvim_create_augroup(
|
||||
string.format("latex<buffer=%d>", args.buf),
|
||||
{ clear = true }
|
||||
),
|
||||
buffer = args.buf,
|
||||
callback = function()
|
||||
if not vim.b.latex_started then
|
||||
vim.cmd "TeXpresso %"
|
||||
vim.b.latex_started = true
|
||||
end
|
||||
-- vim.cmd "VimtexView"
|
||||
end,
|
||||
})
|
||||
end,
|
||||
})
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- desc = "texpresso compile",
|
||||
-- group = "vimrc",
|
||||
-- pattern = "tex",
|
||||
-- callback = function(args)
|
||||
-- -- start server on first BufWrite
|
||||
-- vim.api.nvim_create_autocmd("BufWritePost", {
|
||||
-- group = vim.api.nvim_create_augroup(
|
||||
-- string.format("latex<buffer=%d>", args.buf),
|
||||
-- { clear = true }
|
||||
-- ),
|
||||
-- buffer = args.buf,
|
||||
-- callback = function()
|
||||
-- if not vim.b.latex_started then
|
||||
-- vim.cmd "TeXpresso %"
|
||||
-- vim.b.latex_started = true
|
||||
-- end
|
||||
-- -- vim.cmd "VimtexView"
|
||||
-- end,
|
||||
-- })
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
-- idk why i need to define it here bro
|
||||
-- local builtin = require('telescope.builtin')
|
||||
|
||||
Reference in New Issue
Block a user