🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #6

Re: Vim - set differing syntaxes in split view of the same source file?

#6
From: Janis Papanagnou
Date: Thu, 08 Oct 2026 18:07
22 lines
2093 bytes
On 2026-10-08 12:52, Eric Pozharski wrote:
> 
> (disclaimer) I've not developed intuition about files-buffers-windows
> yet (and my fight with :hi hasn't even started), but looks like
> 
> 	:h :ownsyntax
> 
> is what you're after.  Would it work is beyond my understanding.

I just read your interesting hint; as described that's exactly
what I had been after. And quick test shows that it works! :-)

As I had written in my previous post:
"even after decades it [Vim] did still surprise me a at times!"

Once again it seems it's in case of Vim not that you cannot do
something specific but that you just have to find where it is.

Thanks!

Janis
Technical Details
Message-ID: <11a8m47$2fkbe$6@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11a5t6k$2fkbe$3@dont-email.me> <11a63qf$35cge$1@news.xmission.com> <11a7c9o$2fkbe$4@dont-email.me> <slrn11cetf7.of6.apple.universe@freight.zombinet>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.editors
Subject: Re: Vim - set differing syntaxes in split view of the same source
 file?
Date: Thu, 8 Oct 2026 20:07:03 +0200
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <11a8m47$2fkbe$6@dont-email.me>
References: <11a5t6k$2fkbe$3@dont-email.me>
 <11a63qf$35cge$1@news.xmission.com> <11a7c9o$2fkbe$4@dont-email.me>
 <slrn11cetf7.of6.apple.universe@freight.zombinet>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 08 Oct 2026 18:07:04 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2609518"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19d4celdr9tDAnLi9Mq/J0Z"; posting-host="23ea007eea66c34423c9a3219a9f8d24"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:XUt0UvYjLKpRaOxzuI+maps9Qqg= sha256:ZuCdhOdEQHH3uwa/rYc69Nlh57+BQEJTmWreDrT/PdQ=
	sha1:0sUF1CiUGeeQweZkOpD62WbQjvo= sha256:Khffita2Qmt1+ckurOcIGpBiwN1eZ/LnIeE4pecbvZU=
In-Reply-To: <slrn11cetf7.of6.apple.universe@freight.zombinet>
Content-Language: en-US