aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/nixvim/plugins/treesitter.nix
blob: 035ac7a1ac72d30af52e82e24677a4ec47de4fea (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.programs.nixvim.enable {
    enable = true;
    folding = {
      enable = true;
    };
    settings = {
      highlight = {
        enable = true;
      };
      indent = {
        enable = true;
      };
    };
  };
}