simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.17k stars 158 forks source link

`RustExpand` does not work #284

Closed segeljakt closed 1 year ago

segeljakt commented 1 year ago

I get: error: Unrecognized option: 'pretty'

segeljakt commented 1 year ago

:lua require'rust-tools'.expand_macro.expand_macro() seems to work though

simrat39 commented 1 year ago

the command is RustExpandMacro, not sure where RustExpand is coming from

segeljakt commented 1 year ago

Ok, I must have been confused

Jasha10 commented 1 year ago

It turns out that :RustExpand is built-in to Neovim (see neovim/runtime/ftplugin/rust.vim).