summaryrefslogtreecommitdiff
path: root/modules/home-manager/helix.nix
blob: 59a803d3860ed6225ce3d8ee3206fe2e45c61d78 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ pkgs, inputs, ... }: {
  # https://github.com/catppuccin/helix
  # xdg.configFile."helix/themes".source = "${inputs.catppuccin-helix}/themes/default";

  programs.helix = {
    enable = true;
    package = pkgs.helix;
    # defaultEditor = true;
    themes = {
      catppuccin_mocha_transparent = {
        "inherits" = "catppuccin_mocha";
        "ui.background" = {};
      };
    };
    settings = {
      theme = "catppuccin_mocha_transparent";
      # theme = "base16_transparent";
      editor = {
        line-number = "relative";
        cursorline = true;
        color-modes = true;
        true-color = true;
        lsp.display-messages = true;
        cursor-shape = {
          insert = "bar";
          normal = "block";
          select = "underline";
        };
        indent-guides.render = true;
      };
    };
  };

  home.packages = with pkgs; [
          #helix plugins
        # vadimcn.vscode-lldb
        yaml-language-server #Language Server for YAML Files
        # typescript-language-server
        # rust-analyzer #A modular compiler frontend for the Rust language
        # solargraph #A ruby language server
        # clangd
        # vscode-json-language-server
        taplo #A TOML toolkit written in Rust
        # lua-language-server #A language server that offers Lua language support
        marksman #Language Server for Markdown
        texlab #An implementation of the Language Server Protocol for LaTeX
        nil #Yet another language server for Nix
        kdlfmt #Formatter for kdl documents
  ] ;   
}