summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-06-03 23:25:28 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-06-03 23:25:28 -0600
commit5cc9324f8d0547bc46b6a5ec957a5d9165f70c6e (patch)
tree19695c6f9acd2acb55a61d86ed1f5daae444695e /lua/plugins
parentd92bfab3203d63a20b571b7c782c458c5f8d251e (diff)
move lspconfig to independent file, still need to move more related config
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/init.lua16
-rw-r--r--lua/plugins/lspconfig.lua16
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',
+ },
+}