Skip to content

Commit

Permalink
Add Rust support in neovim (rust-tools.nvim)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrench56 committed Aug 27, 2023
1 parent c6b8a83 commit b289140
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nvim/after/plugin/cmp.rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,5 @@ mason_lspconfig.setup_handlers {
end,
}

require('rust-tools').setup({})

5 changes: 4 additions & 1 deletion nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ require("lazy").setup({
config = function()
require('octo').setup()
end
}
},
'simrat39/rust-tools.nvim',
'mfussenegger/nvim-dap'

},
{
install = {
Expand Down
1 change: 1 addition & 0 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ sudo pacman -S --noconfirm python python-pip
# Install Rust
sudo pacman -S --noconfirm rustup
rustup default stable
rustup component add rust-analyzer

# Install clang & gdb (debugger)
sudo pacman -S --noconfirm clang gdb
Expand Down

0 comments on commit b289140

Please sign in to comment.