微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

【vim】Vim: Error detected while processing function <SNR>37_MRU_LoadList错误

00. 目录

01. 问题描述

每一次使用vim打开已经存在文件或者新的文件,都会出现如下问题:

Error detected while processing function <SNR>37_MRU_LoadList:
line    5:
E684: list index out of range: 0
E15: Invalid expression: s:MRU_files[0] =~# '^\s*" Most recently edited files in Vim'
Press ENTER or type command to continue

02. 原因分析

Seems like you’re using the mru.vim - Plugin to manage Most Recently Used (MRU) files,and somehow the storage file has become corrupted.

其实就是mrc.vim插件的问题。mru.vim插件中的存储文件被破坏了。

03. 解决办法

Try removing it:

:call delete(g:MRU_File)

在当前vim的末行模式中输入如下命令删除对应的文件

原文地址:https://www.jb51.cc/vim/387880.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐