Vim Tips Wiki
No edit summary
Line 3: Line 3:
 
I haven't been able to run Daemon Saver for the past few versions of Vim. During two if statements in a section labeled "Set GUI options", running the script gives the following errors:
 
I haven't been able to run Daemon Saver for the past few versions of Vim. During two if statements in a section labeled "Set GUI options", running the script gives the following errors:
   
*When running Vim from terminal:
+
:When running Vim from terminal:
*Error detected while processing function Daemon..<SNR>18_Cleanup:
+
:Error detected while processing function Daemon..<SNR>18_Cleanup:
*line 8:
+
:line 8:
*E121: Undefined variable: s:o_ru
+
:E121: Undefined variable: s:o_ru
*E15: Invalid expression: s:o_ru
+
:E15: Invalid expression: s:o_ru
   
*When running gVim:
+
:When running gVim:
*Error detected while processing function Daemon..<SNR>19_Cleanup:
+
:Error detected while processing function Daemon..<SNR>19_Cleanup:
*line 3:
+
:line 3:
*E121: Undefined variable: s:o_gcr
+
:E121: Undefined variable: s:o_gcr
*E15: Invalid expression: s:o_gcr
+
:E15: Invalid expression: s:o_gcr

Revision as of 07:37, 20 June 2011

Bug: Refuses to start on later versions of Vim

I haven't been able to run Daemon Saver for the past few versions of Vim. During two if statements in a section labeled "Set GUI options", running the script gives the following errors:

When running Vim from terminal:
Error detected while processing function Daemon..<SNR>18_Cleanup:
line 8:
E121: Undefined variable: s:o_ru
E15: Invalid expression: s:o_ru
When running gVim:
Error detected while processing function Daemon..<SNR>19_Cleanup:
line 3:
E121: Undefined variable: s:o_gcr
E15: Invalid expression: s:o_gcr