[OpenIndiana-discuss] VIM 9: lost shell (read bash) syntax

Udo Grabowski (IMK) udo.grabowski at kit.edu
Mon Feb 20 15:49:16 UTC 2023


On 20/02/2023 16:20, Predrag Zecevic via openindiana-discuss wrote:
> Hi all,
>
> does anyone has nice .vimrc, which still obey syntax coloring? Especially for
> bash...
>
> Recently, vim was upgrade from version 8 to 9:
>
> :; pkg list *editor/vim*
> NAME (PUBLISHER) VERSION                    IFO
> editor/vim 9.0.1300-2023.0.0.0        i--
> editor/vim/vim-core 9.0.1300-2023.0.0.0        i--
>
> Since then, bash syntax coloring is not working with neither .vimrc (old one,
> and modified one). Or w/o .vimrc.
> Previously, that syntax highlighting could help a lot, when entering shell
> commands to point to the syntax error.
>
> Now, it is completely useless...
>
> Any thoughts? Anyone still uses it?

No problem here, with .vimrc

set encoding=utf-8
set term=xterm-color
syntax enable

everything highlights fine, even bash scripts.

-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



More information about the openindiana-discuss mailing list