Neovim + Rust 😱 | Rust Language

Описание к видео Neovim + Rust 😱 | Rust Language

Neovim and Rust.
After watching numerous programmers on YouTube use Neovim for Rust programming, I have spent a few days gradually setting it up on my Linux laptop. I already know Vi/Vim.
As a Neovim beginner...My only warning is don't go for the "easy" set up...and personally...don't use the "lua" method. Just my preference, I'm sure there are benefits once you know a bit more. The stumbling block was getting Rust Analyzer to work, but now that's working I'm intending to stick with Neovim!

Ps. If you want ligatures (the nice arrows), use Fira font and use "Tabby" as your terminal emulator :
🟢 https://github.com/tonsky/FiraCode
🟢 https://tabby.sh/

Here is my init.vim config:
🟢 https://gist.github.com/RGGH/9bf10b5c...

Updates/Progress will be in this playlist as I tweak things:
   • Neovim + Rust  

-- Useful links:

🟢 https://github.com/ycm-core/YouComple...
🟢 https://rust-analyzer.github.io/manua...
🟢 https://rust-analyzer.github.io/
🟢 https://github.com/catppuccin/catppuccin
🟢 https://github.com/tonsky/FiraCode

** Update 1st Sept 2023 : comments plugin **
I also added to : ~/.config/nvim/init.vim:
Plug 'preservim/nerdcommenter'
filetype plugin on

and then ran :PlugInstall from inside nvim, so I can now comment out code with \cn in normal mode, and uncomment using \cu

See : https://github.com/preservim/nerdcomm...

TLDR;
-------------
Check out : "You complete me", "coc", (links above) and from my experience it's easier to use vim config file rather than "lua"

Linux Ubuntu / Mint users :
--------------------------------------------
Use the following command to see all the PPAs added in your system and delete the problematic line if it's causing installs to not work.
ls /etc/apt/sources.list.d

🟩 Patreon : patreon.com/join/3552586

#rustlang #neovim #rustAnalyzer

Комментарии

Информация по комментариям в разработке