Adding more files to be lazy loaded
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -23,8 +23,8 @@ opt.expandtab = true
|
||||
opt.smartindent = true
|
||||
opt.wrap = false
|
||||
|
||||
o.ignorecase = true
|
||||
o.smartcase = true
|
||||
opt.ignorecase = true
|
||||
opt.smartcase = true
|
||||
|
||||
opt.hlsearch = false
|
||||
opt.incsearch = true
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
local autopairs = require("nvim-autopairs")
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
"numToStr/Comment.nvim",
|
||||
event = "BufEnter, BufNew",
|
||||
keys = { "gcc", "gbc", "gc", "gb", "gcO", "gco", "gcA" },
|
||||
config = function()
|
||||
local comment = require("Comment")
|
||||
comment.setup({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
event = { "BufEnter", "BufRead" },
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local blankline = require("indent_blankline")
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = "hrsh7th/cmp-nvim-lsp",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local lspconfig = require("lspconfig")
|
||||
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
return {
|
||||
"jose-elias-alvarez/null-ls.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local null_ls = require("null-ls")
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ return {
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
@@ -15,9 +16,11 @@ return {
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
dependencies = "nvim-treesitter",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
},
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
@@ -26,6 +29,7 @@ return {
|
||||
},
|
||||
{
|
||||
"NvChad/nvim-colorizer.lua",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
@@ -37,6 +41,7 @@ return {
|
||||
{
|
||||
"kylechui/nvim-surround",
|
||||
version = "*",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
"TakenMC/presence.nvim",
|
||||
event = "BufEnter, BufNew",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local presence = require("presence")
|
||||
|
||||
@@ -14,7 +14,7 @@ return {
|
||||
enable_line_number = false,
|
||||
blacklist = {},
|
||||
buttons = {
|
||||
{ label = "Neovim", url = "https://github.com/neovim/neovim" },
|
||||
{ label = "Neovim", url = "https://github.com/neovim/neovim" },
|
||||
{ label = "My config", url = "https://gitlab.com/taken-personal/neovim-config" },
|
||||
},
|
||||
file_assets = {},
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
return {
|
||||
"HiPhish/rainbow-delimiters.nvim",
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local rainbow_delimiters = require("rainbow-delimiters")
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local treesitter = require("nvim-treesitter.configs")
|
||||
|
||||
Reference in New Issue
Block a user