🔧 Adjusted config for use with rust
This commit is contained in:
parent
6f793d7428
commit
ca2864bc45
2 changed files with 3 additions and 1 deletions
|
|
@ -5,9 +5,10 @@ lsp.preset("recommended")
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
|
|
||||||
lsp.ensure_installed({
|
lsp.ensure_installed({
|
||||||
|
"clangd",
|
||||||
"tsserver",
|
"tsserver",
|
||||||
"eslint",
|
"eslint",
|
||||||
"rust_analyzer",
|
-- "rust_analyzer",
|
||||||
"volar",
|
"volar",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,7 @@ return require("packer").startup(function(use)
|
||||||
use("ray-x/guihua.lua")
|
use("ray-x/guihua.lua")
|
||||||
-- rustlang
|
-- rustlang
|
||||||
use("rust-lang/rust.vim")
|
use("rust-lang/rust.vim")
|
||||||
|
use("mrcjkb/rustaceanvim")
|
||||||
use("simrat39/rust-tools.nvim")
|
use("simrat39/rust-tools.nvim")
|
||||||
-- code snippet screenshots
|
-- code snippet screenshots
|
||||||
-- capture code snippets using :Silicon,
|
-- capture code snippets using :Silicon,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue