yegappan / fileselect

File Selector Vim Plugin
BSD 2-Clause "Simplified" License
18 stars 2 forks source link

use "ErrorMsg" highlight group instead of "Error" #13

Closed lacygoill closed 3 years ago

lacygoill commented 3 years ago

"Error" is not defined by default (i.e. if syntax on has not been run), while "ErrorMsg" is. "ErrorMsg" is listed at :h highlight-default, while "Error" is not.

In particular, if we start Vim like this:

vim -Nu NORC

"Error" does not exist, while "ErrorMsg" does.