dont annoy me with ro

This commit is contained in:
Christoph J. Scherr 2023-09-12 10:11:05 +02:00 committed by PlexSheep
parent 1c261673cf
commit 94dbc0d8d2
1 changed files with 7 additions and 7 deletions

View File

@ -56,13 +56,13 @@ vim.api.nvim_create_autocmd('TextYankPost', {
})
-- Automatically set read-only for files being edited elsewhere
vim.api.nvim_create_autocmd('SwapExists', {
group = augroup('open_swap'),
nested = true,
callback = function()
vim.v.swapchoice = 'o'
end,
})
-- vim.api.nvim_create_autocmd('SwapExists', {
-- group = augroup('open_swap'),
-- nested = true,
-- callback = function()
-- vim.v.swapchoice = 'o'
-- end,
-- })
-- Create directories when needed, when saving a file (except for URIs "://").
vim.api.nvim_create_autocmd('BufWritePre', {