vim how to set good indet without syntax highlighting? -
i have mapped f8 :set syntax=off<cr>.
i editing without syntax highlighting, if switch syntax off, indent rules switched off. how can have indent without syntax highlighting?
if vim autoindent ok , can
set autoindent after "syntax off".
on other hand, if use own index function. try run following command, may help.
set indentexpr=<your function> or check indent function by:
set indentexpr? and reset result after "syntax off"
Comments
Post a Comment