More startup optimisations

Start which_key on <leader> key press
Start lualine on loading a buffer
Remove dressing as noice seems to have supersceded it
This commit is contained in:
Evie Litherland-Smith 2023-05-22 08:31:58 +01:00
parent 5e7fcd7e72
commit e236c0ae89
3 changed files with 2 additions and 3 deletions

View file

@ -1 +0,0 @@
return { "stevearc/dressing.nvim", event = "VeryLazy" }

View file

@ -1,7 +1,7 @@
return {
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons", "folke/noice.nvim", "folke/tokyonight.nvim" },
event = { "VeryLazy" },
event = { "BufReadPre", "BufNewFile" },
config = true,
opts = {
options = {

View file

@ -1,6 +1,6 @@
return {
"folke/which-key.nvim",
event = { "VeryLazy" },
keys = { "<leader>" },
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300