about summary refs log tree commit diff stats
path: root/modules/home/conf/nvim/plgs/ltex_extra/default.nix
blob: af78c7a5ec55cc3c2b2bf488959e8a71804d44dc (plain) (blame)
1
2
3
4
5
6
7
8
9
{pkgs, ...}: {
  programs.nixvim = {
    # 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;
  };
}