diff options
| author | Chris <[email protected]> | 2021-07-04 12:17:45 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-07-04 12:17:45 -0400 | 
| commit | a8b4a96dddab415d20df4822e136c66e96dd629c (patch) | |
| tree | c4e490550f288b19a6c6870eaf048b84eb70e90a /lua | |
| parent | 6a09208590c3fc2d1f5a8f58b916d3d528f92a9e (diff) | |
more lazyload
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins.lua | 20 | 
1 files changed, 11 insertions, 9 deletions
| diff --git a/lua/plugins.lua b/lua/plugins.lua index bb6854c5..f79c082d 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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)      use {"neovim/nvim-lspconfig"} -    use {"glepnir/lspsaga.nvim"} -    use {"kabouzeid/nvim-lspinstall",  -        cmd = "LspInstall", -    } +    use {"glepnir/lspsaga.nvim", cmd = "Lspsaga"} +    use {"kabouzeid/nvim-lspinstall", cmd = "LspInstall"}      -- Telescope      use {"nvim-lua/popup.nvim"}      use {"nvim-lua/plenary.nvim"} @@ -58,6 +56,7 @@ return require("packer").startup(function(use)      -- Autocomplete      use {          "hrsh7th/nvim-compe", +        event = "InsertEnter",          config = function()              require("lv-compe").config()          end @@ -91,6 +90,7 @@ return require("packer").startup(function(use)      -- Autopairs      use { +        -- event = "InsertEnter",          "windwp/nvim-autopairs",          config = function()              require 'lv-autopairs' @@ -224,9 +224,8 @@ return require("packer").startup(function(use)              vim.g.indentLine_enabled = 1              vim.g.indent_blankline_char = "▏" -            vim.g.indent_blankline_filetype_exclude = { -                "help", "terminal", "dashboard" -            } +            vim.g.indent_blankline_filetype_exclude = +                {"help", "terminal", "dashboard"}              vim.g.indent_blankline_buftype_exclude = {"terminal"}              vim.g.indent_blankline_show_trailing_blankline_indent = false @@ -421,7 +420,10 @@ return require("packer").startup(function(use)      -- Rust tools      -- 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      use {"elixir-editors/vim-elixir", ft = {"elixir", "eelixir", "euphoria3"}} @@ -429,7 +431,7 @@ return require("packer").startup(function(use)      -- Tabnine      use {          "tzachar/compe-tabnine", -        run="./install.sh", +        run = "./install.sh",          requires = "hrsh7th/nvim-compe",          disable = not O.plugin.tabnine.active      } | 
