Sunday, August 20, 2023

Re: SOLVED: Vim error message when opening .ini file

I'm runing Steve Gibson's DNSBench program under wine.
https://www.grc.com/dns/benchmark.htm

It automatically creates a custom list of nearby DNS servers as a .ini file and puts it in the same directory as the program.
 
Before this, I probably have never before opened a .ini file in Vim.
On Sunday, August 20, 2023 at 1:40:32 PM UTC-4 Christian Brabandt wrote:

On So, 20 Aug 2023, Melvin Q. Watchpocket wrote:

> OK!  This works! 
> I've replaced the old dosini.vim file with yours posted above. 

Great to hear.

>
> Using this file now as my /usr/share/vim/vim90/syntax/dosini.vim file, I can open a .ini file WITHOUT getting any error messages.
>
> Thank you, Christian!  
>
> One question: should I be seeing some syntax coloring in a .ini file like the one I've opened in Vim?  Here is the file, which appears in "black & white": 
>
>   1 127.0.0.53             localhost                                                                                                                 2 4.2.2.2                   b.resolvers.level3.net
>   3 4.2.2.4                   d.resolvers.level3.net
>   4 4.2.2.6                   f.resolvers.level3.net
>   5 64.69.98.35           spr-resolv3-sun.onecommunications.net
>   6 64.80.255.251       ··· no official Internet DNS name ···
>   7 64.215.98.148       dns1.lon.gblx.net
>   8 66.6.65.5               ··· no official Internet DNS name ···
>   9 66.28.0.45             res1.dns.cogentco.com
>  10 66.92.159.2          dns.wdc1.speakeasy.net
>  11 66.109.229.4        dns3.dejazzd.com
>  12 66.153.50.66        dns1-nyc.paetec.net
>  13 68.237.161.12      nsnyny01.verizon.net
>  14 74.82.42.42          ordns.he.net
>  15 129.250.35.250    x.ns.gin.ntt.net
>  16 129.250.35.251    y.ns.gin.ntt.net
>  17 151.197.0.37        world4.bellatlantic.net
>  18 151.198.0.38        nsnwrk.bellatlantic.net
>  19 151.198.0.39        home5.bellatlantic.net
>  20 151.201.0.38        nspitt.bellatlantic.net

this does not seem to be a typical ini file. Not sure why you are using
the .ini file extension.

Best,
Christian
--
You will be winged by an anti-aircraft battery.

--
--
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/f2f5b3e1-eb4e-4d48-94e3-8a55384feb29n%40googlegroups.com.

No comments: