Open smileboywtu opened 8 years ago
error key F9 cause when use the pyvimrc file cause there is no filename member in editorbuffer wrapper.
use python-magic library and libmagic lib to decide the file lexer from contents not file type
after test, it seems the recognition is so good as default method.
the config file need reverse
error key F9 cause when use the pyvimrc file cause there is no filename member in editorbuffer wrapper.