[ESS] fill-paragraph on documentation in ESS/julia

Tamas Papp tkpapp at gmail.com
Thu Apr 7 10:39:10 CEST 2016


Hi,

If in ESS/julia I run M-q (fill-paragraph) on the docstring in the
definition

"Resolve the complement of an index. Always return an index that does
not drop dimensions."
function getindex(si::SymbolIndex, x::Any, ::Val{:complement})
    setdiff(1:si.length, getindex(si,x))
end

it gets rearranged to

"Resolve the complement of an index. Always return an index that does
not drop dimensions."  function getindex(si::SymbolIndex, x::Any,
::Val{:complement}) setdiff(1:si.length, getindex(si,x)) end

Is there a way to tell ESS only to rearrange the string, not anything
around it?

(Using latest master from git repo.)

Best,

Tamas



More information about the ESS-help mailing list