Skip to content

Commit

Permalink
nvim 0.10 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martins3 authored Nov 17, 2024
1 parent e3bcf6d commit ee3004c
Show file tree
Hide file tree
Showing 137 changed files with 3,554 additions and 4,300 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ assignees: Martins3
---

- What's your suggestion?
- Why is better?
- Why is this better?
- How to implement your ideas?
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ perf.data.old
*.qcow2
__pycache__
kernel/module/.gdb_history

.nvim
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@

### 2023.7
将 coc.nvim 切换为 native lsp 了。

### 2024.11
- 兼容 nvim 0.10
- 将 terminal 替换为 toggleterm 了
-https://github.com/anuvyklack/hydra.nvim 替换为
https://github.com/nvimtools/hydra.nvim , anuvyklack/hydra.nvim 已经不维护了,
而且在 nvim 0.10 上有一个非常严重的 bug ,花了 2 天在找到。
29 changes: 29 additions & 0 deletions barbecue.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
diff --git a/nvim/lua/usr/nvim-treesitter.lua b/nvim/lua/usr/nvim-treesitter.lua
index ffc71537274f..fd776b9bff59 100644
--- a/nvim/lua/usr/nvim-treesitter.lua
+++ b/nvim/lua/usr/nvim-treesitter.lua
@@ -78,7 +78,7 @@ require("nvim-treesitter.configs").setup({
["xK"] = "@class.outer",
},
goto_previous_start = {
- ["xh"] = "@function.outer",
+ ["gj"] = "@function.outer",
["xH"] = "@class.outer",
},
goto_previous_end = {
diff --git a/nvim/lua/usr/which-key.lua b/nvim/lua/usr/which-key.lua
index e6f40e45cab0..6aecf0881c4c 100644
--- a/nvim/lua/usr/which-key.lua
+++ b/nvim/lua/usr/which-key.lua
@@ -119,11 +119,6 @@ wk.add({
{ "gD", "<cmd>lua vim.lsp.buf.declaration()<cr>", desc = "go to declaration" },
{ "gd", "<cmd>lua vim.lsp.buf.definition()<cr>", desc = "go to definition" },
{ "gi", "<cmd>lua vim.lsp.buf.implementation()<cr>", desc = "go to implementation" },
- {
- "gj",
- "<cmd>lua require('barbecue.ui').navigate(-1)<cr>",
- desc = "go to the head of function / struct",
- },
{ "gr", "<cmd>lua vim.lsp.buf.references()<cr>", desc = "go to reference" },
{ "gw", "<cmd>Telescope diagnostics<cr>", desc = "diagnostics" },
{ "m", group = "bookmarks" },
Loading

0 comments on commit ee3004c

Please sign in to comment.