From 5cc9324f8d0547bc46b6a5ec957a5d9165f70c6e Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 3 Jun 2023 23:25:28 -0600 Subject: move lspconfig to independent file, still need to move more related config --- lua/plugins/init.lua | 16 ---------------- lua/plugins/lspconfig.lua | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 lua/plugins/lspconfig.lua (limited to 'lua/plugins') 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', + }, +} -- cgit v1.2.3-70-g09d2