summaryrefslogtreecommitdiff
path: root/lua/tjk/plugins/lsp.lua
blob: 050a5a6fea60cc191b5fad9f290cd9f0b06511f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
return {
	"neovim/nvim-lspconfig",
	dependencies = {
		"williamboman/mason.nvim", -- install lsp's
		"williamboman/mason-lspconfig.nvim",
	},
	config = function()
		require("mason").setup()
		require("mason-lspconfig").setup { automatic_installation = true }
		local lspconfig = require("lspconfig")
		lspconfig.pylsp.setup {
			autostart = false,
			capabilities = require("cmp_nvim_lsp").default_capabilities()
		}
	end
}