Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

a simple neovim plugin for expanding rust macros :)

Notifications You must be signed in to change notification settings

vxpm/rust-expand-macro.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

rust-expand-macro.nvim

this is a small neovim plugin for utilizing rust-analyzer's recursively expand macro feature. just install it using your favorite plugin manager and use it like so:

require('rust-expand-macro').expand_macro()

this will expand whatever macro is currently under the cursor into a new buffer and will show it in a new vertical split.

yes, really. that's it. a single function - no need to call setup or anything like that.

special thanks

rust-tools for being the reason why this plugins exists. i didn't want any of the features it offers except for recursive expansion of macros, so i made this plugin! also, the code here is heavily based on it's implementation.

About

a simple neovim plugin for expanding rust macros :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages