mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
more lazyload
This commit is contained in:
parent
6a09208590
commit
a8b4a96ddd
1 changed files with 11 additions and 9 deletions
|
@ -33,10 +33,8 @@ 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 {"neovim/nvim-lspconfig"}
|
use {"neovim/nvim-lspconfig"}
|
||||||
use {"glepnir/lspsaga.nvim"}
|
use {"glepnir/lspsaga.nvim", cmd = "Lspsaga"}
|
||||||
use {"kabouzeid/nvim-lspinstall",
|
use {"kabouzeid/nvim-lspinstall", cmd = "LspInstall"}
|
||||||
cmd = "LspInstall",
|
|
||||||
}
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
use {"nvim-lua/popup.nvim"}
|
use {"nvim-lua/popup.nvim"}
|
||||||
use {"nvim-lua/plenary.nvim"}
|
use {"nvim-lua/plenary.nvim"}
|
||||||
|
@ -58,6 +56,7 @@ return require("packer").startup(function(use)
|
||||||
-- Autocomplete
|
-- Autocomplete
|
||||||
use {
|
use {
|
||||||
"hrsh7th/nvim-compe",
|
"hrsh7th/nvim-compe",
|
||||||
|
event = "InsertEnter",
|
||||||
config = function()
|
config = function()
|
||||||
require("lv-compe").config()
|
require("lv-compe").config()
|
||||||
end
|
end
|
||||||
|
@ -91,6 +90,7 @@ return require("packer").startup(function(use)
|
||||||
|
|
||||||
-- Autopairs
|
-- Autopairs
|
||||||
use {
|
use {
|
||||||
|
-- event = "InsertEnter",
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
config = function()
|
config = function()
|
||||||
require 'lv-autopairs'
|
require 'lv-autopairs'
|
||||||
|
@ -224,9 +224,8 @@ return require("packer").startup(function(use)
|
||||||
vim.g.indentLine_enabled = 1
|
vim.g.indentLine_enabled = 1
|
||||||
vim.g.indent_blankline_char = "▏"
|
vim.g.indent_blankline_char = "▏"
|
||||||
|
|
||||||
vim.g.indent_blankline_filetype_exclude = {
|
vim.g.indent_blankline_filetype_exclude =
|
||||||
"help", "terminal", "dashboard"
|
{"help", "terminal", "dashboard"}
|
||||||
}
|
|
||||||
vim.g.indent_blankline_buftype_exclude = {"terminal"}
|
vim.g.indent_blankline_buftype_exclude = {"terminal"}
|
||||||
|
|
||||||
vim.g.indent_blankline_show_trailing_blankline_indent = false
|
vim.g.indent_blankline_show_trailing_blankline_indent = false
|
||||||
|
@ -421,7 +420,10 @@ return require("packer").startup(function(use)
|
||||||
|
|
||||||
-- Rust tools
|
-- Rust tools
|
||||||
-- TODO: use lazy loading maybe?
|
-- TODO: use lazy loading maybe?
|
||||||
use {"simrat39/rust-tools.nvim", disable = not O.lang.rust.rust_tools.active}
|
use {
|
||||||
|
"simrat39/rust-tools.nvim",
|
||||||
|
disable = not O.lang.rust.rust_tools.active
|
||||||
|
}
|
||||||
|
|
||||||
-- Elixir
|
-- Elixir
|
||||||
use {"elixir-editors/vim-elixir", ft = {"elixir", "eelixir", "euphoria3"}}
|
use {"elixir-editors/vim-elixir", ft = {"elixir", "eelixir", "euphoria3"}}
|
||||||
|
|
Loading…
Reference in a new issue