diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-06-03 23:25:28 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-06-03 23:25:28 -0600 |
commit | 5cc9324f8d0547bc46b6a5ec957a5d9165f70c6e (patch) | |
tree | 19695c6f9acd2acb55a61d86ed1f5daae444695e /lua | |
parent | d92bfab3203d63a20b571b7c782c458c5f8d251e (diff) |
move lspconfig to independent file, still need to move more related config
Diffstat (limited to 'lua')
-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', + }, +} |