mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-24 04:34:42 +02:00
more lazyload
This commit is contained in:
parent
89d3058ec8
commit
e563306c63
2 changed files with 8 additions and 11 deletions
2
init.lua
2
init.lua
|
@ -34,7 +34,7 @@ end
|
||||||
vim.cmd('source ' .. CONFIG_PATH .. '/vimscript/functions.vim')
|
vim.cmd('source ' .. CONFIG_PATH .. '/vimscript/functions.vim')
|
||||||
|
|
||||||
-- LSP
|
-- LSP
|
||||||
--require('lsp')
|
require('lsp')
|
||||||
require('lsp.java-ls')
|
require('lsp.java-ls')
|
||||||
require('lsp.angular-ls')
|
require('lsp.angular-ls')
|
||||||
require('lsp.bash-ls')
|
require('lsp.bash-ls')
|
||||||
|
|
|
@ -35,7 +35,7 @@ return require("packer").startup(function(use)
|
||||||
|
|
||||||
-- TODO refactor all of this (for now it works, but yes I know it could be wrapped in a simpler function)
|
-- TODO refactor all of this (for now it works, but yes I know it could be wrapped in a simpler function)
|
||||||
use {
|
use {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig"
|
||||||
|
|
||||||
-- event = "BufRead",
|
-- event = "BufRead",
|
||||||
-- config = function()
|
-- config = function()
|
||||||
|
@ -43,14 +43,14 @@ return require("packer").startup(function(use)
|
||||||
-- end
|
-- end
|
||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
"glepnir/lspsaga.nvim",
|
"glepnir/lspsaga.nvim"
|
||||||
|
|
||||||
-- event = "BufRead",
|
-- event = "BufRead",
|
||||||
|
|
||||||
-- opt = true
|
-- opt = true
|
||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
"kabouzeid/nvim-lspinstall",
|
"kabouzeid/nvim-lspinstall"
|
||||||
|
|
||||||
-- event = "BufRead",
|
-- event = "BufRead",
|
||||||
-- opt = true
|
-- opt = true
|
||||||
|
@ -70,7 +70,7 @@ return require("packer").startup(function(use)
|
||||||
|
|
||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim"
|
||||||
|
|
||||||
-- cmd = "Telescope",
|
-- cmd = "Telescope",
|
||||||
|
|
||||||
|
@ -81,12 +81,9 @@ return require("packer").startup(function(use)
|
||||||
use {
|
use {
|
||||||
"hrsh7th/nvim-compe",
|
"hrsh7th/nvim-compe",
|
||||||
config = function()
|
config = function()
|
||||||
-- require_plugin("nvim-compe")
|
|
||||||
require("lv-compe").config()
|
require("lv-compe").config()
|
||||||
end,
|
end,
|
||||||
-- event = "InsertEnter",
|
event = "InsertEnter"
|
||||||
|
|
||||||
-- opt = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Treesitter
|
-- Treesitter
|
||||||
|
@ -123,7 +120,7 @@ return require("packer").startup(function(use)
|
||||||
-- require_plugin("nvim-compe")
|
-- require_plugin("nvim-compe")
|
||||||
require("lv-gitsigns").config()
|
require("lv-gitsigns").config()
|
||||||
end,
|
end,
|
||||||
-- event = "BufRead"
|
event = "BufRead"
|
||||||
|
|
||||||
-- opt = true
|
-- opt = true
|
||||||
|
|
||||||
|
@ -136,7 +133,7 @@ return require("packer").startup(function(use)
|
||||||
|
|
||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs"
|
||||||
-- event = "InsertEnter",
|
-- event = "InsertEnter",
|
||||||
|
|
||||||
-- opt = true
|
-- opt = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue