DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

ref: 1b177c316610ade39506a8238ff42e407176ae1d nvim-flake/config/plugins/treesitter.nix -rw-r--r-- 277 bytes
1b177c31Jonni Liljamo feat(treesitter-context): init 4 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  plugins.treesitter = {
    enable = true;
    settings.highlight.enable = true;
  };

  plugins.treesitter-context.enable = true;

  keymaps = [
    {
      action = "<cmd>TSContext toggle<cr>";
      key = "<leader>tc";
      options.desc = "toggle context";
    }
  ];
}