Monday, June 10, 2019

Re: Vim terminal syntax highlights

On Mon, Jun 10, 2019 at 2:59 PM Tatenda Biti <tatebiti@gmail.com> wrote:
On Saturday, June 8, 2019 at 11:38:23 AM UTC-4, JESii wrote:
> I agree with meine -- when I look at your vim screenshot, it's clear to me that there IS synta highlighting applied to your file. It's just different than the newvim screenshot you provided.
>
> > > it probably depends on the colorscheme you use (what and how your syntax
> > > is displayed) and on a line in your .vimrc: `syntax enable'
> > >
> > > see also `:help syntax' for further instructions on the use and
> > > possibilities.
> > >
> > > //meine
> >
> > Pretty sure that is not the case:
> >
I don't think I was clear this is Gvim on windows. When you create a terminal buffer there are no colors. Do you use Windows Gvim and have colors in the terminal??

When you say "terminal", are you talking about the window at the bottom that shows the Python interpreter? I'm pretty sure those "windows" (they aren't really first-class citizens in Vim's window layout, e.g. you can't resize them, move them around, etc.) have never had syntax coloring in Vim proper; you need an actual window with an actual buffer (for instance a file you're editing) to have syntax highlighting. I'm not sure how NeoVim goes about it; it looks like they just use one style for things in quotes, one for sequences that look like times, and another for sequences that look like integer or floating-point numbers; whether there's an actual file *type* behind all that I don't know. It might be that they just figured 

In my experience, for whatever reason, when I run commands like :!python in Windows gVim, I always get a separate Windows command prompt window that holds the command I've launched from Vim. On other platforms, I get something like what you show in the Vim 8 screenshot.

--
        Eric Christopherson

--
--
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/CADyB93DTaM8nMonPdMaC4Ps-5WjOkv4-6y_fSXzF1ZzaQ-gUjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment