krischik / vim-scripts

Automatically exported from code.google.com/p/vim-scripts
GNU General Public License v3.0
1 stars 0 forks source link

ada-mode: gnat tags and gnat find #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using gnatfind, from menu:
gnat#find..gnat#Get_Command:
key not present in dictionary: Find_Command,

I think because it is called Find_Program in gnat.vim?
Perhaps function gnat#New should contain:
      \ 'Find_Command'     : '"gnat find -P " . self.Project_File . " *.ad* "',

When using gnat tags:
:!gnat xref -P -v *.AD*
returns no match, in fact my files are named *.ad*, i.e.
lowercase;
Also, if I have a single file open, vim quits directly after
gnat tags.
gnat xref -P <your project> *.ad?
currently works well, however it seems that vim has problems with
sometimes long identifiers that it produces.

What version of the product are you using? On what operating system?
vim74, debian-wheezy.

Thank you
Fulvio Ciriaco

Original issue reported on code.google.com by dhmocr...@gmail.com on 9 Dec 2013 at 4:50