关于 vim-addon-manager 的问题

关于 vim-addon-manager 的问题

我在用这是 vim 的插件管理器。安装后,我可以安装类似脚本标签列表,但我无法安装脚本octave.vim:vim-addon-manager 抱怨说No repository location info known for plugin octave

根据这一页,我运行了:call vam#install#LoadKnownRepos(),但是 vim 抱怨该函数没有足够的参数。

有人能给我提示吗?谢谢。

答案1

Nano 可以扩展以突出显示八度代码。

~/.nanorc
# Octave syntax colors
syntax "octave" "\.m$" "\.octaverc$"

# keywords
color brightyellow "(case|catch|do|else(if)?|for|function|if|otherwise|switch|try|until|unwind_protect(_cleanup)?|vararg(in|out)|while)"
color brightyellow "end(_try_catch|_unwind_protect|for|function|if|switch|while)?"
color magenta "(break|continue|return)"

# storage-type
color green "(global|persistent|static)"
# data-type
color green "(cell(str)?|char|double|(u)?int(8|16|32|64)|logical|single|struct)"

# embraced
color brightred start="\(" end="\)"  # this line needs to be fixed to work properly in all cases
color blue start="\[|\{" end="\]|\}"

# strings
color yellow ""(\\.|[^\"])*"|'(\\.|[^\"])*'"

# comments
color brightblue "#.*|%.*"

阅读Octave 维基

相关内容