-
Notifications
You must be signed in to change notification settings - Fork 0
/
community.lua
48 lines (48 loc) · 1.3 KB
/
community.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
return {
-- Add the community repository of plugin specifications
"AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.rust", enabled = true },
{
"rust-tools.nvim",
opts = {
tools = {
-- rust-tools options
reload_workspace_from_cargo_toml = true,
inlay_hints = {
auto = true,
only_current_line = false,
show_parameter_hints = true,
highlight = "Comment",
},
},
server = {
-- standalone file support
-- setting it to false may improve startup time
standalone = true,
settings = {
["rust-analyzer"] = {
cargo = {
features = "all",
},
lens = {
enable = false,
},
check = {
command = "clippy",
},
},
},
}, -- rust-analyzer options
},
},
-- available plugins can be found at https://github.com/AstroNvim/astrocommunity
{ import = "astrocommunity.colorscheme.catppuccin", enabled = true },
{
-- further customize the options set by the community
"catppuccin",
opts = {
flavour = "macchiato", -- latte, frappe, macchiato, mocha
},
},
-- { import = "astrocommunity.completion.copilot-lua-cmp" },
}