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