From 5d1d73ee61667df90c2c42e611470cdc0d169dce Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 12 Sep 2023 10:11:05 +0200 Subject: [PATCH] dont annoy me with ro --- lua/plex/config/autocmds.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lua/plex/config/autocmds.lua b/lua/plex/config/autocmds.lua index 7c0c790..25ee149 100644 --- a/lua/plex/config/autocmds.lua +++ b/lua/plex/config/autocmds.lua @@ -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', {