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