Thursday, August 11, 2022

Re: vim9 exported functions not recognized by ctags

  • Considering the help here https://docs.ctags.io/en/latest/man/ctags.1.html#ctags-1
       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/3cb510b6-c4ab-4d6e-b710-54264272d065n%40googlegroups.com.

No comments:

Post a Comment