move mason as dependency
This commit is contained in:
		
							parent
							
								
									48ea64670c
								
							
						
					
					
						commit
						4e2fe68551
					
				@ -2,7 +2,7 @@ local M = {
 | 
				
			|||||||
	'neovim/nvim-lspconfig',
 | 
						'neovim/nvim-lspconfig',
 | 
				
			||||||
	name = 'lsp',
 | 
						name = 'lsp',
 | 
				
			||||||
	event = 'BufRead',
 | 
						event = 'BufRead',
 | 
				
			||||||
	dependencies = { 'hrsh7th/cmp-nvim-lsp' },
 | 
						dependencies = { 'hrsh7th/cmp-nvim-lsp', 'williamboman/mason.nvim' },
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local tools = {
 | 
					local tools = {
 | 
				
			||||||
@ -13,7 +13,6 @@ local tools = {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function M.config()
 | 
					function M.config()
 | 
				
			||||||
	require 'mason'
 | 
					 | 
				
			||||||
	local lspconfig = require 'lspconfig'
 | 
						local lspconfig = require 'lspconfig'
 | 
				
			||||||
	local opts = {}
 | 
						local opts = {}
 | 
				
			||||||
	local cmp_nvim_lsp = require 'cmp_nvim_lsp'
 | 
						local cmp_nvim_lsp = require 'cmp_nvim_lsp'
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user