Article View: comp.editors
Article #7Re: Vim - set differing syntaxes in split view of the same source file?
From: Eric Pozharski
Date: Thu, 08 Oct 2026 10:52
Date: Thu, 08 Oct 2026 10:52
24 lines
2196 bytes
2196 bytes
with <11a7c9o$2fkbe$4@dont-email.me> Janis Papanagnou wrote: > On 2026-10-07 20:42, Kenny McCormack wrote: >> In article <11a5t6k$2fkbe$3@dont-email.me>, Janis Papanagnou >> <janis_papanagnou+ng@hotmail.com> wrote: ... >>> I wonder whether such a feature - to override the file specific >>> syntax setting in split-views - would be worthwhile to have.[*] >>> (This is just a poll on opinions, yet an academic question.) >> I think not. I assume that the syntax highlighting variables are >> local to the buffer. This is basically a feature - it's how buffers >> work. *SKIP* [ 27 lines 3 levels deep] > I thought I just ask for a second opinion. - Thanks! (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. -- Torvalds' goal for Linux is very simple: World Domination Stallman's goal for GNU is even simpler: Freedom
Technical Details
Message-ID:
<slrn11cetf7.of6.apple.universe@freight.zombinet>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-mailReferences:
<11a5t6k$2fkbe$3@dont-email.me> <11a63qf$35cge$1@news.xmission.com> <11a7c9o$2fkbe$4@dont-email.me>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: Eric Pozharski <apple.universe@posteo.net> Newsgroups: comp.editors Subject: Re: Vim - set differing syntaxes in split view of the same source file? Date: Thu, 08 Oct 2026 10:52:23 +0000 Organization: A noiseless patient Spider Lines: 24 Message-ID: <slrn11cetf7.of6.apple.universe@freight.zombinet> References: <11a5t6k$2fkbe$3@dont-email.me> <11a63qf$35cge$1@news.xmission.com> <11a7c9o$2fkbe$4@dont-email.me> Injection-Date: Thu, 08 Oct 2026 17:43:28 +0000 (UTC) Injection-Info: dont-email.me; logging-data="87097"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tJzEATehs9m/cEqG4eIKI"; posting-host="504274410cbbbe6ff2413ed13ef010f2" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:z2ci4tp8NgVSJI684j9jQN5Psg4= sha256:sJy5uM7W8pvb4jCeO3wkLyyzGIdhGo8TXathRRch74s= sha1:Di4er23YCuuAZgzlt22W96vyzTI= sha256:qhcV9AGF+yamfbj/m+FydKhBI8mlvfRmH4QudD9QeR4=