configuration.nix/home/ivand/programs/neovim/hs.nix

21 lines
337 B
Nix
Raw Normal View History

2023-10-22 18:52:48 +02:00
{ pkgs, lib, ... }:
let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
haskell
];
in
{
programs.neovim = {
extraPackages = with pkgs; [
haskell-language-server
];
plugins = with pkgs.vimPlugins; grammars ++ [
];
extraLuaConfig = ''
addServers({
hls = {}
})
'';
};
}