From 1d4cd56ed511a559e93676a5cf651247a96be6aa Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 17 Jan 2024 21:47:15 -0500 Subject: [PATCH] embedded rust stuff --- programs | 6 ++++-- src/.config/nvim/lua/init.lua | 10 +++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/programs b/programs index 96180f9..1ab5a18 100644 --- a/programs +++ b/programs @@ -148,9 +148,9 @@ python-xlib pdf2svg chromium -cargo go npm +rustup ansible # for personal website compilation @@ -201,8 +201,10 @@ xonotic python-pipx xf86-input-wacom -# for raspberyy pi pico dev +# for raspberry pi pico dev arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-newlib picocom +# for raspberry pi pico rust dev +elf2uf2-rs diff --git a/src/.config/nvim/lua/init.lua b/src/.config/nvim/lua/init.lua index 21bdf8d..9ef4823 100644 --- a/src/.config/nvim/lua/init.lua +++ b/src/.config/nvim/lua/init.lua @@ -54,7 +54,15 @@ local servers = { tsserver = {}, bashls = {}, cssls = {}, - rust_analyzer = {}, + rust_analyzer = { + settings = { + ['rust-analyzer'] = { + check = { + allTargets = false, + }, + }, + }, + }, } local nvim_lsp = require('lspconfig')