rust.vim
vim-vinegar
rust.vim | vim-vinegar | |
---|---|---|
23 | 38 | |
3,797 | 2,184 | |
0.5% | - | |
0.0 | 1.8 | |
about 1 month ago | over 2 years ago | |
Vim Script | Vim Script | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust.vim
-
How to prevent rust-analyzer (rust lsp) from checking code on each save
I am using rustaceanvim and rust.vim.
-
Issue with syntax highlighting in rust with rust-analyzer
When the file first loads, it uses the syntax defined in the $VIMRUNTIME/syntax/rust.vim file from rust.vim, which is what I want, but after a few seconds (probably once rust-analyzer loads and runs), it changes the highlighting to use different colours (there's probably a better way to describe it, but a video is easier to show). This colour change also happens when I write the file (and rust-analyzer runs again).
-
Can’t run specific test via LSP
Or this https://github.com/rust-lang/rust.vim, it has example with running tests
-
Struggling to get basic diagnostic working with LSP
If you need basic syntax checking on leaving insert mode (without saving file), https://github.com/rust-lang/rust.vim can be used
-
Is it possible to have Rust doc test comments highlighted in Neovim?
Seems like there's a tree-sitter solution, but I do want to note that this works out of the box with rust.vim: https://github.com/rust-lang/rust.vim/issues/63. It might be the built-in Rust support is out of date -- using that repo as a plugin would do the trick.
-
Default mappings override user mappings in Rust ( [[ and ]] mappings )
Most of the customizations in the $VIMRUNTIME's rust ftplugin are guarded behind a flag (g:rust_fold, g:rustfmt_autosave,g:rust_recommended_style, etc.) to control enabling and disabling them, but for some reason the navigation mappings are unconditionally defined, with no flag to turn them off... It might be worth going through the issues in https://github.com/rust-lang/rust.vim to see if that ever came up before.
-
Config For rust dev
Is having rust.vim necessary if I'm using rust-tools already?
-
Need help for setting up neovim.
Primeagen has a series, you could also try spacevim or lunarvim( i prefer lunarvim). If you want to read the docs and setup yourself 1. lsp and code completion mentioned in #5. 2. treesitter 3. lsp handles that, you have to install java's lsp, this improves its look. 4. Make your own remaps, some languages have a plugin for this but i can't find one for java, this is the one for rust. 5. Install cmp and one of the snippet engines.
-
Rust with Vim
writing rust is the same regardless of which editor you use and using vim is the same regardless of what programming language you are in, so i dont think you need a tutorial neccissarily. ive been using this plugin for rust-specific features https://github.com/rust-lang/rust.vim
-
Configure NeoVim for Rust Dev
As for plugins for Rust development, I’d recommend Conquer of Completion (using the coc-rust-analyser coc plugin), Rust lang’s rust plugin, and the Toml plugin
vim-vinegar
-
I use the default file browser in vim (netrw). I know there are plugins that a lot of people like. Should I switch?
I just recently got into the "plugin frenzy", and since I was already using netrw, I ignored all the tree-style options and just installed the tpope's vim-vinegar to extend it.
-
Best way to manipulate files inside neovim?
Netrw + vim-vinegar works for me. In conjunction with harpoon and a bufferline and maybe vim-eunuch, it works out pretty well
-
main file explorer plugin replacement?
I think you might be looking for netrw (:Ex brings it up). It is the default file explorer and can be used in many cool ways. There are extensions for it, like (vim-vinegar, and :help netrw is your friend :)
-
What plugins do you use to manage work across multiple files?
Plain `netrw` with a few options changed and tpope's vim-vinegar for easy access
-
Which file explorer do you use?
I use Vinegar but should try Oil. https://github.com/tpope/vim-vinegar
-
Nvim-tree or ??
Hijacking netrw to prevent disruptive "project drawer" style plugins as mentioned in the vim-vinegar readme is important to me.
-
Managing your files. How do you do it?
When you understand the default file explorer, you'll probably appreciate https://github.com/tpope/vim-vinegar
-
Neovim config from scratch (Part I)
ThePrimeagen suggests pv as the mapping to see the folder, but - comes from me being used to https://github.com/tpope/vim-vinegar some time ago. Choose your's to your liking.
-
Using neovim without a file tree plugin
Netrw, vim’s built in file explorer is pretty solid if you’re looking to understand the topology of a project. I really like the pattern of browsing the file tree in the window pane where the file will open. vim vinegar is a great plugin for refining the netrw experience and making it a little more seamless. Takes a minute to learn the keybindings, but I find it much lighter and less intrusive than nerd tree or it’s offshoots.
-
netrw.nvim - It's not because we use netrw that we cannot have nice things!
This one is for the vinegar workflow enjoyers. Netrw is good enough for my needs but it was missing a bit of *bling*. This plugins adds basic icon supports and custom keymappings.
What are some alternatives?
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
nvim-tree.lua - A file explorer tree for neovim written in lua
coc-rust-analyzer - rust-analyzer extension for coc.nvim
nerdtree - A tree explorer plugin for vim.
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
vim-devicons - Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
YouCompleteMe - A code-completion engine for Vim
neo-tree.nvim - Neovim plugin to manage the file system and other tree like structures.
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
denite.nvim - :dragon: Dark powered asynchronous unite all interfaces for Neovim/Vim8
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
oil.nvim - Neovim file explorer: edit your filesystem like a buffer