Thursday, August 11, 2022

Re: vim9 exported functions not recognized by ctags

ok -list-kinds=vim are now known inside vim through system(' ctags.exe --list-kinds=vim  ') command as shown in buffer left side,

on right side I don't see exported functions..

Capture.PNG

Le vendredi 12 août 2022 à 05:57:01 UTC+2, N V a écrit :
       It does not work for me with .ctags.d in $HOMEPATH

  2.1.14 FILES 
tags The default tag file created by ctags. 
TAGS The default tag file created by etags. 
$XDG_CONFIG_HOME/ctags/*.ctags, or $HOME/.config/ctags/*.ctags if 
$XDG_CONFIG_HOME is not defined (on other than MS Windows) 
$HOME/.ctags.d/*.ctags 
$HOMEDRIVE$HOMEPATH/ctags.d/*.ctags (on MS Windows only) 
.ctags.d/*.ctags ctags.d/*.ctags  


  • It works only if i change to directory embedding .ctags.d before launch ctags.exe --list-kinds=vim

Results :

somewhereOverTheRainbow\Vim\vim90>dir .ctags.d

 Répertoire de somewhereOverTheRainbow\Vim\vim90\.ctags.d

12/08/2022  05:30    <DIR>          .
12/08/2022  05:30    <DIR>          ..
12/08/2022  04:24               337 vim.ctags
               1 fichier(s)              337 octets
               2 Rép(s)  135 332 417 536 octets libres

somewhereOverTheRainbow\Vim\vim90>ctags --list-kinds=vim

a  autocommand groups
c  user-defined commands
f  function definitions
m  maps
v  variable definitions
n  vimball filename
C  constant definitions
e  Vim 9 exported defs
g  Vim 9 global variables
K  Vim 9 constants

somewhereOverTheRainbow\Vim\vim90>cd ..

somewhereOverTheRainbow\Vim>.\vim90\ctags.exe --list-kinds=vim

a  autocommand groups
c  user-defined commands
f  function definitions
m  maps
v  variable definitions
n  vimball filename
C  constant definitions




Or maybe I have to add to &path in Vim the folder that contains .ctags.d


Le jeudi 11 août 2022 à 19:55:48 UTC+2, Lifepillar a écrit :
On 2022-08-11, N V <niva...@gmail.com> wrote:
> So I put it in *somewhereOvertherainbow\*Vim\vim90\.ctags.d

If you put Ctags configuration there, does `ctags --list-kinds=vim`
still use it?

> But it seems to not runnning well : does not displays vim9 exported
> functions

I'm afraid I can't help you with Windows-specific configuration, as I'm
not using Windows.

Life.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ba521899-9301-4f57-908b-5f1f22ef151bn%40googlegroups.com.

No comments: