Merge branch 'master' of https://git.cscherr.de/PlexSheep/neovim-confs
This commit is contained in:
commit
e662a0c9bc
|
@ -56,13 +56,13 @@ vim.api.nvim_create_autocmd('TextYankPost', {
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Automatically set read-only for files being edited elsewhere
|
-- Automatically set read-only for files being edited elsewhere
|
||||||
vim.api.nvim_create_autocmd('SwapExists', {
|
-- vim.api.nvim_create_autocmd('SwapExists', {
|
||||||
group = augroup('open_swap'),
|
-- group = augroup('open_swap'),
|
||||||
nested = true,
|
-- nested = true,
|
||||||
callback = function()
|
-- callback = function()
|
||||||
vim.v.swapchoice = 'o'
|
-- vim.v.swapchoice = 'o'
|
||||||
end,
|
-- end,
|
||||||
})
|
-- })
|
||||||
|
|
||||||
-- Create directories when needed, when saving a file (except for URIs "://").
|
-- Create directories when needed, when saving a file (except for URIs "://").
|
||||||
vim.api.nvim_create_autocmd('BufWritePre', {
|
vim.api.nvim_create_autocmd('BufWritePre', {
|
||||||
|
|
Loading…
Reference in New Issue