无法安装 vim 表格插件 [英] Can't install vim Tabular Plugin
问题描述
tabular 插件没有安装说明.我尝试将文件复制到正确的文件夹中,或者放入 ~/.vim/bundle
下让病原体处理它,在这两种情况下,我在加载 vim 时都会收到以下错误消息(如果有任何问题,消息会重复 6 次).
There are no installation instructions for the tabular plugin. I tried either copying the files into the correct folders, or putting in under ~/.vim/bundle
to let pathogen deal with it, in both cases I get the following error messages when I load up vim (if it's of any concern, the message is repeated 6 times).
AddTabularPattern: Vim(runtime):E194: 没有替代文件名来替代 '#': runtime autoload/tabular#ElementFormatPattern.vim
AddTabularPattern: Vim(runtime):E194: No alternate file name to substitute for '#': runtime autoload/tabular#ElementFormatPattern.vim
<小时>
编辑一些有助于诊断问题的更多信息
EDIT some more information if it will help diagnose the problem
这是文件存储在我的~/.vim/bundles/godlygeek-tabular-b7b4d87
文件夹中的位置(显然我没有显示所有文件)
Here is where the files are stored in my ~/.vim/bundles/godlygeek-tabular-b7b4d87
folder (not I obviously have not shown all files)
.vim/
├── [drwxrwxr-x] bundle
│ ├── [drwxrwxr-x] godlygeek-tabular-b7b4d87
│ │ ├── [drwxrwxr-x] after
│ │ │ └── [drwxrwxr-x] plugin
│ │ │ └── [-rw-rw-r--] TabularMaps.vim
│ │ ├── [drwxrwxr-x] autoload
│ │ │ └── [-rw-rw-r--] tabular.vim
│ │ ├── [drwxrwxr-x] doc
│ │ │ └── [-rw-rw-r--] Tabular.txt
│ │ └── [drwxrwxr-x] plugin
│ │ └── [-rw-rw-r--] Tabular.vim
推荐答案
你能告诉我们更多关于你的设置吗?如果可能的话,有图表吗?
Could you tell us a bit more about your setup? With a diagram if possible?
AddTabularPattern
命令被 after/plugin/TabularMaps.vim
调用了 6 次,并在 plugin/Tabular.vim
中声明.不过,我不明白为什么它会触发 #
的扩展.
The AddTabularPattern
command is called exactly 6 times from after/plugin/TabularMaps.vim
and declared in plugin/Tabular.vim
. I don't see why it would trigger the expansion of #
, though.
这篇关于无法安装 vim 表格插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!