Farewell, spacevim, welcome lazyvim

Today I wanted to add dart support to my spacevim setup, so I opened https://spacevim.org/. What a surprise, I got redirected to https://wsdjeg.net/why-spacevim-is-archived/ that stated

SpaceVim 这一项目起源于 2016 年 12 月份,于 2025 年 2 月 21 日停止维护。

Thanks to Firefox automatic translation I read that

The SpaceVim project originated in December 2016 and was discontinued on February 21, 2025.

Needless to say I was a little mithered. Luckily there are several other “(neo)vim distribition” that turn our beloved editor into a full-fledged IDE. Since I have been told by my fellows of PoUL that even LunarVim is not so healthy I followed their suggestion installing lazyvim.org which is NeoVim-specific but worked out-of-the-box. Well, almost. In fact its dart support require a fairly recent version of NeoVim (0.10+) and I discovered after a while that I was running a not so current release (0.9). After adding flutter/dart support following this Reddit comment, it worked like a breeeze.

Here’s the small required additions:

You can add in plugins folder, But I have created a file in lua/plugins/extras/lang/flutter.lua

flutter.lua

return {
  {
    "akinsho/flutter-tools.nvim",
    dependencies = { "nvim-lua/plenary.nvim" },
    config = function()
      require("flutter-tools").setup{}
    end,
  },
}

and loading by adding in spec in lua/config/lazy.lua

  spec = {
    ....
    { import = "plugins.extras.lang.flutter" },
Thanks to mraza08 (from Reddit)

Well, “of course” I should have managed the configuration as a git repository, but well, I’ll do it later…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.