TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why does Vim use Vimscript

1 点作者 sleazy_b大约 8 年前
I've been wondering about this recently and haven't seen a good answer. The question might be better put, "Why doesn't Vim support other languages for scripting?" I've found Vimscript illegible and difficult to debug, and the thought of implementing a meaningful project in it scares me off. Emacs has lisp, is there a reason Vim is stuck with Vimscript?

2 条评论

makecheck大约 8 年前
It is probably primarily due to age and inertia. It is at version 8 now, an eternity in software years. While it might be easy to bind your favorite scripting language to an app today, that surely wasn't so straightforward when "vim" began. And once more than a few people have invested great effort to create useful plug-ins, you would not be helping anyone by trying to completely rewrite the extension mechanism.
riskpeep大约 8 年前
Neovim supports Lua. Neovim != VIM, I know, but still something worth looking into.