haskell for neovim
This commit is contained in:
parent
78fa5330e3
commit
504675e25c
@ -15,7 +15,7 @@ let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ ./bash.nix ./nix.nix ./lua.nix ./js.nix ./util.nix ];
|
imports = [ ./hs.nix ./bash.nix ./nix.nix ./lua.nix ./js.nix ./util.nix ];
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
20
home/laptop/programs/neovim/hs.nix
Normal file
20
home/laptop/programs/neovim/hs.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ 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 = {}
|
||||||
|
})
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user