让ultisnips支持gbk编码.

地址在此:E:\soft\Vim\vimfiles\bundle\ultisnips\pythonx\UltiSnips\snippet\source\file
下面的base.py61行,将utf8改成如下的gbk:

        with open(filename, "r", encoding="gbk") as to_read:

哈哈,也可以用gbk编码snippet了.

posted @ 2020-04-13 10:27  zjh6  阅读(13)  评论(0)    收藏  举报  来源