Essaye la commande suivante dans vi: :syntax enable
ce n'est pas :syntax on ?
On m'aurait menti?
A moins que les deux fonctionnent...
-- Isammoc
Adrien Sévère
Isammoc wrote:
Essaye la commande suivante dans vi: :syntax enable
ce n'est pas :syntax on ?
On m'aurait menti?
A moins que les deux fonctionnent...
Salut,
Les deux fonctionnent, on peut dire ça... :help syntax ========================= ========================= ========================= === *:syn-enable* *:syntax-e nable* This command switches on syntax highlighting: >
:syntax enable
What this command actually does is to execute the command > :source $VIMRUNTIME/syntax/syntax.vim
[...] *:syn-on* *:synt ax-on* The ":syntax enable" command will keep your current color settings. This allows using ":highlight" commands to set your preferred colors before or after using this command. If you want Vim to overrule your settings with the defaults, use: :syntax on ========================= ========================= ========================= ===
Isammoc wrote:
Essaye la commande suivante dans vi:
:syntax enable
ce n'est pas
:syntax on
?
On m'aurait menti?
A moins que les deux fonctionnent...
Salut,
Les deux fonctionnent, on peut dire ça...
:help syntax
========================= ========================= ========================= ===
*:syn-enable* *:syntax-e nable*
This command switches on syntax highlighting: >
:syntax enable
What this command actually does is to execute the command >
:source $VIMRUNTIME/syntax/syntax.vim
[...]
*:syn-on* *:synt ax-on*
The ":syntax enable" command will keep your current color settings. This
allows using ":highlight" commands to set your preferred colors before or
after using this command. If you want Vim to overrule your settings with the
defaults, use:
:syntax on
========================= ========================= ========================= ===
Essaye la commande suivante dans vi: :syntax enable
ce n'est pas :syntax on ?
On m'aurait menti?
A moins que les deux fonctionnent...
Salut,
Les deux fonctionnent, on peut dire ça... :help syntax ========================= ========================= ========================= === *:syn-enable* *:syntax-e nable* This command switches on syntax highlighting: >
:syntax enable
What this command actually does is to execute the command > :source $VIMRUNTIME/syntax/syntax.vim
[...] *:syn-on* *:synt ax-on* The ":syntax enable" command will keep your current color settings. This allows using ":highlight" commands to set your preferred colors before or after using this command. If you want Vim to overrule your settings with the defaults, use: :syntax on ========================= ========================= ========================= ===