Skip to content

Commit b0022f8

Browse files
committed
feat(minimax): sync to 3da8cbf
1 parent 173ceef commit b0022f8

4 files changed

Lines changed: 52 additions & 32 deletions

File tree

MiniMax/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
_Generated from the `main` branch of 'MiniMax'_
22

3+
## 2026-04-02 {#2026-04-02}
4+
5+
- Add a note in `nvim-0.11` config about Neovim 0.11 not being the latest stable release.
6+
37
## 2026-03-31 {#2026-03-31}
48

5-
- Remove the note about unstable status of Neovim 0.12 from `nvim-0.12` config.
9+
- Remove the note from `nvim-0.12` config about unstable status of Neovim 0.12.
610

711
- Add new reference config `nvim-0.13` for Neovim>=0.13 (currently under development).
812

MiniMax/configs/diffs/nvim-0.10_nvim-0.11/index.qmd

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ In short:
2121
<details><summary>Diff</summary>
2222

2323
```diffhunks
24-
@@ -1,4 +0,0 @@
24+
@@ -1 +1 @@
2525
--- WARNING: NEOVIM 0.10 IS NOT THE LATEST STABLE RELEASE.
26-
--- IT MEANS THAT THERE IS A CHANCE SOME PLUGINS MIGHT DROP SUPPORTING IT.
27-
--- IT IS HIGHLY RECOMMENDED TO UPDATE TO THE LATEST STABLE VERSION.
28-
-
26+
+-- WARNING: NEOVIM 0.11 IS NOT THE LATEST STABLE RELEASE.
2927
```
3028

3129
</details>
@@ -69,22 +67,20 @@ No difference
6967
<details><summary>Diff</summary>
7068

7169
```diffhunks
72-
@@ -45,7 +44,0 @@
70+
@@ -45,2 +45,2 @@
7371
- -- Pin to the commit just before the plugin dropped Neovim=0.10 support
7472
- checkout = '42fc28ba918343ebfd5565147a42a26580579482',
75-
- })
76-
- add({
77-
- source = 'nvim-treesitter/nvim-treesitter-textobjects',
78-
- -- Pin to the commit corresponding to 'nvim-treesitter' commit
73+
+ -- Pin to the commit just before the plugin dropped Neovim=0.11 support
74+
+ checkout = '90cd6580e720caedacb91fdd587b747a6e77d61f',
75+
@@ -51 +51 @@
7976
- checkout = 'b0debd5c424969b4baeabdc8f54db3036c691732',
80-
@@ -52,0 +46 @@
81-
+ add('nvim-treesitter/nvim-treesitter-textobjects')
82-
@@ -64 +58,3 @@
77+
+ checkout = '93d60a475f0b08a8eceb99255863977d3a25f310',
78+
@@ -64 +64,3 @@
8379
- -- - Execute `:=require('nvim-treesitter.parsers').available_parsers()`
8480
+ -- - Execute `:=require('nvim-treesitter').get_available()`
8581
+ -- - Visit 'SUPPORTED_LANGUAGES.md' file at
8682
+ -- https://github.com/nvim-treesitter/nvim-treesitter
87-
@@ -66,10 +62,15 @@
83+
@@ -66,10 +68,15 @@
8884
- require('nvim-treesitter.configs').setup({
8985
- ensure_installed = languages,
9086
- highlight = { enable = true },
@@ -110,12 +106,12 @@ No difference
110106
+ end
111107
+ local ts_start = function(ev) vim.treesitter.start(ev.buf) end
112108
+ Config.new_autocmd('FileType', filetypes, ts_start, 'Start tree-sitter')
113-
@@ -90,3 +91 @@
109+
@@ -90,3 +97 @@
114110
--- inside 'neovim/nvim-lspconfig' plugin. NOTE: it got significant overhaul
115111
--- to use a `vim.lsp.config` approach on Neovim>=0.11. So to use this plugin it
116112
--- is highly recommended to update Neovim to at least 0.11 version.
117113
+-- inside 'neovim/nvim-lspconfig' plugin.
118-
@@ -96,7 +95 @@
114+
@@ -96,7 +101 @@
119115
- add({
120116
- source = 'neovim/nvim-lspconfig',
121117
- -- Pin to the commit just before the plugin dropped Neovim=0.10 support
@@ -124,7 +120,7 @@ No difference
124120
- checkout = '5bfcc89fd155b4ffc02d18ab3b7d19c2d4e246a7',
125121
- })
126122
+ add('neovim/nvim-lspconfig')
127-
@@ -104,16 +97,6 @@
123+
@@ -104,16 +103,6 @@
128124
- -- Per server configuration is done by explicitly setting up target servers
129125
- -- like `require('lspconfig').<server-name>.setup({ ... })`. Instead of `...`,
130126
- -- supply per-server configuration. Below is an example of setting up `lua_ls`.

MiniMax/configs/diffs/nvim-0.11_nvim-0.12/index.qmd

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ Notes:
2727
<details><summary>Diff</summary>
2828

2929
```diffhunks
30-
@@ -45,12 +45,8 @@
30+
@@ -1,4 +0,0 @@
31+
--- WARNING: NEOVIM 0.11 IS NOT THE LATEST STABLE RELEASE.
32+
--- IT MEANS THAT THERE IS A CHANCE SOME PLUGINS MIGHT DROP SUPPORTING IT.
33+
--- IT IS HIGHLY RECOMMENDED TO UPDATE TO THE LATEST STABLE VERSION.
34+
-
35+
@@ -49,12 +45,8 @@
3136
--- Bootstrap 'mini.nvim' manually in a way that it gets managed by 'mini.deps'
3237
-local mini_path = vim.fn.stdpath('data') .. '/site/pack/deps/start/mini.nvim'
3338
-if not vim.loop.fs_stat(mini_path) then
@@ -48,14 +53,14 @@ Notes:
4853
+-- point is a `vim.pack.add()` function, which acts like a "smarter `:packadd`":
4954
+-- load plugin after making sure it is installed from source. The state of
5055
+-- installed plugins is recorded in the lockfile named 'nvim-pack-lock.json'.
51-
@@ -58,3 +54,3 @@
56+
@@ -62,3 +54,3 @@
5257
--- - `MiniDeps.add('...')` - use inside config to add a plugin
5358
--- - `:DepsUpdate` - update all plugins
5459
--- - `:DepsSnapSave` - save a snapshot of currently active plugins
5560
+-- - `vim.pack.add({ ... })` - use inside config to add one or more plugins.
5661
+-- - `:lua vim.pack.update()` - update all plugins; execute `:write` to confirm.
5762
+-- - `:lua vim.pack.del({ ... })` - delete specific plugins.
58-
@@ -63,4 +59,4 @@
63+
@@ -67,4 +59,4 @@
5964
--- - `:h MiniDeps-overview` - how to use it
6065
--- - `:h MiniDeps-commands` - all available commands
6166
--- - 'plugin/30_mini.lua' - more details about 'mini.nvim' in general
@@ -64,7 +69,7 @@ Notes:
6469
+-- - `:h vim.pack-lockfile` - lockfile info
6570
+-- - `:h vim.pack-events` - available events and plugin hooks examples
6671
+-- - `:h vim.pack.update()` - more details about confirmation step
67-
@@ -71,0 +68,28 @@
72+
@@ -75,0 +68,28 @@
6873
+-- 'mini.nvim' - all-in-one plugin powering most MiniMax features.
6974
+-- See 'plugin/30_mini.lua' for how it is used.
7075
+-- Load now to have 'mini.misc' available for custom loading helpers.
@@ -93,7 +98,7 @@ Notes:
9398
+Config.on_event = function(ev, f) misc.safely('event:' .. ev, f) end
9499
+Config.on_filetype = function(ft, f) misc.safely('filetype:' .. ft, f) end
95100
+
96-
@@ -86,3 +110,11 @@
101+
@@ -90,3 +110,11 @@
97102
--- Some plugins and 'mini.nvim' modules only need setup during startup if Neovim
98103
--- is started like `nvim -- path/to/file`, otherwise delaying setup is fine
99104
-Config.now_if_args = vim.fn.argc(-1) > 0 and MiniDeps.now or MiniDeps.later
@@ -219,30 +224,35 @@ Notes:
219224
+ local ts_update = function() vim.cmd('TSUpdate') end
220225
+ Config.on_packchanged('nvim-treesitter', { 'update' }, ts_update, ':TSUpdate')
221226
+
222-
@@ -42,3 +46,2 @@
227+
@@ -42,10 +46,2 @@
223228
- source = 'nvim-treesitter/nvim-treesitter',
224229
- -- Update tree-sitter parser after plugin is updated
225230
- hooks = { post_checkout = function() vim.cmd('TSUpdate') end },
231+
- -- Pin to the commit just before the plugin dropped Neovim=0.11 support
232+
- checkout = '90cd6580e720caedacb91fdd587b747a6e77d61f',
233+
- })
234+
- add({
235+
- source = 'nvim-treesitter/nvim-treesitter-textobjects',
236+
- -- Pin to the commit corresponding to 'nvim-treesitter' commit
237+
- checkout = '93d60a475f0b08a8eceb99255863977d3a25f310',
226238
+ 'https://github.com/nvim-treesitter/nvim-treesitter',
227239
+ 'https://github.com/nvim-treesitter/nvim-treesitter-textobjects',
228-
@@ -46 +48,0 @@
229-
- add('nvim-treesitter/nvim-treesitter-textobjects')
230-
@@ -60 +62 @@
240+
@@ -66 +62 @@
231241
- -- https://github.com/nvim-treesitter/nvim-treesitter
232242
+ -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main
233-
@@ -95 +97 @@
243+
@@ -101 +97 @@
234244
- add('neovim/nvim-lspconfig')
235245
+ add({ 'https://github.com/neovim/nvim-lspconfig' })
236-
@@ -115 +117 @@
246+
@@ -121 +117 @@
237247
- add('stevearc/conform.nvim')
238248
+ add({ 'https://github.com/stevearc/conform.nvim' })
239-
@@ -141 +143 @@
249+
@@ -147 +143 @@
240250
-later(function() add('rafamadriz/friendly-snippets') end)
241251
+later(function() add({ 'https://github.com/rafamadriz/friendly-snippets' }) end)
242-
@@ -154 +156 @@
252+
@@ -160 +156 @@
243253
--- add('mason-org/mason.nvim')
244254
+-- add({ 'https://github.com/mason-org/mason.nvim' })
245-
@@ -161,5 +163,7 @@
255+
@@ -167,5 +163,7 @@
246256
--- MiniDeps.now(function()
247257
--- -- Install only those that you need
248258
--- add('sainnhe/everforest')

MiniMax/configs/nvim-0.11/index.qmd

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ _Generated from the `main` branch of 'MiniMax'_
1111
<details><summary>Code</summary>
1212

1313
```lua
14+
-- WARNING: NEOVIM 0.11 IS NOT THE LATEST STABLE RELEASE.
15+
-- IT MEANS THAT THERE IS A CHANCE SOME PLUGINS MIGHT DROP SUPPORTING IT.
16+
-- IT IS HIGHLY RECOMMENDED TO UPDATE TO THE LATEST STABLE VERSION.
17+
1418
-- ┌────────────────────┐
1519
-- │ Welcome to MiniMax │
1620
-- └────────────────────┘
@@ -1356,8 +1360,14 @@ now_if_args(function()
13561360
source = 'nvim-treesitter/nvim-treesitter',
13571361
-- Update tree-sitter parser after plugin is updated
13581362
hooks = { post_checkout = function() vim.cmd('TSUpdate') end },
1363+
-- Pin to the commit just before the plugin dropped Neovim=0.11 support
1364+
checkout = '90cd6580e720caedacb91fdd587b747a6e77d61f',
1365+
})
1366+
add({
1367+
source = 'nvim-treesitter/nvim-treesitter-textobjects',
1368+
-- Pin to the commit corresponding to 'nvim-treesitter' commit
1369+
checkout = '93d60a475f0b08a8eceb99255863977d3a25f310',
13591370
})
1360-
add('nvim-treesitter/nvim-treesitter-textobjects')
13611371

13621372
-- Define languages which will have parsers installed and auto enabled
13631373
-- After changing this, restart Neovim once to install necessary parsers. Wait

0 commit comments

Comments
 (0)