Re: vim9 exported functions not recognized by ctags

2022-08-11 Thread N V
- 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. *

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tim Chase
On Fri, Aug 12, 2022 at 12:29:24AM +0200, Tony Mechelynck wrote: > I believe that Vim has a good set of defaults, including (in recent > versions) sourcing defaults.vim when no user vimrc was found (if you > have a vimrc, and still want the settings of the defaults.vim, or most > of them like I

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tony Mechelynck
On Thu, Aug 11, 2022 at 3:18 PM Tim Chase wrote: > > On Thu, Aug 11, 2022 at 11:31:22AM +0200, Tony Mechelynck wrote: > >On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: > >> > >> I upgraded packages on my FreeBSD box yesterday and noticed that > >> vimrc behavior had changed. > [snip] > >>

Re: Build Vim without +vim9script

2022-08-11 Thread Lifepillar
On 2022-08-11, Bram Moolenaar wrote: > >> Is it possible to build Vim without support for Vim 9 script? >> >> I would like to build Vim without +vim9script for testing purposes. >> I have tried to pass --disable-vim9script to ./configure, but it does >> not recognize the option. And I can't find

Re: Build Vim without +vim9script

2022-08-11 Thread Bram Moolenaar
> Is it possible to build Vim without support for Vim 9 script? > > I would like to build Vim without +vim9script for testing purposes. > I have tried to pass --disable-vim9script to ./configure, but it does > not recognize the option. And I can't find anything related to Vim > 9 script in

Build Vim without +vim9script

2022-08-11 Thread Lifepillar
Is it possible to build Vim without support for Vim 9 script? I would like to build Vim without +vim9script for testing purposes. I have tried to pass --disable-vim9script to ./configure, but it does not recognize the option. And I can't find anything related to Vim 9 script in feature.h.

Re: vim9 exported functions not recognized by ctags

2022-08-11 Thread N V
Don't worry neither afraid.  It will be solved soon.. Le jeu. 11 août 2022 à 19:55, Lifepillar a écrit : > On 2022-08-11, N V 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? > > >

Re: vim9 exported functions not recognized by ctags

2022-08-11 Thread Lifepillar
On 2022-08-11, N V 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

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tim Chase
On Thu, Aug 11, 2022 at 11:31:22AM +0200, Tony Mechelynck wrote: >On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: >> >> I upgraded packages on my FreeBSD box yesterday and noticed that >> vimrc behavior had changed. [snip] >> :scriptnames > > Yes, it's your distro admins giving you what they

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tony Mechelynck
On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: > > I upgraded packages on my FreeBSD box yesterday and noticed that > vimrc behavior had changed. > > Prior to the upgrade, if I had a ~/.vimrc it wouldn't source the > defaults.vim file. > > :help VIMINIT > > > The first that exists is used, the

Re: Use Vim 9 script function for indentexpr?

2022-08-11 Thread Lifepillar
On 2022-08-10, Lifepillar wrote: > However, a Vim 9 script function does not seem to be called: > > vim9script > > def BarIndent() > echomsg "BarIndent called" > return indent(v:lnum - 1) + 4 > enddef > > setlocal indentexpr=BarIndent() > > Am I doing anything wrong?

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread N V
Hi Tim, Bram, In a "gradient minimalist" mode of vim, devoid of plugins, it might be interesting to have a file that contains the necessary facilities by default. In particular facilities, features allowing you to switch from this minimalist Vim mode to a more extensive mode including personal

Re: Building VIM 9 on Ubuntu

2022-08-11 Thread Gary Johnson
On 2022-08-11, Marius Gedminas wrote: > On Wed, Aug 10, 2022 at 10:11:28AM -0700, Gary Johnson wrote: > > b) View the dependencies and install the ones you want or need > > manually. > > > > $ apt show vim-gtk3 | grep ^Depends > > > > For each to be installed,

Re: vim9 exported functions not recognized by ctags

2022-08-11 Thread Lifepillar
Aah, the line for global vars got cut off the Ctags config: --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/

Re: vim9 exported functions not recognized by ctags

2022-08-11 Thread Lifepillar
On 2022-08-10, Lifepillar wrote: > On 2022-08-10, N V wrote: >> Hi, >> >> Exported functions in New vim9 are not found by exubérant ctags, universal >> ctags and not displayed by tagbar plugin >> https://github.com/preservim/tagbar >> >> Is there a work around. I'd like to elaborate a bit more

Re: Building VIM 9 on Ubuntu

2022-08-11 Thread Marius Gedminas
On Wed, Aug 10, 2022 at 10:11:28AM -0700, Gary Johnson wrote: > b) View the dependencies and install the ones you want or need > manually. > > $ apt show vim-gtk3 | grep ^Depends > > For each to be installed, run > > $ sudo apt install This

Re: Building VIM 9 on Ubuntu

2022-08-11 Thread Marius Gedminas
On Wed, Aug 10, 2022 at 01:31:27PM -0700, Gary Johnson wrote: > On 2022-08-10, 'J S' via vim_use wrote: > > Not trying to be difficult or insulting or anything like that, but so it > > boils > > down to, no, there is no easy way to do it. > > You (i.e., me) just have to figure it out. By the

Re: Building VIM 9 on Ubuntu

2022-08-11 Thread Marius Gedminas
On Wed, Aug 10, 2022 at 01:10:43PM +, 'J S' via vim_use wrote: > 1) Can someone give me a good list of all the dependencies and packages that I > need to install on my Ubuntu 18.04 (Yes, I know that is old, but that also > cannot be changed) system so that I can build a GTK3 version of Vim9?