haskellmode-vim死了吗? [英] Is haskellmode-vim dead?

查看:169
本文介绍了haskellmode-vim死了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是从我的插件配置中禁用了 haskellmode-vim 。基本上这是由于三个原因:


  1. 我更喜欢 neocomplcache 来满足我的自动完成需求。
  2. 显然它自2010年以来没有更新。

  3. 它似乎与 cabal
  4. 不兼容。 code>

我希望有人跳进坑里并指出我只是错误地配置了整个东西(如我在自述中配置了最基本的东西)。为了解决这个问题:



是否可以设置haskellmode,以便...




  • ...它从cabal获得它的配置?

  • ...它没有设置`completefunc',以便neocomplcache仍然有效?

解决方案

作者在这里。自2010年以来,我没有太多的机会与Haskell一起工作,因此Vim的haskellmode从那时起一直没有开发出来。



我以前认为某人必须写更好的东西,或者说我的旧代码可能不适用于较新的版本,但每隔几个月,有人会通过邮件告诉我他们仍然在使用这个插件,它仍然适用于他们(这是一个令人惊喜和不舒服的提醒缺乏开发/维护的混合)。



一些他们在github上创建了克隆(上次我查了一下,大概有十几个),通常是为了适应Vim插件管理中的最新时尚(可能有小小的黑客通过cabal构建它,但我记得没有完整的集成) 。如果你希望有人重写completefunc,Vim会给你很多控制插件加载的顺序。



我仍然希望haskellmode-vim退出使用状态迟早。然而,如果有人愿意继续为github克隆之一进行维护,那也可以。

只要给予了信用,并且修改过的插件被标记为这样,我也很高兴看到来自其他插件中使用的haskellmode-vim的想法(以前在vim和emacs haskell插件之间有一个很好的交换意见),所以更现代和活跃的插件可以吸收来自haskellmode-vim的任何缺失的功能。


I just disabled haskellmode-vim from my plugin configurations. Basically this was for three reasons:

  1. I prefer neocomplcache for my auto completion needs.
  2. Apparently it wasn't updated since 2010.
  3. It doesn't seem to be compatible with cabal

I hope that someone jumps in the pit and points out that I just have misconfigured the whole thing (as in I configured the most basic thing in the readme). To make this a question:

Is it possible to setup haskellmode such that ...

  • ... it gets its configuration from cabal?
  • ... it doesn't set `completefunc' so that neocomplcache still works?

解决方案

Author here. I haven't had much chance to work with Haskell since 2010, so haskellmode for Vim has not been developed since then, either.

I used to think someone must have written something better since, or that my old code probably doesn't work with newer releases, but every few months, someone mails me telling that they are still using this plugin and it still works for them (which is a mix of pleasant surprise and uncomfortable reminder of the lack of development/maintenance).

Some of them have created clones on github (last time I checked, there were about a dozen), usually to accomodate the latest fashion in Vim plugin management (there may have been small hacks to make it build via cabal, but I recall no complete integration). Vim gives you a lot of control over the order of plugin loading, if you want someone else to override the completefunc.

I still expect haskellmode-vim to drop out of usage sooner or later. However, if someone were to step forward willing to take on maintenance for one of the github clones, that would be fine, too.

As long as credit is given, and modified plugins are marked as such, I'm also happy to see ideas from haskellmode-vim used in other plugins (there used to be a happy exchange of such ideas between vim and emacs haskell plugins), so more modern and active plugins could absorb any missing features from haskellmode-vim.

这篇关于haskellmode-vim死了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆