feat(treesitter): add diff, gitcommit and missing parsers
diff and gitcommit cover commit buffers and diff output. cpp, kotlin and nix were formatted by conform with no parser installed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,10 @@ Leader is `<Space>`. NvChad's defaults apply except where overridden in
|
|||||||
| `<C-f>` | Live grep |
|
| `<C-f>` | Live grep |
|
||||||
| `<C-g>` | Git status |
|
| `<C-g>` | Git status |
|
||||||
| `<leader>b` | Buffers |
|
| `<leader>b` | Buffers |
|
||||||
|
| `<leader>fo` | Old files |
|
||||||
|
| `<leader>fz` | Find in current buffer |
|
||||||
|
| `<leader>fh` | Help tags |
|
||||||
|
| `<leader>ma` | Marks |
|
||||||
| `<leader>y` / `<leader>Y` | Yazi at current file / cwd |
|
| `<leader>y` / `<leader>Y` | Yazi at current file / cwd |
|
||||||
|
|
||||||
### LSP
|
### LSP
|
||||||
@@ -63,6 +67,13 @@ Leader is `<Space>`. NvChad's defaults apply except where overridden in
|
|||||||
| Key | Action |
|
| Key | Action |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `<leader>g` | Neogit |
|
| `<leader>g` | Neogit |
|
||||||
|
| `<leader>cm` | Git commits |
|
||||||
|
| `]c` / `[c` | Next / previous hunk |
|
||||||
|
| `<leader>hp` | Preview hunk |
|
||||||
|
| `<leader>hr` | Reset hunk |
|
||||||
|
| `<leader>hb` | Blame line |
|
||||||
|
| `<leader>hd` | Diff buffer against index |
|
||||||
|
| `co` / `ct` / `cb` / `c0` | Resolve conflict: ours / theirs / both / none |
|
||||||
|
|
||||||
### Editing
|
### Editing
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,14 @@ return {
|
|||||||
"vim",
|
"vim",
|
||||||
"lua",
|
"lua",
|
||||||
"vimdoc",
|
"vimdoc",
|
||||||
|
"diff",
|
||||||
|
"gitcommit",
|
||||||
"html",
|
"html",
|
||||||
"css",
|
"css",
|
||||||
"c_sharp",
|
"c_sharp",
|
||||||
|
"cpp",
|
||||||
|
"kotlin",
|
||||||
|
"nix",
|
||||||
"rust",
|
"rust",
|
||||||
"regex",
|
"regex",
|
||||||
"javascript",
|
"javascript",
|
||||||
|
|||||||
Reference in New Issue
Block a user