mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nvim): fugitive toggle
This commit is contained in:
parent
978f150401
commit
df60482da3
5 changed files with 32 additions and 17 deletions
|
|
@ -38,7 +38,7 @@ vim.api.nvim_create_autocmd("TextYankPost", {
|
|||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
||||
pattern = { "*.md", "*.tex" },
|
||||
command = "setlocal wrap"
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "markdown", "tex" },
|
||||
callback = function() vim.opt_local.wrap = true end,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue