aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nixvim/plugins/treesitter.nix
blob: 9421851b1162cd905f7b8e7aa2f3b65a1cce7fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, lib, ... }:

# Treesitter - Syntax highlighting and parsing (nvim-treesitter)
{
  config.programs.nixvim.plugins.treesitter = lib.mkIf config.tools.nixvim.enable {
    enable = true;
    folding = {
      enable = true;
    };
    settings = {
      highlight = {
        enable = true;
      };
      indent = {
        enable = true;
      };
    };
  };
}