Public bug reported:
Binary package hint: vim-runtime
In Ubuntu Gutsy...
$ cat ~/.vimrc
...
syntax on
...
$ touch test.adb
$ vim test.adb
"test.adb" 0L, 0C
Error detected while processing /usr/share/vim/vim71/ftplugin/ada.vim:
line 111:
E121: Undefined variable: g:ada_default_compiler
E15: Invalid expression: "compiler " . g:ada_default_compiler
Error detected while processing function ada#Map_Popup:
line 1:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\') .
" :"^I . a:Command . "<CR>"
E15: Invalid expression: "50amenu " . "PopUp." . escape(a:Text, ' ') .
"<Tab>"^I . escape(g:mapleader . "a" . a:Keys , '\'
) . " :"^I . a:Command . "<CR>"
Error detected while processing function ada#Map_Popup..ada#Map_Menu:
line 26:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\') .
" :"^I . a:Command . "<CR>"
E15: Invalid expression: "50amenu " . "Ada." . escape(a:Text, ' ') . "<Tab>" .
escape(g:mapleader . "a" . a:Keys , '\') . "
:"^I . a:Command . "<CR>"
line 31:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\')
." :" . a:Command
E15: Invalid expression: "nnoremap <buffer>" . escape(g:mapleader . "a" .
a:Keys , '\') ." :" . a:Command
line 35:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\')
." <C-O>:" . a:Command
E15: Invalid expression: "inoremap <buffer>" . escape(g:mapleader . "a" .
a:Keys , '\') ." <C-O>:" . a:Command
Error detected while processing function ada#Map_Popup:
line 1:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\') .
" :"^I . a:Command . "<CR>"
E15: Invalid expression: "50amenu " . "PopUp." . escape(a:Text, ' ') .
"<Tab>"^I . escape(g:mapleader . "a" . a:Keys , '\'
) . " :"^I . a:Command . "<CR>"
Error detected while processing function ada#Map_Popup..ada#Map_Menu:
line 26:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\') .
" :"^I . a:Command . "<CR>"
E15: Invalid expression: "50amenu " . "Ada." . escape(a:Text, ' ') . "<Tab>" .
escape(g:mapleader . "a" . a:Keys , '\') . "
:"^I . a:Command . "<CR>"
line 31:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\')
." :" . a:Command
E15: Invalid expression: "nnoremap <buffer>" . escape(g:mapleader . "a" .
a:Keys , '\') ." :" . a:Command
line 35:
E121: Undefined variable: g:mapleader
E116: Invalid arguments for function escape(g:mapleader . "a" . a:Keys , '\')
." <C-O>:" . a:Command
E15: Invalid expression: "inoremap <buffer>" . escape(g:mapleader . "a" .
a:Keys , '\') ." <C-O>:" . a:Command
** Affects: vim (Ubuntu)
Importance: Undecided
Status: New
--
vim-runtime (Gutsy): ada.vim with syntax errors
https://bugs.launchpad.net/bugs/152277
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs