autoload/adacomplete.vim : Omni-Competion for Ada (inactive, replaced by vimscript#1609)
| script karma |
Rating 21/6,
Downloaded by 798
|
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Martin Krischik |
| |
| script type |
| ftplugin |
| |
| description |
This plugin is superseded by vimscript#1609.
Omnicompletions which uses tags database created by "gnat xref -v >tags".
It is a lot simpler then the other omnicompletion plugins which is quite helpfull if you plan to write your own.
NOTE: "gnat xref -v" is very tricky to use as it has almost no diagnostic output - If nothing is printed then usualy the parameters are wrong. Here some important tips:
1) You need to compile your code first and use the "-aO" option to point to your .ali files.
2) "gnat xref -v ../Include/adacl.ads" won't work - use the "gnat xref -v -aI../Include adacl.ads" instead.
3) "gnat xref -v -aI../Include *.ad?" won't work - use "cd ../Include" and then "gnat xref -v *.ad?"
4) Project manager support is completely broken - don't even try "gnat xref -Padacl.gpr".
5) VIM is faster when the tags file is sorted - use "sort --unique --ignore-case --output=tags tags" .
6) Remember to insert "!_TAG_FILE_SORTED 2 %sort ui" as first line.
Reports errors to: http://code.google.com/p/vim-scripts/issues/list
Discuss improvements on: http://groups.google.com/group/vim_scripts
|
| |
| install details |
Into the autoload with it.
Install a current ftplugin for ada as well.
Create a tags file using "gnat xref -v >tags".
Use together with:
vimscript#1554 autoload/adacomplete.vim
vimscript#1548 ftplugin/ada.vim
vimscript#1353 syntax/ada.vim |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 23.22.252.150
|