AutoYADM commit: 2024-12-26 15:00:02
This commit is contained in:
parent
f069639d31
commit
a613baa1ee
2 changed files with 26 additions and 0 deletions
|
@ -7,6 +7,15 @@
|
|||
-- but disable it for normal mode commands like `o`
|
||||
-- vim.g.prev_conceallevel = 0
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "tex",
|
||||
callback = function()
|
||||
dd(vim.b.autoformat)
|
||||
vim.b.autoformat = false
|
||||
dd(vim.b.autoformat)
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ "InsertLeave", "FileType" }, {
|
||||
-- pattern = "*",
|
||||
buffer = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue