Code Monkey home page Code Monkey logo

Comments (11)

pangloss avatar pangloss commented on July 26, 2024

Yeah, it'd be great if someone fixes this issue! Until then we're stuck
tabbing those lines in manually. :)

Darrick

On Mon, Nov 21, 2011 at 5:20 AM, wmertens <
[email protected]

wrote:

I'm trying to follow the rules that JSLint has, and something like

var a=b,
c,
d;

gets indented as

var a=b,
c,
d;

which JSLint doesn't like.

I may also be doing something wrong of course.


Reply to this email directly or view it on GitHub:
#34

from vim-javascript.

jtwalters avatar jtwalters commented on July 26, 2024

This has plagued me for months! Anyone know vim indent enough to fix it for us? Please :)

from vim-javascript.

amadeus avatar amadeus commented on July 26, 2024

This is something I would love, also the ability drop back to the proper indentation after the closing ; would be fantastic as well.

Unfortunately I know nearly nothing about vim indentation, I'll assign this to @goatslacker for now to see if he has a solution.

from vim-javascript.

qstrahl avatar qstrahl commented on July 26, 2024

I've been meaning to get into vim indent stuff. Can't promise I'll make any progress quickly, but I'll at least take a crack at it, if nobody else fixes it first.

from vim-javascript.

amadeus avatar amadeus commented on July 26, 2024

I did a bit of digging, it looks like this feature used to exist, but recently got disabled on this commit: 079c5ad

I guess @goatslacker had a reason for removing it? I personally would like it back in.

from vim-javascript.

goatslacker avatar goatslacker commented on July 26, 2024

You can see a short explanation why in that commit's comments.

from vim-javascript.

amadeus avatar amadeus commented on July 26, 2024

Hah, didn't notice the comments below the diffs.

from vim-javascript.

oryband avatar oryband commented on July 26, 2024

Any news on this?

from vim-javascript.

qstrahl avatar qstrahl commented on July 26, 2024

I almost forgot about this one. I might be able to find time to take a look at it this week.

from vim-javascript.

kmckee avatar kmckee commented on July 26, 2024

+1

from vim-javascript.

amadeus avatar amadeus commented on July 26, 2024

Should be fixed in develop

from vim-javascript.

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.