[kwlug-disc] Syntax and indenting in vim 8.0 driving me crazy ...
Paul Nijjar
paul_nijjar at yahoo.ca
Mon Feb 19 22:51:13 EST 2018
On Mon, Feb 19, 2018 at 06:27:43PM -0500, Khalid Baheyeldin wrote:
>
> On the Ubuntu machines, with vim 7.4, it all works well. Syntax and
> indenting work correctly for the files I used on a daily basis, such as
> config files, .yaml, python, c, and php. I don't have a .vimrc file anymore.
>
> However, on Raspian 9's vim 8.0, syntax highlighting is correct, but
> indentation is wrong and it forces wrong indents when I add lines, ...etc.
>
> So:
>
> Anyone encounter this issue?
I have not encountered this issue, but it seems others have had
similar problems with colours.
When you load a file in the Raspberry Pi, does a simple
:syntax on
bring highlighting back? If so you can try that in your .vimrc .
The internets suggest there is a bug with respect to syntax
highlighting in Vim 8.0, but I am sure you are better at finding this
stuff than me.
Nonetheless, this post:
https://vi.stackexchange.com/questions/12796
suggests that maybe a
set nocompatible
in your .vimrc might bring back the behaviour.
- Paul
--
http://pnijjar.freeshell.org
More information about the kwlug-disc
mailing list