DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

ref: 2505f4af7bb258de1109818f4ef2bd955755a6be nvim-flake/config/plugins/treesitter.nix -rw-r--r-- 277 bytes
2505f4afJonni Liljamo chore: update flake inputs and manual plugins 5 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";
    }
  ];
}