From e099979958b110ab20524e67e1f57ddef9eb6cb0 Mon Sep 17 00:00:00 2001 From: orip Date: Mon, 20 Apr 2026 00:45:20 +0300 Subject: [PATCH] Move some comments around --- init.lua | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/init.lua b/init.lua index 13727202..70f98dec 100644 --- a/init.lua +++ b/init.lua @@ -273,7 +273,8 @@ require('lazy').setup({ -- options to `gitsigns.nvim`. -- -- See `:help gitsigns` to understand what the configuration keys do - { -- Adds git related signs to the gutter, as well as utilities for managing changes + -- Adds git related signs to the gutter, as well as utilities for managing changes + { 'lewis6991/gitsigns.nvim', ---@module 'gitsigns' ---@type Gitsigns.Config @@ -302,8 +303,9 @@ require('lazy').setup({ -- -- Then, because we use the `opts` key (recommended), the configuration runs -- after the plugin has been loaded as `require(MODULE).setup(opts)`. - - { -- Useful plugin to show you pending keybinds. + -- + -- Useful plugin to show you pending keybinds. + { 'folke/which-key.nvim', event = 'VimEnter', ---@module 'which-key' @@ -330,8 +332,9 @@ require('lazy').setup({ -- you do for a plugin at the top level, you can do for a dependency. -- -- Use the `dependencies` key to specify the dependencies of a particular plugin - - { -- Fuzzy Finder (files, lsp, etc) + -- + -- Fuzzy Finder (files, lsp, etc) + { 'nvim-telescope/telescope.nvim', -- By default, Telescope is included and acts as your picker for everything. @@ -346,7 +349,8 @@ require('lazy').setup({ event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim', - { -- If encountering errors, see telescope-fzf-native README for installation instructions + -- If encountering errors, see telescope-fzf-native README for installation instructions + { 'nvim-telescope/telescope-fzf-native.nvim', -- `build` is used to run some command when the plugin is installed/updated. @@ -669,7 +673,8 @@ require('lazy').setup({ end, }, - { -- Autoformat + -- Autoformat + { 'stevearc/conform.nvim', event = { 'BufWritePre' }, cmd = { 'ConformInfo' }, @@ -712,7 +717,8 @@ require('lazy').setup({ }, }, - { -- Autocompletion + -- Autocompletion + { 'saghen/blink.cmp', event = 'VimEnter', version = '1.*', @@ -805,7 +811,8 @@ require('lazy').setup({ }, }, - { -- You can easily change to a different colorscheme. + { + -- You can easily change to a different colorscheme. -- Change the name of the colorscheme plugin below, and then -- change the command in the config to whatever the name of that colorscheme is. -- @@ -838,7 +845,8 @@ require('lazy').setup({ opts = { signs = false }, }, - { -- Collection of various small independent plugins/modules + -- Collection of various small independent plugins/modules + { 'nvim-mini/mini.nvim', config = function() -- Better Around/Inside textobjects @@ -881,7 +889,8 @@ require('lazy').setup({ end, }, - { -- Highlight, edit, and navigate code + -- Highlight, edit, and navigate code + { 'nvim-treesitter/nvim-treesitter', lazy = false, build = ':TSUpdate',