Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Round Numbers are always false. -- Samuel Johnson


computers / comp.editors / Vim error msg when opening .ini file

SubjectAuthor
o Vim error msg when opening .ini filerj

1
Vim error msg when opening .ini file

<ublheo$4f6$2@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=32&group=comp.editors#32

  copy link   Newsgroups: comp.editors
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.2600:4041:44a8:3400:11e7:d9a:ab9b:d323!not-for-mail
From: rj@panix.com.invalid (rj)
Newsgroups: comp.editors
Subject: Vim error msg when opening .ini file
Supersedes: <ublg77$41v$1@reader2.panix.com>
Date: Thu, 17 Aug 2023 12:21:44 -0400
Organization: Disorganization
Message-ID: <ublheo$4f6$2@reader2.panix.com>
Injection-Date: Thu, 17 Aug 2023 16:21:44 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="2600:4041:44a8:3400:11e7:d9a:ab9b:d323";
logging-data="4582"; mail-complaints-to="abuse@panix.com"
User-Agent: slrn/pre1.0.4-9 (Linux)
X-Superseded-Date: 2023-08-17
 by: rj - Thu, 17 Aug 2023 16:21 UTC

Vim shows the following long error message when I
open a file that has a dot-ini (.ini) file extension:

Error detected while processing
/usr/share/vim/vimrc[25]../usr/share/vim/vim90/syntax/syntax.vim[44]..BufRead
Autocommands for "*~"..BufRead Autocommands for "*.ini"..FileType
Autocommands for "*"..Syntax Autocommands for "*"..function
<SNR>3_SynSet[25]..script /usr/share/vim/vim90/syntax/dosini.vim: line 28:
E10: \ should be followed by /, ? or &

Implementing that suggestion at the end of the message had no effect. (Or,
rather, it made the error message even longer and more incrutable.)

--> vim --version

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Aug 15 2023 20:47:29)
Included patches: 1-1713
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_urxvt -tag_any_white
+arabic +find_in_path +mouse_xterm -tcl
+autocmd +float +multi_byte +termguicolors
+autochdir +folding +multi_lang +terminal
-autoservername -footer -mzscheme +terminfo
-balloon_eval +fork() +netbeans_intg +termresponse
+balloon_eval_term +gettext +num64 +textobjects
-browse -hangul_input +packages +textprop
++builtin_terms +iconv +path_extra +timers
+byte_offset +insert_expand -perl +title
+channel +ipv6 +persistent_undo -toolbar
+cindent +job +popupwin +user_commands
-clientserver +jumplist +postscript +vartabs
-clipboard +keymap +printer +vertsplit
+cmdline_compl +lambda +profile +vim9script
+cmdline_hist +langmap -python +viminfo
+cmdline_info +libcall +python3 +virtualedit
+comments +linebreak +quickfix +visual
+conceal +lispindent +reltime +visualextra
+cryptv +listcmds +rightleft +vreplace
+cscope +localmap -ruby +wildignore
+cursorbind -lua +scrollbind +wildmenu
+cursorshape +menu +signs +windows
+dialog_con +mksession +smartindent +writebackup
+diff +modify_fname +sodium -X11
+digraphs +mouse -sound -xfontset
-dnd -mouseshape +spell -xim
-ebcdic +mouse_dec +startuptime -xpm
+emacs_tags +mouse_gpm +statusline -xsmp
+eval -mouse_jsbterm -sun_workshop -xterm_clipboard
+ex_extra +mouse_netterm +syntax -xterm_save
+extra_search +mouse_sgr +tag_binary
-farsi -mouse_sysmouse -tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"

Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wdate-time -g -O2
-ffile-prefix-map=/build/vim-9Zy3tT/vim-9.0.0749+really.v9.0.1713=.
-flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -Wl,-Bsymbolic-functions
-flto=auto -

:set runtimepath? shows:

runtimepath=~/.vim,/var/lib/vim/addons,/etc/vim,/usr/share/vim/vimfiles,
/usr/share/vim/vim90/,/usr/share/vim/vimfiles/after,/etc/vim/after,
/var/lib/vim/addons/after,~/.vim/after

I have vim-plug, the vim plugin manager, in ~/.vim/autoload/plug.vim but no
plugins currently installed,

How can I get Vim to open .ini files without showing error message(s)?

Thank you for reading.


computers / comp.editors / Vim error msg when opening .ini file

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor