E303-Unable-to-open-swap-file

Published at 2024-01-22
Last update over 365 days ago Licensed under CC BY-NC-SA 4.0 softwares-and-toolsneovim

1

May be because you previously loaded a vim script initialization file, but you failed to load that file now.

2

Check if your ~/.config/nvim/init.vim exists.

  • Once Julyfun renamed init.vim to init.nvim and E303 occurs.

3

Check the owner of ~/.local/share/nvim/swap

Do something like:

sudo chown <user_name>:<group_name>  swap