Skip to content

Develop -> Master #544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 78 commits into from
Jul 28, 2016
Merged

Develop -> Master #544

merged 78 commits into from
Jul 28, 2016

Conversation

amadeus
Copy link
Collaborator

@amadeus amadeus commented Jul 15, 2016

Still some more work to be done, and I have some JSX improvements I'd like to get in here soon, but getting the PR started to kick us into gear to get these changes into master

amadeus and others added 27 commits June 27, 2016 15:26
They really should be linked, because jsClassDefinition is really just a
function
Linking jsClassDefinition to jsFuncName
It screws up highlighting of the operators when they are used as method names:

![`delete` keyword as class method](https://dl.dropboxusercontent.com/content_link/hJYRBOhHwrBDjhoAesh3LuRS2eFPlaTSLSHLsKTq8CnfKur0FwNQ3GGo7cobYdLq/file).

This doesn't happen if you're inside a normal object:

![`delete` keyword as obj method](https://dl.dropboxusercontent.com/content_link/hJYRBOhHwrBDjhoAesh3LuRS2eFPlaTSLSHLsKTq8CnfKur0FwNQ3GGo7cobYdLq/file)
Remove jsOperator from jsClassBlock
* Functions
* Classes
* Conditionals
* Repeat statements
Adding support for oddly placed comments
- Add highlighting for binary and octal number syntax
- Highlight unary minus as operator regardless of 'iskeyword' option
- Remove L from integer literals
It's better not to touch 'iskeyword' option from a syntax file
if possible.
- Add header
- Replace 're' with 'regexpengine'
- Simplify patch check
It's better when effect of indent script can be undone.
Make use of syntax specific iskeyword setting
simplistic, accurate, possibly slow refactor
switch case, code reduction & removing needless if's
make search pair result local to buffer
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for_each...in
do while fix
case sensitivity
Adding some common NodeJS globals
Tweak highlighting of numeric literals
* for 194
@bounceme
Copy link
Collaborator

i have to work on the switch block indentation before a merge, hope to finish soon

@amadeus
Copy link
Collaborator Author

amadeus commented Jul 16, 2016

No worries, I want to re-look into some JS Flow stuff this weekend before we merge into master

@bounceme
Copy link
Collaborator

indent script is ready! how is the jsx/flow work going @amadeus ?

bounceme and others added 7 commits July 24, 2016 17:02
the folding is enough for separating content
vimscript is strange
the file is no longer long enough to require automatic folding!
* adding more operators

I think adding `<>` could mess with xml type things so i've not included them
* Improved OR operator
* Various fixes for arguments
@amadeus
Copy link
Collaborator Author

amadeus commented Jul 27, 2016

Alright, I think this is ready to go. @bounceme any last things you might want to do?

@bounceme
Copy link
Collaborator

Not really, this is ready

@amadeus
Copy link
Collaborator Author

amadeus commented Jul 28, 2016

@bounceme what about the PR you just opened? Should we wait for that?

@bounceme
Copy link
Collaborator

bounceme commented Jul 28, 2016

No ,its just a weird edge case
these issues are present currently:

if
(1)
fun()
// fixed in that p.r.

and continuations within 'c-style' ,which I haven't fixed yet

function ()
{
  var c = 1,
  o= r
}

@bounceme
Copy link
Collaborator

Maybe I could just merge it now though? only the first example is fixed, but having it tested by users be good

@amadeus
Copy link
Collaborator Author

amadeus commented Jul 28, 2016

@bounceme yeah that's good with me, go for it!

@bounceme
Copy link
Collaborator

you do the honors @amadeus !

@bounceme
Copy link
Collaborator

bounceme commented Jul 28, 2016

actually I have a possible fix for the 'c-style' issue

And it worked, now I'm ready

* fix c-style continuation
@amadeus amadeus merged commit 8e3f589 into master Jul 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants