rust.vim VS doom-emacs

Compare rust.vim vs doom-emacs and see what are their differences.

rust.vim

Vim configuration for Rust. (by rust-lang)

doom-emacs

An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs] (by hlissner)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
rust.vim doom-emacs
23 271
3,791 13,953
1.1% -
0.0 9.9
28 days ago almost 2 years ago
Vim Script Emacs Lisp
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of rust.vim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.
  • How to prevent rust-analyzer (rust lsp) from checking code on each save
    2 projects | /r/neovim | 5 Dec 2023
    I am using rustaceanvim and rust.vim.
  • Issue with syntax highlighting in rust with rust-analyzer
    2 projects | /r/neovim | 18 Apr 2023
    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
    3 projects | /r/neovim | 1 Apr 2023
    Or this https://github.com/rust-lang/rust.vim, it has example with running tests
  • Struggling to get basic diagnostic working with LSP
    3 projects | /r/neovim | 5 Dec 2022
    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?
    2 projects | /r/neovim | 3 Dec 2022
    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 )
    2 projects | /r/neovim | 28 Sep 2022
    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
    8 projects | /r/neovim | 27 Jul 2022
    Is having rust.vim necessary if I'm using rust-tools already?
  • Need help for setting up neovim.
    6 projects | /r/neovim | 25 Jul 2022
    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
    1 project | /r/rust | 24 Mar 2022
    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
    3 projects | /r/learnrust | 6 Feb 2022
    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

doom-emacs

Posts with mentions or reviews of doom-emacs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-23.
  • trouble downloading D.E. on emacs flatpak
    2 projects | /r/DoomEmacs | 23 Oct 2023
    $ rm -rf ~/.config/emacs # Remove the existing directory if necessary git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.config/emacs ~/.config/emacs/bin/doom install
  • Zed – A high-performance, multiplayer code editor written in Rust. Now in public beta
    10 projects | /r/rust | 15 Mar 2023
    Sounds like what you want is emacs, but preconfigured. In that case, have you tried Doom Emacs, Spacemacs or any of the myriad of others like those?
  • user error why does it say no file after i created the directory
    1 project | /r/emacs | 11 Mar 2023
    darren@pop-os:~$ git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d Cloning into '/home/darren/.emacs.d'... remote: Enumerating objects: 1156, done. remote: Counting objects: 100% (1156/1156), done. remote: Compressing objects: 100% (1042/1042), done. remote: Total 1156 (delta 85), reused 650 (delta 71), pack-reused 0 Receiving objects: 100% (1156/1156), 1.13 MiB | 7.29 MiB/s, done. Resolving deltas: 100% (85/85), done.
  • how can i download a tarball as a mutable directory in home-manager?
    1 project | /r/NixOS | 4 Dec 2022
    I used to do something like -{ nixosConfig, config, lib, pkgs, ... }: -let - xdgConfig = config.xdg.configHome; -in { - home.activation = { - foo = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - doomdir="${xdgConfig}/doom"; - # $VERBOSE_ARG - if [ -d "$doomdir" ]; then - $DRY_RUN_CMD git -C "$doomdir" pull http master || true - else - # git clone and change url - http="https://git." - $DRY_RUN_CMD git clone "$http" "$doomdir" - # the new url needs ssh keys setup - git -C "$doomdir" remote add http "$http" - git -C "$doomdir" remote set-url origin "gitea@git." - fi - emacsdir="${xdgConfig}/emacs" - if [ -d "$emacsdir" ]; then - if [ -d "$emacsdir/.local" ]; then - $DRY_RUN_CMD $emacsdir/bin/doom sync - fi - else - $DRY_RUN_CMD git clone --depth 1 https://github.com/hlissner/doom-emacs "$emacsdir" - fi - ''; - }; -}
  • How to specify formatter for LSP mode?
    2 projects | /r/DoomEmacs | 7 Sep 2022
    `;; Needed to add javascript-eslint to the the next-checker after lsp so that it would actually load, as that wasn’t happening by deafult ;; also needed to runit after the lsp-afer-initalize-hook because otherwise ‘lsp wasn’t a valid checker (add-hook ‘lsp-after-initialize-hook (lambda () (flycheck-add-next-checker ‘lsp ‘javascript-eslint))) ;; https://github.com/hlissner/doom-emacs/issues/1530 ;; Potential alternative to the above ;; (after! (:and lsp-mode flycheck) ;; (flycheck-add-next-checker ‘lsp ‘javascript-eslint))
  • Emacs for Professionals
    11 projects | news.ycombinator.com | 3 May 2022
    The performance lag of Spacemacs was addressed by Doom Emacs ( https://github.com/hlissner/doom-emacs ). Have you tried Doom Emacs by any chance. After syncing everything, the performance is stellar in my opinion.
  • Please help me in translating my vimrc to emacs equivalents.
    4 projects | /r/emacs | 27 Apr 2022
    but I just realized, you're probably better off using doom emacs. The defaults are sane, customizations are almost always optional and the community's really active/helpful. (Disclaimer: I'm a doom emacs user with ~2k lines of config)
  • Just discovered emacs as a long term vim user and it's incredible
    13 projects | /r/vim | 26 Apr 2022
    While Doom is more opinionated, it's not too difficult make Emacs your own, most of the choices are optimized anyway. Currently the head of Spacemacs devs is not active on the project anymore. Also I don't think it's hard to upstream code to Doom, as long as the code is thoroughly written, take a similar example on both sides: the introduction of a completion engine as layer/module (same packages are installed): - https://github.com/syl20bnr/spacemacs/pull/14901: 23 comments, 7 participants - https://github.com/hlissner/doom-emacs/pull/4664: 576 comments, 20 participants
  • What would you consider a modern lisp workflow/toolchain?
    10 projects | /r/lisp | 25 Apr 2022
    Also Doom emacs has one. https://github.com/hlissner/doom-emacs https://github.com/hlissner/doom-emacs/tree/master/modules/lang/common-lisp
  • Should I learn vim in 2022?
    1 project | /r/learnprogramming | 24 Apr 2022
    Nowadays, I use https://github.com/hlissner/doom-emacs with WSL2 but only for org-mode. For code, I have either Sublime Text or VS Code.

What are some alternatives?

When comparing rust.vim and doom-emacs you can also consider the following projects:

Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!

coc-rust-analyzer - rust-analyzer extension for coc.nvim

Visual Studio Code - Visual Studio Code

YouCompleteMe - A code-completion engine for Vim

neovim - Vim-fork focused on extensibility and usability

Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!

prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.

refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler

LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.

rusty-tags - Create ctags/etags for a cargo project

helm - Emacs incremental completion and selection narrowing framework