mjbrownie / swapit

vim plugin: Extensible Keyword Swapper
39 stars 8 forks source link

django_swapit.vim is missing #22

Open Boldewyn opened 9 years ago

Boldewyn commented 9 years ago

When I edit a file named settings.py, which is incidentally indeed a Django settings file, I get the following error:

"settings.py" 489L, 16831C
Error detected while processing /home/manuel/.vim/after/ftplugin/python_swapit.vim:
line    2:
E484: Can't open file django_swapit.vim

and indeed, the SwapIt plugin nowhere features such a file django_swapit.vim.

mjbrownie commented 9 years ago

Thanks that shouldn't be there. It is referencing a file I have for personal use only atm (django settings files have been moved to a project subdirectory too so it's out of date) . It can be safely commented out but I'll add a try catch or include the file.