blob: c37a75914555291cfbddedb7ed993d3b0394b22a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{
pkgs,
config,
lib,
...
}: let
cfg = config.soispha.programs.nvim;
in {
home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable {
# TODO: package ltex_extra though a module
extraPlugins = [
pkgs.vimPlugins.ltex_extra-nvim
];
plugins.lsp.servers.ltex.onAttach.function = builtins.readFile ./lua/ltex_extra.lua;
};
}
|