diff --git a/.config/nvim/lua/user/plugins.lua b/.config/nvim/lua/user/plugins.lua index 85ca51e..23742f3 100644 --- a/.config/nvim/lua/user/plugins.lua +++ b/.config/nvim/lua/user/plugins.lua @@ -21,28 +21,30 @@ end lazy.setup({ - "nvim-lua/popup.nvim", -- An implementation of the Popup API from vim in Neovim - "nvim-lua/plenary.nvim", -- Useful lua functions used ny lots of plugins - "navarasu/onedark.nvim", - "windwp/nvim-autopairs", + -- "nvim-lua/popup.nvim", -- An implementation of the Popup API from vim in Neovim + { "windwp/nvim-autopairs", event = "VeryLazy" }, - "hrsh7th/nvim-cmp", -- The completion plugin - "hrsh7th/cmp-buffer", -- buffer completions - "hrsh7th/cmp-path", -- path completions - "hrsh7th/cmp-cmdline", -- cmdline completions - "saadparwaiz1/cmp_luasnip", -- snippet completions - "hrsh7th/cmp-nvim-lsp", + { "hrsh7th/nvim-cmp", event = "VeryLazy" }, -- The completion plugin + { "hrsh7th/cmp-buffer", event = "VeryLazy" }, -- buffer completions + { "hrsh7th/cmp-path", event = "VeryLazy" }, -- path completions + { "hrsh7th/cmp-cmdline", event = "VeryLazy" }, -- cmdline completions + { "saadparwaiz1/cmp_luasnip", event = "VeryLazy" }, -- snippet completions + { "hrsh7th/cmp-nvim-lsp", event = "VeryLazy" }, -- snippets - "L3MON4D3/LuaSnip", --snippet engine - "rafamadriz/friendly-snippets", -- a bunch of snippets to use - { "dsznajder/vscode-es7-javascript-react-snippets", run = "yarn install --frozen-lockfile && yarn compile" }, + { "L3MON4D3/LuaSnip", event = "VeryLazy" }, --snippet engine + { "rafamadriz/friendly-snippets", event = "VeryLazy" }, -- a bunch of snippets to use + { + "dsznajder/vscode-es7-javascript-react-snippets", + run = "yarn install --frozen-lockfile && yarn compile", + event = "VeryLazy" + }, -- LSP - "williamboman/mason.nvim", -- simple to use language server installer - "williamboman/mason-lspconfig.nvim", - "neovim/nvim-lspconfig", -- enable LSP - "nvim-treesitter/nvim-treesitter-refactor", + { "williamboman/mason.nvim", event = "VeryLazy" }, -- simple to use language server installer + { "williamboman/mason-lspconfig.nvim", event = "VeryLazy" }, + { "neovim/nvim-lspconfig", event = "VeryLazy" }, -- enable LSP + -- { "nvim-treesitter/nvim-treesitter-refactor", event = "VeryLazy" }, -- file explorer -- { @@ -61,18 +63,20 @@ lazy.setup({ "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim", - } + }, + event = "VeryLazy" } , - { - "akinsho/bufferline.nvim", - version = "*", - dependencies = { "kyazdani42/nvim-web-devicons" }, - }, + -- { + -- "akinsho/bufferline.nvim", + -- version = "*", + -- dependencies = { "kyazdani42/nvim-web-devicons" }, + -- }, { "ThePrimeagen/harpoon", branch = "harpoon2", dependencies = { "nvim-lua/plenary.nvim" }, + event = "VeryLazy" }, { @@ -81,29 +85,32 @@ lazy.setup({ window = { backdrop = 1 } - } + }, + event = "VeryLazy" }, { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate", + event = "VeryLazy" }, { "nvimtools/none-ls.nvim", + event = "VeryLazy" }, - "lukas-reineke/lsp-format.nvim", - "Vimjas/vim-python-pep8-indent", + { "lukas-reineke/lsp-format.nvim", event = "VeryLazy" }, + -- "Vimjas/vim-python-pep8-indent", --telescope - "nvim-telescope/telescope.nvim", - "nvim-telescope/telescope-media-files.nvim", + { "nvim-telescope/telescope.nvim", event = "VeryLazy" }, + { "nvim-telescope/telescope-media-files.nvim", event = "VeryLazy" }, --comment out - "tpope/vim-commentary", - "lukas-reineke/indent-blankline.nvim", - "windwp/nvim-ts-autotag", + { "tpope/vim-commentary", event = "VeryLazy" }, + { "lukas-reineke/indent-blankline.nvim", event = "VeryLazy" }, + { "windwp/nvim-ts-autotag", event = "VeryLazy" }, { "rebelot/kanagawa.nvim", @@ -112,37 +119,34 @@ lazy.setup({ }, { "folke/which-key.nvim", - init = function() - vim.o.timeout = true - vim.o.timeoutlen = 500 - end, lazy = false, }, --scrollbar - "petertriho/nvim-scrollbar", + { "petertriho/nvim-scrollbar", event = "VeryLazy" }, --heirline statusbar - "rebelot/heirline.nvim", + -- "rebelot/heirline.nvim", - --heirline statusbar - "lewis6991/gitsigns.nvim", + --gitsigns + { "lewis6991/gitsigns.nvim", event = "VeryLazy" }, --debugging - "mfussenegger/nvim-dap", + { "mfussenegger/nvim-dap", event = "VeryLazy" }, { "rcarriga/nvim-dap-ui", dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" - } + }, + event = { "VeryLazy" } }, - "nvim-lualine/lualine.nvim", + -- "nvim-lualine/lualine.nvim", - "folke/neodev.nvim", - "MunifTanjim/nui.nvim", - "b0o/schemastore.nvim", + -- "folke/neodev.nvim", + -- "MunifTanjim/nui.nvim", + -- "b0o/schemastore.nvim", -- { -- 'Bekaboo/dropbar.nvim', -- -- optional, but required for fuzzy finder support @@ -150,13 +154,13 @@ lazy.setup({ -- 'nvim-telescope/telescope-fzf-native.nvim' -- } -- }, - { - "LunarVim/breadcrumbs.nvim", - dependencies = { - { "SmiteshP/nvim-navic" }, - }, - }, - { - "karb94/neoscroll.nvim", - }, + -- { + -- "LunarVim/breadcrumbs.nvim", + -- dependencies = { + -- { "SmiteshP/nvim-navic" }, + -- }, + -- }, + -- { + -- "karb94/neoscroll.nvim", + -- }, }) diff --git a/.config/nvim/lua/user/schemastore.lua b/.config/nvim/lua/user/schemastore.lua deleted file mode 100644 index e69de29..0000000