KristofferC/OhMyREPL.jl

Extra newline in docstrings

Opened this issue · 0 comments

Moved from JuliaLang/julia#53561

x@fedora:~/Documents$ julia --startup-file=no -e 'using OhMyREPL' -i
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.0-alpha1 (2024-03-01)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> """
           f()
       
       does a thing
       """
       f() = 0
f

help?> f
search: f if fd

  f()


  does a thing

julia> 
x@fedora:~/Documents$ julia --startup-file=no -i
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.0-alpha1 (2024-03-01)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> """
           f()

       does a thing
       """
       f() = 0
f

help?> f
search: f if fd

  f()

  does a thing