Skip to content

Commit

Permalink
feat(neovim): added a new LSP configuration for elixir
Browse files Browse the repository at this point in the history
Added HTML, HTMX, Tailwindcss and extend support for Haskell LSP(I mean
add support for other haskell file types)
  • Loading branch information
Wittano committed Jan 8, 2025
1 parent 5040090 commit eac3571
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
7 changes: 6 additions & 1 deletion home-manager/ide.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ let
web.package = webstorm;
andorid.package = unstable.andorid-studio;
haskell.extraConfig = fork.extraConfig;
elixir = haskell;
elixir.extraConfig = mkMerge [
haskell.extraConfig
{
home.packages = with pkgs; [ vscodium ];
}
];
fork.extraConfig = {
programs.nixvim.enable = true;
};
Expand Down
16 changes: 15 additions & 1 deletion home-manager/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,20 @@ with lib;
R = "rename";
};
};
servers = {
servers = rec {
html = {
enable = true;
filetypes = [ "html" "heex" "jsx" "tsx" ];
};
htmx = {
inherit (html) filetypes;

enable = true;
};
tailwindcss = {
enable = true;
filetypes = html.filetypes ++ [ "css" ];
};
elixirls.enable = true;
bashls = {
enable = true;
Expand All @@ -137,6 +150,7 @@ with lib;
hls = {
enable = true;
installGhc = true;
filetypes = [ "haskell" "lhaskell" "cabal" ];
package = pkgs.haskell-language-server;
};
dockerls.enable = true;
Expand Down

0 comments on commit eac3571

Please sign in to comment.