File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ return {
566566}
567567```
568568
569- ### Rust ([ rust-tools.nvim ] ( https://github.com/simrat39/rust-tools.nvim ) )
569+ ### Rust ([ rustaceanvim ] ( https://github.com/mrcjkb/rustaceanvim ) )
570570
571571:::tip
572572
@@ -581,19 +581,18 @@ return {
581581
582582:::
583583
584- ``` lua title="lua/plugins/rust-tools .lua"
584+ ``` lua title="lua/plugins/rustaceanvim .lua"
585585return {
586- { " simrat39/rust-tools.nvim" , lazy = true }, -- add lsp plugin
586+ {
587+ ' mrcjkb/rustaceanvim' , -- add lsp plugin
588+ version = ' ^5' ,
589+ lazy = false , -- This plugin is already lazy
590+ },
587591 {
588592 " AstroNvim/astrolsp" ,
589593 --- @type AstroLSPOpts
590594 opts = {
591- setup_handlers = {
592- -- add custom handler
593- rust_analyzer = function (_ , opts )
594- require (" rust-tools" ).setup ({ server = opts })
595- end ,
596- },
595+ handlers = { rust_analyzer = false }, -- Let rustaceanvim setup `rust_analyzer`
597596 },
598597 },
599598 {
You can’t perform that action at this time.
0 commit comments