26 lines
		
	
	
		
			706 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			706 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| return {
 | |
|     'VonHeikemen/lsp-zero.nvim',
 | |
|     branch = 'v3.x',
 | |
|     dependencies = {
 | |
|         {'neovim/nvim-lspconfig'},
 | |
|         {'williamboman/mason.nvim'},
 | |
|         {'williamboman/mason-lspconfig.nvim'},
 | |
|     },
 | |
|     config = function ()
 | |
|         local lsp_zero = require('lsp-zero')
 | |
|         lsp_zero.on_attach(function(client, bufnr)
 | |
|             -- see :help lsp-zero-keybindings
 | |
|             -- to learn the available actions
 | |
|             lsp_zero.default_keymaps({buffer = bufnr})
 | |
|         end)
 | |
| 
 | |
|         require('mason').setup({})
 | |
|         require('mason-lspconfig').setup({
 | |
|             ensure_installed = {},
 | |
|             handlers = {
 | |
|                 lsp_zero.default_setup,
 | |
|             },
 | |
|         })
 | |
|     end
 | |
| }
 |