{ config, pkgs, ... }:

let
  myneovim = pkgs.myneovim.override {
    viAlias = true;
    vimAlias = true;
    enableDevIcons = true;
    enableTabby = true;
    grammarFileTypes = [
      "nix"
      "lua"
      "bash"
      "yaml"
      "json"
      "rust"
      "haskell"
      "typescript"
      "javascript"
      "html"
      "pug"
      "ledger"
    ];
  };
in
{
  home.packages = [ myneovim ];

  home.sessionVariables.EDITOR = "nvim";
}
