Tony wrote:

> This did not happen at patchlevel 372
> 
> Error detected while processing command line..script
> /root/Session.vim[12]..BufRead Autocommands for "*.htm"..script
> /usr/local/share/vim/vim90/autoload/dist/ft.vim:
> line  114:
> E15: Invalid expression: " '')"
> E475: Invalid argument: default = '')
> Error detected while processing command line..script
> /root/Session.vim[12]..BufRead Autocommands for "*.htm":
> E117: Unknown function: dist#ft#FThtml
> 
> The first one comes from
> 
> export def BindzoneCheck(default = '')
>   if getline(1) .. getline(2) .. getline(3) .. getline(4)
>       =~ '^; <<>> DiG [0-9.]\+.* <<>>\|$ORIGIN\|$TTL\|IN\s\+SOA'
>     setf bindzone
>   elseif default != ''
>     exe 'setf ' .. default
>   endif
> enddef
> 
> This script has "vim9script" at top but my own vimrc and owncoded
> Session.vim are written in pre-vim9 script language.

Fixed with 9.9.0377.  Skipping over white space used the wrong pointer.

-- 
I learned the customs and mannerisms of engineers by observing them, much the
way Jane Goodall learned about the great apes, but without the hassle of
grooming.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" 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_dev/20220904145755.454091C0CE4%40moolenaar.net.

Raspunde prin e-mail lui