For extended powershell script, displaying functions with tagbar see this:
https://github.com/preservim/tagbar/issues/830
If it can help.
Have a good Day.
Nicolas
Le vendredi 12 août 2022 à 16:19:16 UTC+2, N V a écrit :
> And YES It Is !! :)
>
> Windows configuration of *vim9script ctags* extension
>
>
> *1/ In your $MYVIMRC ~_vimrc (here vim9script) just put these lines :*
>
> g:tagbar_type_vim = {
> kinds: [
>
> \ 'a:autocommand groups:1',
> \ 'c:commands:0:0',
> \ 'e:exported defs',
> \ 'f:functions',
> \ 'g:global variables',
> \ 'K:constants',
>
> \ 'm:maps:1:0',
> \ 'n:vimball filenames',
> \ 'v:variables:1:0',
> \ ],
> }
>
> *2/ In your $vimruntime ~ vim90 folder where there is ctags.exe v5.9 just
> add file in folder .ctags.d/vim.ctags*
>
> --kinddef-vim=e,export,Vim 9 exported defs
> --kinddef-vim=g,global,Vim 9 global variables
> --kinddef-vim=K,const,Vim 9 constants
> --regex-vim=/^\s*export\s+def\s+([^(]+)/\1/e,export/
> --regex-vim=/^\s*(g:\w+)\b/\1/g,global/
> --regex-vim=/^(\s*export\s+)?const\s+(\w+)/\2/K,const/
> --regex-vim=/^(\s*export\s+)?final\s+(\w+)/\2/K,const/
>
>
>
>
> and see the light : all exported defs vim9script functions are now
> displayed ! :) :)
> [image: Capture.PNG]
>
>
>
> THANK YOU Life !!
> Hope this help someone.
> Nicolas
> Le jeudi 11 août 2022 à 19:55:48 UTC+2, Lifepillar a écrit :
>
>> On 2022-08-11, N V <[email protected]> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_use/7e50faf3-93dc-42e9-9cf8-1149ee1106d0n%40googlegroups.com.