summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/trash/crates.luaa
blob: f72a23fe6194d7b08c8a2c93ebddbf80f40bc054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
	"saecki/crates.nvim",
	tag = "stable",
	config = function()
		require("crates").setup({
			lsp = {
				enabled = true,
				on_attach = function(client, bufnr)
					-- the same on_attach function as for your other lsp's
				end,
				actions = true,
				completion = true,
				hover = true,
			},
		})
	end,
}