diff options
-rw-r--r-- | lua/plugins/init.lua | 16 | ||||
-rw-r--r-- | lua/plugins/lspconfig.lua | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 38e8c42..3e91383 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -7,22 +7,6 @@ return { -- luevano: not sure how I feel about this, need to check later 'tpope/vim-sleuth', - { - -- LSP Configuration & Plugins - 'neovim/nvim-lspconfig', - dependencies = { - -- Automatically install LSPs to stdpath for neovim - { 'williamboman/mason.nvim', config = true }, - 'williamboman/mason-lspconfig.nvim', - - -- Useful status updates for LSP - -- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})` - { 'j-hui/fidget.nvim', opts = {} }, - - -- Additional lua configuration, makes nvim stuff amazing! - 'folke/neodev.nvim', - }, - }, { -- Autocompletion diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua new file mode 100644 index 0000000..ca3a791 --- /dev/null +++ b/lua/plugins/lspconfig.lua @@ -0,0 +1,16 @@ +return { + 'neovim/nvim-lspconfig', + dependencies = { + { + 'williamboman/mason.nvim', + opts = { + ensure_installed = { + "gopls", + }, + }, + }, + 'williamboman/mason-lspconfig.nvim', + { 'j-hui/fidget.nvim', opts = {} }, + 'folke/neodev.nvim', + }, +} |