Giter VIP home page Giter VIP logo

Comments (5)

fxbois avatar fxbois commented on May 22, 2024

@NateEag could you provide 2 gist files : the source before and the source after (after = the way you would like that it would indented) ... I've never used fill-paragraph
tia

from web-mode.

fxbois avatar fxbois commented on May 22, 2024

@NateEag Ok got it
I should only indent the comment at fill-column width.
Is that what you want ?
Could you confirm that tou would never M-q in an other place than a comment ?

from web-mode.

NateEag avatar NateEag commented on May 22, 2024

Yes - I would like the comment to be wrapped to fill-column width, and only the comment to be wrapped, not any of the following lines. That is the behavior I am used to from other programming modes.

I'm not aware of a use for fill-paragraph other than free-flowing text, so I can't see offhand where you'd use it other than a comment.

The gists you requested:

https://gist.github.com/NateEag/5179360 - before
https://gist.github.com/NateEag/5179366 - after

from web-mode.

fxbois avatar fxbois commented on May 22, 2024

should be better with last commit. I'll have to implement all the cases (I have to be compatible with all the comment syntaxes)

from web-mode.

NateEag avatar NateEag commented on May 22, 2024

Much better. Thanks!

from web-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.