@@ -170,10 +170,10 @@ vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagn
170170vim .keymap .set (' t' , ' <Esc><Esc>' , ' <C-\\ ><C-n>' , { desc = ' Exit terminal mode' })
171171
172172-- TIP: Disable arrow keys in normal mode
173- -- vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
174- -- vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>')
175- -- vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>')
176- -- vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
173+ vim .keymap .set (' n' , ' <left>' , ' <cmd>echo "Use h to move!!"<CR>' )
174+ vim .keymap .set (' n' , ' <right>' , ' <cmd>echo "Use l to move!!"<CR>' )
175+ vim .keymap .set (' n' , ' <up>' , ' <cmd>echo "Use k to move!!"<CR>' )
176+ vim .keymap .set (' n' , ' <down>' , ' <cmd>echo "Use j to move!!"<CR>' )
177177
178178-- Keybinds to make split navigation easier.
179179-- Use CTRL+<hjkl> to switch between windows
@@ -258,9 +258,9 @@ require('lazy').setup {
258258 -- lazy loading plugins that don't need to be loaded immediately at startup.
259259 --
260260 -- For example, in the following configuration, we use:
261- -- event = 'VeryLazy '
261+ -- event = 'VimEnter '
262262 --
263- -- which loads which-key after all the UI elements are loaded. Events can be
263+ -- which loads which-key before all the UI elements are loaded. Events can be
264264 -- normal autocommands events (`:help autocmd-events`).
265265 --
266266 -- Then, because we use the `config` key, the configuration only runs
@@ -269,7 +269,7 @@ require('lazy').setup {
269269
270270 { -- Useful plugin to show you pending keybinds.
271271 ' folke/which-key.nvim' ,
272- event = ' VeryLazy ' , -- Sets the loading event to 'VeryLazy '
272+ event = ' VimEnter ' , -- Sets the loading event to 'VimEnter '
273273 config = function () -- This is the function that runs, AFTER loading
274274 require (' which-key' ).setup ()
275275
@@ -293,7 +293,7 @@ require('lazy').setup {
293293
294294 { -- Fuzzy Finder (files, lsp, etc)
295295 ' nvim-telescope/telescope.nvim' ,
296- event = ' VeryLazy ' ,
296+ event = ' VimEnter ' ,
297297 branch = ' 0.1.x' ,
298298 dependencies = {
299299 ' nvim-lua/plenary.nvim' ,
@@ -614,11 +614,11 @@ require('lazy').setup {
614614 formatters_by_ft = {
615615 lua = { ' stylua' },
616616 -- Conform can also run multiple formatters sequentially
617- -- python = { " isort", " black" },
617+ python = { ' isort' , ' black' },
618618 --
619619 -- You can use a sub-list to tell conform to run *until* a formatter
620620 -- is found.
621- -- javascript = { { " prettierd", " prettier" } },
621+ javascript = { { ' prettierd' , ' prettier' } },
622622 },
623623 },
624624 },
@@ -716,25 +716,25 @@ require('lazy').setup {
716716 end ,
717717 },
718718
719- { -- You can easily change to a different colorscheme.
720- -- Change the name of the colorscheme plugin below, and then
721- -- change the command in the config to whatever the name of that colorscheme is
722- --
723- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
724- ' folke/tokyonight.nvim' ,
725- lazy = false , -- make sure we load this during startup if it is your main colorscheme
726- priority = 1000 , -- make sure to load this before all the other start plugins
727- config = function ()
728- -- Load the colorscheme here
729- vim .cmd .colorscheme ' tokyonight-night'
730-
731- -- You can configure highlights by doing something like
732- vim .cmd .hi ' Comment gui=none'
733- end ,
734- },
719+ -- { -- You can easily change to a different colorscheme.
720+ -- -- Change the name of the colorscheme plugin below, and then
721+ -- -- change the command in the config to whatever the name of that colorscheme is
722+ -- --
723+ -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
724+ -- 'folke/tokyonight.nvim',
725+ -- lazy = false, -- make sure we load this during startup if it is your main colorscheme
726+ -- priority = 1000, -- make sure to load this before all the other start plugins
727+ -- config = function()
728+ -- -- Load the colorscheme here
729+ -- vim.cmd.colorscheme 'tokyonight-night'
730+
731+ -- -- You can configure highlights by doing something like
732+ -- vim.cmd.hi 'Comment gui=none'
733+ -- end,
734+ -- },
735735
736736 -- Highlight todo, notes, etc in comments
737- { ' folke/todo-comments.nvim' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
737+ { ' folke/todo-comments.nvim' , event = ' VimEnter ' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
738738
739739 { -- Collection of various small independent plugins/modules
740740 ' echasnovski/mini.nvim' ,
@@ -758,7 +758,7 @@ require('lazy').setup {
758758 -- You could remove this setup call if you don't like it,
759759 -- and try some other statusline plugin
760760 local statusline = require ' mini.statusline'
761- statusline .setup ()
761+ -- statusline.setup()
762762
763763 -- You can configure sections in the statusline by overriding their
764764 -- default behavior. For example, here we disable the section for
@@ -813,8 +813,8 @@ require('lazy').setup {
813813 -- This is the easiest way to modularize your config.
814814 --
815815 -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
816- -- For additional information, see ` :help lazy.nvim-lazy.nvim-structuring-your-plugins`
817- -- { import = 'custom.plugins' },
816+ -- For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins
817+ { import = ' custom.plugins' },
818818}
819819
820820-- The line beneath this is called `modeline`. See `:help modeline`
0 commit comments