@@ -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
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.
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')
0 commit comments