diff options
author | Damjan 9000 <damjan.9000@gmail.com> | 2024-03-03 09:54:58 +0100 |
---|---|---|
committer | Damjan 9000 <damjan.9000@gmail.com> | 2024-03-03 09:54:58 +0100 |
commit | de8986f7a8a6688fee64b381ec3ef4a9c347518e (patch) | |
tree | dcacc4cc7c23c9fa26faa45d339f0f1eb7b5ae4b /lua | |
parent | df166c3b8b075a3444dd88215320aa7fbaa55ed5 (diff) | |
parent | e6710a461ab08513af80c213929ff64e75b5e456 (diff) |
Merge 'upstream/master' VimEnter, win install, custom/plugins note
fix: add note in readme for custom plugins
README.md: updated windows install instructions (#674)
feat: use VimEnter event instead of VeryLazy (#673)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/kickstart/plugins/telescope.lua | 2 | ||||
-rw-r--r-- | lua/kickstart/plugins/todo-comments.lua | 2 | ||||
-rw-r--r-- | lua/kickstart/plugins/which-key.lua | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lua/kickstart/plugins/telescope.lua b/lua/kickstart/plugins/telescope.lua index 8fa6296..f73e12d 100644 --- a/lua/kickstart/plugins/telescope.lua +++ b/lua/kickstart/plugins/telescope.lua @@ -8,7 +8,7 @@ return { { -- Fuzzy Finder (files, lsp, etc) 'nvim-telescope/telescope.nvim', - event = 'VeryLazy', + event = 'VimEnter', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim', diff --git a/lua/kickstart/plugins/todo-comments.lua b/lua/kickstart/plugins/todo-comments.lua index c4c7764..407e821 100644 --- a/lua/kickstart/plugins/todo-comments.lua +++ b/lua/kickstart/plugins/todo-comments.lua @@ -1,5 +1,5 @@ -- Highlight todo, notes, etc in comments return { - { 'folke/todo-comments.nvim', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, + { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, } -- vim: ts=2 sts=2 sw=2 et diff --git a/lua/kickstart/plugins/which-key.lua b/lua/kickstart/plugins/which-key.lua index 776a052..b73b17b 100644 --- a/lua/kickstart/plugins/which-key.lua +++ b/lua/kickstart/plugins/which-key.lua @@ -4,9 +4,9 @@ -- lazy loading plugins that don't need to be loaded immediately at startup. -- -- For example, in the following configuration, we use: --- event = 'VeryLazy' +-- event = 'VimEnter' -- --- which loads which-key after all the UI elements are loaded. Events can be +-- which loads which-key before all the UI elements are loaded. Events can be -- normal autocommands events (`:help autocmd-events`). -- -- Then, because we use the `config` key, the configuration only runs @@ -16,7 +16,7 @@ return { { -- Useful plugin to show you pending keybinds. 'folke/which-key.nvim', - event = 'VeryLazy', -- Sets the loading event to 'VeryLazy' + event = 'VimEnter', -- Sets the loading event to 'VimEnter' config = function() -- This is the function that runs, AFTER loading require('which-key').setup() |