DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

ref: 0fd19f4f47d0f8741dbebe1f6f0fa984a22c756d nvim-flake/config/plugins/lsp.nix -rw-r--r-- 749 bytes
0fd19f4fJonni Liljamo feat(lsp): make sure tailwindcss is attached to these types 15 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{pkgs, ...}: {
  plugins = {
    lsp = {
      enable = true;
      servers = {
        gopls.enable = true;
        html.enable = true;
        htmx.enable = true;
        nil_ls.enable = true;
        protols = {
          enable = true;
          package = pkgs.protols;
        };
        pylsp.enable = true;
        rust_analyzer = {
          enable = true;
          installCargo = false;
          installRustc = false;
          settings.cargo.loadOutDirsFromCheck = true;
        };
        taplo.enable = true;
        tailwindcss = {
          enable = true;
          filetypes = ["html" "markdown" "rust" "templ"];
        };
        templ.enable = true;
        yamlls.enable = true;
      };
    };
    fidget.enable = true;
  };
}