added automatic discovery of nimrod library paths and any tags files residing there
This commit is contained in:
parent
03615f8caa
commit
0224eb03d2
1 changed files with 11 additions and 0 deletions
|
|
@ -13,6 +13,17 @@ setlocal commentstring=#\ %s
|
||||||
|
|
||||||
compiler nimrod
|
compiler nimrod
|
||||||
|
|
||||||
|
if executable('nimrod')
|
||||||
|
let nimrod_paths = split(system('nimrod dump'),'\n')
|
||||||
|
let &l:tags = &g:tags
|
||||||
|
|
||||||
|
for path in nimrod_paths
|
||||||
|
if finddir(path) == path
|
||||||
|
let &l:tags = path . "/tags," . &l:tags
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
endif
|
||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue