system/users/modules/editor.nix

33 lines
511 B
Nix

{ config, pkgs, ... }:
let
myneovim = pkgs.myneovim.override {
viAlias = true;
vimAlias = true;
enableDevIcons = true;
enableTabby = true;
enableOrgMode = true;
grammarFileTypes = [
"nix"
"lua"
"bash"
"yaml"
"json"
"rust"
"haskell"
"typescript"
"javascript"
"python"
"sql"
"html"
"pug"
"ledger"
"org"
];
};
in
{
home.packages = [ myneovim ];
home.sessionVariables.EDITOR = "nvim";
}