Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Just add the code here to your .vimrc or init.vim file.

This code will show the function signatures but just hide the code inside like so:

fn foo(
    value: int
) {
+-- 19 lines: let x = vec![1, 2, 3];---------------------------------

Use zr/zm to toggle.

About

Correct Folding of Rust Functions in VIM

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages