aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/nixvim/plugins/treesitter/default.nix
blob: 6150ad2eb78f90c7d37a9aa79773b1507aa8c13a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Syntax highlighting and parsing
{ config, lib, ... }:
{
  config.programs.nixvim.plugins.treesitter = lib.mkIf config.development.nixvim.enable {
    enable = true;
    folding = {
      enable = true;
    };
    settings = {
      highlight = {
        enable = true;
      };
      indent = {
        enable = true;
      };
    };
  };
}