DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

ref: 61be4156b6595ca0fbba0b980e0ce919694dc56f nvim-flake/config/plugins/treesitter.nix -rw-r--r-- 277 bytes
61be4156Jonni Liljamo feat(lsp): rust_analyzer changes a month 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";
    }
  ];
}