diff options
| author | christianchiarulli <[email protected]> | 2021-06-27 13:46:25 -0400 | 
|---|---|---|
| committer | christianchiarulli <[email protected]> | 2021-06-27 13:46:25 -0400 | 
| commit | 5ff06a4b748dae7a1c62bbc7120c02f208e58598 (patch) | |
| tree | 089a54aef94668bac9be5e2f7a9f1447cf360b9d /lua | |
| parent | 18e403646c83acc07584c1463850ad8225b0ae00 (diff) | |
fix lsp not starting
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins.lua | 27 | 
1 files changed, 17 insertions, 10 deletions
| diff --git a/lua/plugins.lua b/lua/plugins.lua index d0224c6c..d01d39f3 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -33,24 +33,22 @@ return require("packer").startup(function(use)      use "wbthomason/packer.nvim"      -- 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", config = require_plugin("nvim-lspconfig"), opt = true} -    use {"kabouzeid/nvim-lspinstall", config = require_plugin("nvim-lspinstall"), opt = true} - +    use {"neovim/nvim-lspconfig", opt = true} +    use {"kabouzeid/nvim-lspinstall", opt = true}      -- Telescope -    use {"nvim-lua/popup.nvim", config = require_plugin("popup.nvim"), opt = true} -    use {"nvim-lua/plenary.nvim", config = require_plugin("plenary.nvim"), opt = true} -    use {"nvim-telescope/telescope.nvim", config = require_plugin("telescope.nvim"), opt = true} +    use {"nvim-lua/popup.nvim", opt = true} +    use {"nvim-lua/plenary.nvim", opt = true} +    use {"nvim-telescope/telescope.nvim", opt = true}      -- Autocomplete -    use {"hrsh7th/nvim-compe", config = require_plugin("nvim-compe"), event = "InsertEnter", opt = true} +    use {"hrsh7th/nvim-compe", event = "InsertEnter", opt = true}      -- Treesitter      use {          "nvim-treesitter/nvim-treesitter", -        config = require_plugin("nvim-treesitter"), -        event = "BufRead" +        -- event = "BufRead" -        --  run = ":TSUpdate" +         run = ":TSUpdate"      } @@ -80,6 +78,15 @@ return require("packer").startup(function(use)      use {"hrsh7th/vim-vsnip", config = require_plugin("vim-vsnip"), opt = true} +    require_plugin("nvim-lspconfig") +    require_plugin("nvim-lspinstall") +    require_plugin("popup.nvim") +    require_plugin("plenary.nvim") +    require_plugin("telescope.nvim") +    require_plugin("nvim-compe") +    require_plugin("nvim-treesitter") + +      -- Extras      if O.extras then          -- Interactive scratchpad | 
