You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
8.2 KiB
VimL

Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
syntax region jsFlowDefinition contained start=/:/ end=/\%(\s*[,=;)\n]\)\@=/ contains=@jsFlowCluster containedin=jsParen
syntax region jsFlowArgumentDef contained start=/:/ end=/\%(\s*[,)]\|=>\@!\)\@=/ contains=@jsFlowCluster
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax region jsFlowArray contained matchgroup=jsFlowNoise start=/\[/ end=/\]/ contains=@jsFlowCluster,jsComment fold
syntax region jsFlowObject contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=@jsFlowCluster,jsComment fold
syntax region jsFlowExactObject contained matchgroup=jsFlowNoise start=/{|/ end=/|}/ contains=@jsFlowCluster,jsComment fold
syntax region jsFlowParens contained matchgroup=jsFlowNoise start=/(/ end=/)/ contains=@jsFlowCluster keepend fold
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
syntax match jsFlowNoise contained /[:;,<>]/
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax keyword jsFlowType contained boolean number string null void any mixed JSON array Function object array bool class
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
syntax keyword jsFlowTypeof contained typeof skipempty skipempty nextgroup=jsFlowTypeCustom,jsFlowType
syntax match jsFlowTypeCustom contained /[0-9a-zA-Z_.]*/ skipwhite skipempty nextgroup=jsFlowGroup
syntax region jsFlowGroup contained matchgroup=jsFlowNoise start=/</ end=/>/ contains=@jsFlowCluster
syntax region jsFlowArrowArguments contained matchgroup=jsFlowNoise start=/(/ end=/)\%(\s*=>\)\@=/ oneline skipwhite skipempty nextgroup=jsFlowArrow contains=@jsFlowCluster
syntax match jsFlowArrow contained /=>/ skipwhite skipempty nextgroup=jsFlowType,jsFlowTypeCustom,jsFlowParens
syntax match jsFlowObjectKey contained /[0-9a-zA-Z_$?]*\(\s*:\)\@=/ contains=jsFunctionKey,jsFlowMaybe skipwhite skipempty nextgroup=jsObjectValue containedin=jsObject
syntax match jsFlowOrOperator contained /|/ skipwhite skipempty nextgroup=@jsFlowCluster
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax keyword jsFlowImportType contained type skipwhite skipempty nextgroup=jsModuleAsterisk,jsModuleKeyword,jsModuleGroup
syntax match jsFlowWildcard contained /*/
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax match jsFlowReturn contained /:\s*/ contains=jsFlowNoise skipwhite skipempty nextgroup=@jsFlowReturnCluster,jsFlowArrow,jsFlowReturnParens
syntax region jsFlowReturnObject contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp fold
syntax region jsFlowReturnArray contained matchgroup=jsFlowNoise start=/\[/ end=/\]/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp fold
syntax region jsFlowReturnParens contained matchgroup=jsFlowNoise start=/(/ end=/)/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp,jsFlowReturnArrow fold
syntax match jsFlowReturnArrow contained /=>/ skipwhite skipempty nextgroup=@jsFlowReturnCluster
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
syntax match jsFlowReturnKeyword contained /\k\+/ contains=jsFlowType,jsFlowTypeCustom skipwhite skipempty nextgroup=jsFlowReturnGroup,jsFuncBlock,jsFlowReturnOrOp
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax match jsFlowReturnMaybe contained /?/ skipwhite skipempty nextgroup=jsFlowReturnKeyword,jsFlowReturnObject
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
syntax region jsFlowReturnGroup contained matchgroup=jsFlowNoise start=/</ end=/>/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncBlock,jsFlowReturnOrOp
syntax match jsFlowReturnOrOp contained /\s*|\s*/ skipwhite skipempty nextgroup=@jsFlowReturnCluster
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax match jsFlowWildcardReturn contained /*/ skipwhite skipempty nextgroup=jsFuncBlock
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
syntax region jsFlowFunctionGroup contained matchgroup=jsFlowNoise start=/</ end=/>/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsFuncArgs
syntax region jsFlowClassGroup contained matchgroup=jsFlowNoise start=/</ end=/>/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsClassBlock
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax region jsFlowTypeStatement start=/type\%(\s\+\k\)\@=/ end=/=\@=/ contains=jsFlowTypeOperator oneline skipwhite skipempty nextgroup=jsFlowTypeValue keepend
syntax region jsFlowTypeValue contained matchgroup=jsFlowNoise start=/=/ end=/[\n;]/ contains=@jsFlowCluster,jsFlowGroup,jsFlowMaybe
syntax match jsFlowTypeOperator contained /=/ containedin=jsFlowTypeValue
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
syntax match jsFlowTypeOperator contained /=/
syntax keyword jsFlowTypeKeyword contained type
syntax keyword jsFlowDeclare declare skipwhite skipempty nextgroup=jsFlowTypeStatement,jsClassDefinition,jsStorageClass,jsFlowModule,jsFlowInterface
syntax match jsFlowClassProperty contained /\<[0-9a-zA-Z_$]*\>:\@=/ skipwhite skipempty nextgroup=jsFlowClassDef containedin=jsClassBlock
syntax region jsFlowClassDef contained start=/:/ end=/\%(\s*[,=;)\n]\)\@=/ contains=@jsFlowCluster skipwhite skipempty nextgroup=jsClassValue
syntax region jsFlowModule contained start=/module/ end=/{\@=/ skipempty skipempty nextgroup=jsFlowDeclareBlock contains=jsString
syntax region jsFlowInterface contained start=/interface/ end=/{\@=/ skipempty skipempty nextgroup=jsFlowInterfaceBlock contains=@jsFlowCluster
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax region jsFlowDeclareBlock contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=jsFlowDeclare,jsFlowNoise fold
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
" NOTE: It appears the nextgroup was causing a ton of breakages... testing it
" witout a nextgroup, but keeping this arround for reference incase something breaks
" syntax match jsFlowMaybe contained /?/ nextgroup=jsFlowType,jsFlowTypeCustom,jsFlowParens,jsFlowArrowArguments,jsFlowObject,jsFlowReturnObject extend keepend
syntax match jsFlowMaybe contained /?/
syntax region jsFlowInterfaceBlock contained matchgroup=jsFlowNoise start=/{/ end=/}/ contains=jsObjectKey,jsObjectKeyString,jsObjectKeyComputed,jsObjectSeparator,jsObjectFuncName,jsObjectMethodType,jsGenerator,jsComment,jsObjectStringKey,jsSpreadExpression,jsFlowNoise keepend fold
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
syntax region jsFlowParenAnnotation contained start=/:/ end=/[,=)]\@=/ containedin=jsParen contains=@jsFlowCluster
syntax cluster jsFlowReturnCluster contains=jsFlowNoise,jsFlowReturnObject,jsFlowReturnArray,jsFlowReturnKeyword,jsFlowReturnGroup,jsFlowReturnMaybe,jsFlowReturnOrOp,jsFlowWildcardReturn,jsFlowReturnArrow
syntax cluster jsFlowCluster contains=jsFlowArray,jsFlowObject,jsFlowExactObject,jsFlowNoise,jsFlowTypeof,jsFlowType,jsFlowGroup,jsFlowArrowArguments,jsFlowMaybe,jsFlowParens,jsFlowOrOperator,jsFlowWildcard
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
if version >= 508 || !exists("did_javascript_syn_inits")
if version < 508
let did_javascript_syn_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink jsFlowDefinition PreProc
HiLink jsFlowClassDef jsFlowDefinition
HiLink jsFlowArgumentDef jsFlowDefinition
HiLink jsFlowType Type
HiLink jsFlowTypeCustom PreProc
HiLink jsFlowTypeof PreProc
HiLink jsFlowArray PreProc
HiLink jsFlowObject PreProc
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
HiLink jsFlowExactObject PreProc
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
HiLink jsFlowParens PreProc
HiLink jsFlowGroup PreProc
HiLink jsFlowReturn PreProc
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
HiLink jsFlowParenAnnotation PreProc
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
HiLink jsFlowReturnObject jsFlowReturn
HiLink jsFlowReturnArray jsFlowArray
HiLink jsFlowReturnParens jsFlowParens
HiLink jsFlowReturnGroup jsFlowGroup
HiLink jsFlowFunctionGroup PreProc
HiLink jsFlowClassGroup PreProc
HiLink jsFlowArrowArguments PreProc
HiLink jsFlowArrow PreProc
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
HiLink jsFlowReturnArrow PreProc
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
HiLink jsFlowTypeStatement PreProc
HiLink jsFlowTypeKeyword PreProc
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
HiLink jsFlowTypeOperator Operator
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
HiLink jsFlowMaybe PreProc
HiLink jsFlowReturnMaybe PreProc
HiLink jsFlowClassProperty jsClassProperty
HiLink jsFlowDeclare PreProc
HiLink jsFlowModule PreProc
HiLink jsFlowInterface PreProc
HiLink jsFlowNoise Noise
HiLink jsFlowObjectKey jsObjectKey
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
HiLink jsFlowOrOperator jsOperator
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
HiLink jsFlowReturnOrOp jsFlowOrOperator
Squashed 'vim/bundle/javascript/' changes from e9a59c877..d2ccd306f d2ccd306f use generic equivalent 3ea6ed6ac Trim optimize (#1024) c03aee798 add 'mjs' extension (#1023) c5e5e2012 refactor, mergeable (#1018) dcb4e4762 cleaning, small optimization? (#1015) 7097cdad8 Small Flow return fix 739562910 more simplify of PCL (#1013) 8ea46f3e6 neater/faster iterating 6ccc1a713 Fix certain flow annotations within classes fc80419fd trivial indent fixes / updates (#1007) 09d7c7051 faster/smaller cache access, SynId function (#1005) 7175ba5e6 missed a condition last time ff851de60 improve conditionals all over (#1002) 37a68c3c7 Add fold to various flow regions dd1f74fb8 Another quick flow patch bc5b02484 A few more fixes 008e98985 Trying out some flow tweaks e4870b4f5 More fixes for flow 0353342bc Fix for jsFlowOperator 243932e58 A ton of flow fixes ff5e284f4 exponentiator, operator things (#1001) f0ce7ffa9 cino-W (#1000) cc84aa380 Merge pull request #999 from wavded/patch-2 ef74079e9 Add @async tag support. 603ec7156 cleaning, indent (#997) be46c1c4d document and improve class cases (#996) 9b2a032c3 fix list size error with setpos() 7684f3cfc magic 1bd80e092 edge case fix: prevcodeline() and c style comments (#994) 72f4a95b2 fix for `[*` failing 43097941a let [] =[], minor formatting (#990) aba8630e2 Making jsModuleGroup foldable 517d37c97 Merge pull request #992 from pangloss/async-fix 97203f192 async/await should be an @jsExpression ebc6fd267 fix expr_col case 14cf98883 remove semicolon flag; flow (#989) e0472fc50 indent file cleaning (#988) 4eac815fa cleaner searcpair workaround e6f514324 IsCont trivial refactor (#986) efd4f1f5e Small fix for Flow class annotations 8d6fbfb41 lex type import (#984) f20659188 small logic reversal 438990878 date, cleaning 271f73123 clean up Syn e14cfb6a0 flowtype requiring (#982) 2b0889fa8 naturalize (#981) 0b44edb6f Pcodeline (#980) 868c15b1c non-interrupting limit info in debugging 42c9451ab more lookbehind needed... classes 1cb44af82 make var naming consistent (#977) 6f880fe81 fix for non-inheriting (#976) 4e3c3c0d6 small logic fix e5cdee7b2 assure switch isn't method (#974) 931dbd5b6 cino-M (#971) a5a9a17d4 add possible ident shorthand (#970) 7ba092739 cleaner generator shorthand fix (#969) 2dfe7cded star shorthand workaround 9ea6e5df1 date 388c9cbc4 Nat is unary 147e50669 remove script-global, range reversal, max (#965) 18cd99029 cino-star behavior; remove s:W references e092e7fce star comment find, as loop (#963) eb5f00f67 Small fix for jsTaggedTemplate beba61e8e trivial reading stuff and date 1d28953b1 clearer -1 check 28281d25a simplify isBlock and doWhile (#962) 4242a4b5f remove function setup 2e24d89cc fix wording f5f32a9f4 Update README.md bb2c6857d cino-= and misc style changes: indent.vim (#959) 89c3d920e variable of current token in functions (#958) 21a8a7ed8 misc:refactor (#957) dc0bb4748 cleaning: indent.vim (#956) d3068263e date d9820f993 remove comment hack 5f0163963 no eval or confusing viml workarounds (#954) e73b32207 deduplication (#953) 809b6beb4 move state out of try block 82b142242 test fix (#952) 9ce4ea852 misc: go back to l:pos only when needed; (#947) d12dc6156 just use dict value 18c2c847e Merge pull request #925 from pangloss/issue-template d33561172 Improve issue template 7d8a2b117 Adding an ISSUE_TEMPLATE.md a898a9780 Merge pull request #942 from pangloss/bounceme-patch-1 c8aa5ed52 fix wrong func call 244985f10 don't use cursor() in conditional 573879c9d Reuse pos restorer, misc cleaning (#943) 0c26c4808 fix #940: ternary expression returning arrow 81166acad cache synID calls (#938) a1f36ff79 move s: vars 5b2f56d75 Fix buffer variables inited only once (#941) 65dbdfc45 Fix variable typo (#939) f7ffea095 Misc: indent (#937) 896bb54d2 configurable syntax skipping (#936) 53b043924 misc: indent.vim (#935) 259f5282f (silent) exception same as within searchpair (#934) 1e59f8488 break at html too fcdacf6f7 break search at col:1 (#933) ac71ceca3 another str2nr() 45d092f65 str2nr() to prevent octal e573aa0b6 unneeded var declare (#932) 317125e18 &cino non-regex (#931) 2bca9c6f6 misc fixes, non-critical stuff (#929) 10492a89d cino-U (#928) 145fdc76d script-tag var access (#927) 3c2923e43 dont depend on loop error handling 2c8733ed7 vim script minify (#924) 021a5ff80 simpler, float less, cino parse (#926) 5511721b1 compiler header 23f5d0ed1 update comments 0d7ad9320 better do -> while "switch" 1a7a8fc8d no pos movement, exit correctly in prevline() d8729f221 string detecting for prevline() a327247d1 add note ceae62037 Merge pull request #921 from pangloss/fix-prototype ff9918c7c Fix prototype matching 431aa0ed1 Merge pull request #920 from pangloss/add-await-js-expression 5e85c21d0 Adding await to @jsExpression 665501ba2 various indent cleanups (#917) 55651ba6d add "es" extension (#916) b6c00a194 move flow detect to ft detect file (#913) f786167f9 Merge pull request #912 from sebcode/master 0cc170159 Allow flowtype annotation for arrow func return val c87bb4345 auto load flow file with comment header (#911) 8fb55c5be minor change to limit 9cbe46c4a limit expr_col b954ab478 ternary assignment 4e64bcff9 cleaner limiting in html bea0e2096 change buffer variable for html 3ca2f636d fix, keep cache valid in tag 10f71931a don't move to scriptTag 87ecc8742 fix html without pangloss repo syntax file (#909) ac4efdca0 indenting for first line after script tag (#908) 1e4ec0aaf also disregard flow bracket as operator 8e51618ba fix embedded js (#907) 63355ea70 fix: add jsImport and jsExport to htmlJavaScript (#906) 3530116b5 builtin optimization, fail condition (#904) d2bc31992 more pattern simplifications (#903) fac43e7d2 explicit match of cino parse (#902) a24f345f4 dot isblock 90cf82a9f Remove a call to trim() in Onescope (#900) afe6b8bf2 do while; experiment (#899) 0034e332b strpart instead of substrings,date (#898) d87476f30 simplify balance optimization (#897) 289eca381 use search() 'e' flag to simplify regex 015004855 case 4a442bade virtual (#894) 669262388 replace tabs shell comment e79107b49 add small note about testing in shell (#890) 2ad6da791 small code style fixes 1f9e29243 Onescope() refining (#889) 688d34b2e fix type as identifier (#887) a2259d32b flow type ob (#886) 5ff6d5071 more prevcodeline improving (#884) 6c2007980 small fix 6007c680e refactor Prevcodeline (#883) d8ffdf71e remove extra func call 867f50038 remove eval in continues() (#881) 95405f8e3 shiftwidth() compat (#879) d79de5b4f expr_col switch? (#878) a35306e0a save_pos instead of try/finally , date (#877) 40c437fd1 reimplement Trim() (#876) 6be84aa6b alternating balanced() (#874) f92f5814e use float support rather than reimplement it (#873) 44b70ce73 remove pointless format flag (#872) 1ad5378d6 cleaning (#870) c3892c40a reverse logic,skipfunc (#869) 57c837045 regex in token (#868) b99793534 optimization in alternatepair() (#867) 0f36d47e8 make search magic 6fad4c536 document cino-w 73a8a137d cino-w (#864) eb0465274 more c-parse fixes ab5f29eee safe list value 6968e93e3 cino-parsing helper (#862) 5824735cd cino-b (#861) c07c72700 unneeded condition d1b6d908d safer check for paren/cino 4b219f6c9 doc 6c0bd6505 cino=( (#860) 53c547bbb extends, isBlock 4dc80ee25 regex explicit case 203126dae remove quote inaccuracy 05e17e4d4 if ptoken fails, restore cursor (#858) 23e5fa204 fix jsx detection (#857) f70263dc6 clean up continues() (#856) 51e0cc54f more likely condition first (#855) 3344f1388 more keywords/operators (#854) 7072eb54a new operator 97a8ab46e cino option 220ce28ee reduce if nesting, isBlock consistency (#853) 6e8811c32 Enabling spell checking on template strings (#834) e3a0e1f55 ternary algorithm simplified c63905600 regex case fixes (#850) 3bb778ee7 faster tern col regex (#849) 9cf48ee3d string group name 18bc58a02 refactor isBlock (#846) 38c2b557b full syntax check if inside jsx (#844) 742f55bf1 syn related indent fixes (#843) 545ab1a90 Merge pull request #842 from pangloss/misc-bugfixes 5c526adcb Fixes to some comment chaining 1f1d5ebf3 unicode regex flag (#840) d993dda7d Merge pull request #838 from pangloss/bugfix/js-func-call 994b78bf7 Fix for jsFuncCall 871ab2959 prevent octal conversion (#835) 9ada8ab92 switch_offset min value (#832) 8d0d45349 template inner code (#830) b7677c924 float-less cino parsing (#828) 307eb850d better zero char solution bf2f6a8e4 do inc/dec/arrow detection in function (#827) 2195ce010 safer GetPair condition (#824) 432d01b2d Merge pull request #823 from pangloss/ret c354c479e Merge pull request #822 from qstrahl/fix-js-class-value-arrow-function 1ec994774 shorten final return 8b55755e9 Remove keepend from jsClassValue region 4e1ec95dc fix 9d24edb47 accurate Trim and prev_token funcs (#817) 8526ce56e Merge pull request #814 from pangloss/feature/js-object-prop 019e523aa combine ind logic (#816) 67b90c737 First pass at `jsObjectProp` 3cf8f3d0b Merge pull request #801 from pangloss/feature/new-bind-syntax 22c7e7b3e jsBlockLabels are not allowed if :: 7c95ee824 First pas at :: support 9f3ecf459 Merge pull request #815 from pangloss/jstemplateexpression 88c85d9ea Renaming jsTemplateVar -> jsTemplateExpression 690f23ea8 fix for inc/dec operators and blocks (#811) 18cbb4bde cleaning (#810) 0367cb5d5 add compiler plugin (#808) f54c861a8 remove search call (#809) 96a5b5ec6 remove z flag 53dea7aff cleaning,search flags (#807) 56f6fbbe4 improve regex at skip_func (#806) f8e9c1a7f check for lines which contain at least 2 `/` (#804) cfaa6e4ef Merge pull request #789 from wavded/patch-1 7050c3ad9 Merge pull request #802 from pangloss/bugfix/template-var-keepend cb7d5aeae Attempted fix for jsTemplateVar ce415c397 Merge pull request #778 from pangloss/feature/block-support 9148cd38d Add extend to jsTernaryIf 659cbf3de Fix switch cases from being detected as labels f11f948c0 Adding support for block statement labels 4839870f2 Fix jsTernaryIf and jsObjects fe92d4991 First pass at Block support 9e9e2c4f3 remove added s:Trim arg bd9b70af0 remove html comment faa1a4bf4 cleaning (#799) 685219245 Fix Function capitalization in Flow annotations b3a1e8a87 add await d817bd4f1 re-add throw bba35b25c change a keyword 58fdba82d cleaning 3ee5de406 fix keywords 043bb4aa0 fix destruct dce5a10a0 remove check of keyword 2f182a1f4 generic search function (#795) 0b9c46e46 remove flow cases 006f889b4 exact object indent (#793) 2c44678d3 Merge pull request #791 from pangloss/fix-empty-arrow-args d8a6fef99 Bugfix for jsArrowFuncArgs aa3a16993 various fixes (#790) 17bbd02c1 ternary function (#788) ff1fc56de Improve @typedef syntax for namepath. ad3261e92 magic portability (#786) a584a283b Merge pull request #787 from pangloss/add-comments-to-destructuring-blocks 364309983 Adding jsComment to destructuring blocks 8e3ae21c3 fix case block logic 36ebd9f8a rename,refactor, jump label support for isblock() (#775) c2f65cd3f Merge pull request #782 from pangloss/fix-async 1a7632e6c Fixing how async is used 2f8d1fe2e Merge pull request #781 from pangloss/misc-flow-tweaks 7cb3abf71 Misc flow fixes 799274716 Merge pull request #780 from pangloss/flow-fix ddefa30d1 Adding Flow wildcard support 3ef7bfd18 Merge pull request #779 from pangloss/misc-bugfixes 431e22926 Fix require in jsGlobalNodeObjects c347e2da1 Adds __dirname & __filename to jsGlobalNodeObjects f60eb29ea Merge pull request #777 from pangloss/bugfix/add-spread-to-jsblock 6f01baa66 Adding jsSpreadExpression to jsBlock 28732ef1a Merge pull request #776 from pangloss/bugfix/js-class-value c12ae7609 An attempted fix for jsClassValue region end 521f4eda7 jump label support (#772) a6176945c add other comments 8043c4bc0 detect string, prevline (#771) ccc9f3017 improvements to prevcodeline() (#769) da1eee445 odd comments, shebang (#768) ce0f529bb refactor s:OneScope() (#766) 1cb6f1094 cleaner loop (#765) f33b9ed81 cleaning, edge case with keyword (#764) 117c72721 more edge case accuracy,refactoring (#761) 294563c61 &cino format 63daab731 better &cino parsing (#759) 8e17e2330 Detect .es6 files as JavaScript (#199) 25cff858e don't move cursor at default label 3583822da reflow comment 4149f1d30 cleaning continued braceless statement (#758) 9db487d00 add option in s:prev_token() (#757) 1a17ce8c6 Merge pull request #756 from pangloss/array-destructuring-default-value-support 0dd9ad3b4 Fix array destructuring as func arg definitions 0bf390d9c optimize indent with basic syntax file (#753) afecff2b5 v:lnum cleaning 3cc3ef7c1 cleaning (#751) e80725868 Revert "match isk in token regex" (#750) 82f064a12 match isk in token regex (#749) 039c611e1 refactor v:lnum cleaning (#748) d81b076b5 make regex for token() more intuitive (#746) a210f3916 fix code comment 554ae9b24 package-manager info (#744) d377f45bd regex simplified in trim() (#745) d2bc5d49e remove conditional 9e0aa00b6 clarify readme ba9501bfc markdown fixes 41a3bceb4 more readme fixes df14847ad fix readme 9f4772175 Added conceal for no-argument arrow functions - either `()=>` or `_=>` (#735) 6d81ec817 only Trim() if in a block (#743) 66b25d97c Indent: use previous Trim, with new interface (#741) 14919946c date, code documenting 7ceb23304 misc indent changes (#739) 982f699de small optimization (#738) 1bc948137 date, minor regex c1d4b3b07 keywords used as props (#737) 25ceb5578 cleaning, Rework prevcodeline() (#736) edf962fb5 Merge pull request #734 from pangloss/fix-flow-import-type 3dd27d631 Adding support for Flow type imports 18ff935c9 optimization: no continuation at block start (#733) 8265877f7 indentkeys (#732) 1801887f2 operator cleaning (#729) 5e024dc2e Merge pull request #731 from pangloss/refactor-import-export 66f120cb0 Improve default handling 3873adbff Completely refactored how import/export work 894e26d85 Merge pull request #727 from pangloss/fix-import-region 91b0a0da0 Fix end pattern for import region c92a0cad8 paren start line as baseline in blocks (#725) a87c94438 unneeded token call (#722) 209b57f9d remove dead code, rename function, date (#721) ae9324a61 improve ptoken (#719) bac863e62 Merge pull request #718 from pangloss/fix-spread-in-brackets 3efcf3111 Adds jsSpreadExpression to jsBracket 7b9c64f15 Merge pull request #717 from pangloss/improve-class-definition b18c6b88a Basic improvement to jsClassDefinition f4245c4f7 more correct comment match (#714) 737c23845 faster prevline (#713) b8c62023d add operators, regex experiment (#711) 540d3a572 improve regex for s:Trim (#710) b3b85e34b trim from start of comment sequence (#709) f177220eb regex prettify bbabf9d67 syntax aware previous token (#705) c938b83e2 Update README.md (#702) 22b9f0f8e consider regex when matching '/' (#703) git-subtree-dir: vim/bundle/javascript git-subtree-split: d2ccd306f2c11f061c5284ff5d315c7cf257e32a
8 years ago
HiLink jsFlowWildcard PreProc
HiLink jsFlowWildcardReturn PreProc
HiLink jsFlowImportType PreProc
HiLink jsFlowTypeValue PreProc
Squashed 'vim/bundle/javascript/' changes from 3093f26be..e9a59c877 e9a59c877 hotfix: Improve switch 3abb9aeb1 Merge pull request #696 from pangloss/develop 419f0d6a8 accurate collection (#699) b0f562956 de-noising d47868cad remove magic try 74f6d46f7 remove es6 semi-less do-while handling (#698) 8ac7badb3 Remove all extra grouping (#697) bedb8cb2e cleaning 6f3e6e974 keep string type 8a40889ba skip any html 15905f208 refactor,cleaning isblock eac13000f another return d23050e30 return redundancies 817215be5 more code cleaning 2ef9a9ca3 refactoring block conditions (#695) 01f780426 keyword atom 7835f3dc6 Refactoring (#693) 396829c38 comment handling 4d6021610 prevline = 0 at html b5a21109b code minify 12a6f46c4 alpha short circuiting 65e68f563 revert char check 01193be9e date, str char cdb44a869 last index string 918202964 clearer char checking 1e52ed9bc remove var dcf820b2a adjust precedence of comment/jsx f8fc08c8d small comment fix 187b1d6a0 recursion in isBlock: comment skip (#692) afb03f5eb cleaning,skip_func 8996ec593 date, cleaning 579997a82 isBlock cleaning 67b9f3d60 Merge pull request #691 from mixedCase/develop b4517ac35 Add fetch keyword to list of globals 2d33a9e11 code cleaning bf2a1b42f last case statement 460598f32 fix 'default' property identifier (#689) 4456229dd non whitespace non : after case statement 997c2b12f Merge pull request #679 from pangloss/develop 23bb9c3e1 last cleaning 88b068088 cleaning 672c379b1 Update javascript.vim 2676ca045 Prevent giant loop, refactor 4b435ebb4 small fix ead360d5a refactor 3b9a45627 check for case statement in switch (#682) b3edf7f9e cleaner cursor call c746dbc7f reltime search 5d8153eec string match dc34b2461 small fixes (#678) da8ac5b8e remove pattern match b0237b039 other small touches (#677) 53f843b64 shorten s:var names 4ee476b45 init (#676) 69f2c87dc small minification and perf (#675) e643047f4 simplify trimline (#673) 920873e91 simplify balance func (#672) c51624124 more variables e4452cf87 remove identical 371a71aae template pline d55813b14 ws start, again 3d59c74c7 date, first char whitespace 8df58fec2 cleaning 3a3cae8a6 do while made accurate (#671) 31b2fff3e cleaning 1811b3e92 various little updates (#670) baa07dd0d refactor isblock for jsx (#668) d736e9533 Merge pull request #653 from pangloss/develop 7d30463e1 Revert "Merge branch 'master' into develop" 7e9aeb30f word boundary to start/end 822dfe5f9 Merge branch 'master' into develop da65c0cdd massive expression to if chain (#667) 25e98656f Merge pull request #660 from tomxtobin/fix-jsdoc-optional-parameter-highlighting 06a3b8109 Merge pull request #654 from BenoitZugmeyer/develop ba0ae275c remove random nl 214450913 shorten long line,date 67ebe06ed skip comment (#665) 8d904f65f improve end of line trim (#662) ba2245fbe Misc improvements (#661) 292d90161 Fix JSDoc highlighting for optional parameters f674cbab5 case label needs non whitespace- (#658) f64dae710 for await indent (#656) b0d7c153a add support for "for await" (asynchronous iteration) ecc674fc5 flow generic classes (#652) 572b98d12 Fixing another funky comment situation cd4ace412 wrap for magic (#651) c76d65bd5 fail earlier 833d6ec12 short circuit cache check 6656f37bf small regex changes 88111be6a factor out 840f12917 more regex line endings 77c4ae620 better line cleaning (#649) d6b2fd599 change regex case 6ecbda3b3 clean isBlock (#648) 92f1d98db switch accuracy and performance (#647) dc678406d more optimization (#646) 02c8c644c remove rar 5453eb09d more string/comment cleaning ce7c06c39 simplify comments 2202e5804 Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex fcdc1dcdb Fix jsFlowTypeCustom regex to allow dots 3bb395c39 normalize header in vim and current, date (#642) d94ab71e2 optimize top scope indentation speed (#640) a7225e4bd Fix jsGlobalNodeObjects and jsFuncCall priority afbe2844e more minor optimizations (#638) 1219b150b small skip_func improvements (#637) ff5f3f144 fix concat bug 3b38947f2 prev 5df8b344a more number conversion b2ded1258 change num <= 0 to 0 aa37199ec change to searchpair helper 6426110f8 Update javascript.vim 48567e03b Update javascript.vim ebd222b3d date,format d3e952cf8 multi-braceless statements (#636) 854d431c0 Merge pull request #635 from pangloss/async-await a59f5cb99 First pass at improved async/await support a50df5fc7 Merge pull request #630 from pangloss/develop d5dbecb6e Group link fixes 2bc46635a Merge pull request #631 from jfelchner/fix/syntax-highlighting-issues 5c4de0c43 slight changes to the skip_func (#632) 0cb2e1134 Change ClassKeywords to Keywords instead of Define 6c78b77ad Whitespace 801aad41b Change highlight link for decorators to 'Tag' 20bb09ae6 Fix decorator syntax highlighting aa2fb9015 Add section comments 430b5284f Removed 'contained' constraint from 'this' keyword highlight 615f83754 Add more specialized groups for the various braces 355d6650d Add individual syntax groups for various parenthesis 4e2e37755 Add highlight group specifically for object colons faf6f67ef remove indent copy 14198ab62 copy indent if in same scope only 0b6aad4c4 speed increase attempt (#629) 81e4e6f61 small script function changes (#628) c15142cf3 allow bind op as line end continuation 5a5cdf03f remove 1 char fce8e771e fix blocks after case statement 91314f3f3 fix objects after ternary ':' b53274d98 more small improvements 81d85029a refactor adjustment and simplify 0ab4b1d18 small fix 89b5505ab Allow any comment or empty in adjustment a7e64a92a don't let variable in block e69cc1691 no adjustment in block statements 0134b36de little optimizations (#627) 39f09ee50 simplify assignment 4d7a4227e superfluous condition 46b6dd514 allow blank line in adjustment calc d51ef6ab2 small change 2dd5dff8f cleaning 172aae659 cleaning c36a91b78 fix 224fcee54 small changes 5f7e36a4a formatting,date 023e1d851 other fixes with cache 22d0e64ee more performance and bugfixes 058667839 far better version of last commit bf74844aa fix cached blank line problem 7e6d96313 Merge pull request #621 from pangloss/adj 8711b66df remove variables from readme 2f5937e0c deprecate options cc9bd56e8 Update javascript.vim 0a3bb5242 Update javascript.vim c9f6fadbd performance refactor 174d94e6f produce cindent-like f8a4a45f3 fixes for the bugfixes 0bba85764 bugfixes d6616d5fd Update javascript.vim 6aba38457 adjustable indent (experimental) 941b38962 Merge pull request #619 from pangloss/jsx 51035b51a react property expressions aa5586ce1 small bugfixes f1bd983c6 allow nl in export default af4374115 regex update 27ec99a6e Merge pull request #614 from pangloss/fix-export-default-indent fd6c2b756 Fix export default style indents 2e3ab0a8b improve regex cd0fc2822 comment fix faf8bda63 containing braces which aren't blocks 782cc1078 Merge pull request #604 from pangloss/develop 5900fce5a last commit revert 6787729dc remove ugly function call 34a070cc3 minor style changes 951619284 case statements update 055ce0ca6 switch stuff efab7db0b date 8eea63270 fix foreach method calls 0a955ee44 function removed,cleaning d0a4aa401 more regex (#608) 67f2990a8 regex improvements (#607) ba6dce3cb Rename function f16fe69f0 Change function names aadf36b73 cache can be invalid for he current line cef306faf settings (#603) 3a20412d2 cleaning (#601) 28b5a8768 block statement (#596) 0cab45687 regex improvements debb9bf72 Readme Updates (#599) 898a536e0 disambiguate vars 6f31d7213 fix regex 9703a61af cleaning, minor performance improvements b59dfbc87 Update javascript.vim a7e60bbe4 remove repeated syn checking 0a7432f3e remove transparent syntax check 29519c62a case sensitive 4a126ee6a negatives are truthy in vimscript 2a85b3c34 ind updates (#593) 5632438f0 simplify regex fc43554f2 case-sensitivity 336d4351c more cleaning 6a3fac49a cleaning b8762e8af remove buggy linehasopeningbracket trick 73c85a3f7 awful off-by-one bug 23b4639fc accuracy and speed increase for line_term regex 97e5fcab6 last commit extended to blocks b65cd1447 update comments 27a37b4a7 for 585 (#586) 6de8f62f6 more regex 4278caa27 unicode identifiers bd4c5270e limit regex lookbehind 58095d864 regex char classes c003d8b97 join lines 86413728b Don't join strings in multiple lines 5ba6eab76 case-sensitivity (#583) a328e8175 add label support (#582) 6706a2442 few remaining touches 60eaba7be Update javascript.vim bc6422b5a had a problem with some of the changes e8bb2bad7 remove line comment appended to code (#581) 5923f8092 comment on performance, angle brackets ee3183e7f fix ftplugin var and clean indent (#580) 924a6456c misc fixes (#578) 8e3f58977 Merge pull request #544 from pangloss/develop 6d70fab41 fix c-style continuation (#576) 1d32e38b0 regex for word boundary 9e2c10e32 remove else 33833cc48 allow for line breaks before blocks (#575) 13610e67c Updating indent top comments d17aee51b Flow tweaks cbcfaaf09 adding more operators (#573) 2905f34d8 removing mode-line acb4f0032 fix syn function 506783bc1 move lines from search pair function 57470573a remove obvious comment f90b8c85e more cleaning ad8d72ad4 cleaning indent bf7d4b663 remove switch syn check (#571) ab5d96bbb possible reuse of logic (simple lexing) (#570) e895bd162 fix syn-indent issue 9a6c48548 minor refactor b4038a26c addresses unindented code 6c440b3ec perf continued 96885ca80 small perf gain 0c3a3509e add jsfunccall to not indent args f25397549 more cleaning 84e1cc1c0 cleaning 71c9fc825 negative and decimal switch label values (#569) df6c7ef9c remove whitespace and regex mistake 31d8b39f2 switch enhanced (#568) 005928682 operators & continuation (#566) c68ecbe99 removing custom formatting (#565) 178566475 Fixed another maybe case c7dca1bd6 Merge pull request #564 from pangloss/even-more-flow-fixes 125337c11 More flow improvements 9677d923c Merge pull request #561 from dmitrivereshchagin/update-syntax bd177f373 Merge pull request #562 from pangloss/flow-fixes 215e9572b Fix jsFlowClassDefinitions c1d8d3766 Add jsFlowReturnMaybe 19b1d4fcc Remove unused g:javascript_conceal variable 3089ddda7 Merge remote-tracking branch 'origin/switch' into develop f2b8aeb4c Update javascript.vim 995007aea Switch (#555) 35ac627aa Update javascript.vim e6a4f2f2d Update ftplugin (#553) 023f02c8d Update javascript.vim d745bd019 Merge pull request #556 from pangloss/flow-refactor c2b7c0550 JS Flow refactor 6f82a0cec Re revert (#554) 2efcfa3ab Remove 'smartindent' from indent plugin (#551) 1c9a3dc4f undo_indent b88468056 possible indent revert(dev branch) (#550) aadffc04e Update javascript.vim 61aea7bcb Update javascript.vim 2792e6324 switch offset always calculated when inside switch e41dbaacc for 194 (#548) 08c4fd784 Merge pull request #540 from dmitrivereshchagin/numeric-literals 68b8596d4 Merge pull request #547 from pangloss/nodejs-constants 25ff93778 Adding some common NodeJS globals 352bcc283 try ..catch (#546) 32e7c7871 indentation refactoring (#515) a70cd8d51 Merge pull request #541 from dmitrivereshchagin/syntax-iskeyword 307295889 Merge pull request #543 from dmitrivereshchagin/update-ftplugin 653858c18 Make use of b:undo_indent variable (#542) 8cf97bdc7 Update filetype plugin 550e1e8e8 Make use of syntax specific iskeyword setting ed40c9cb6 Tweak highlighting of numeric literals 2af5f55ff Merge pull request #533 from romgrk/patch-1 7982ec46f typo 4a6376aee Merge pull request #532 from pangloss/fix-oddly-placed-comments ac813c03a Adding support for oddly placed comments 6acba740c Merge pull request #531 from jridgewell/patch-1 3b8017ef6 Remove jsOperator from jsClassBlock d11bc09fb Merge pull request #530 from pangloss/do-expression-support ac92e1b28 Adding do expression support 2f4838257 Merge pull request #526 from amadeus/link-jsclassdefinition 4133fcad0 Linking jsClassDefinition to jsFuncName ad5d09edf Merge pull request #518 from pangloss/more-flow-fixes 5a699857e Adding bool to jsFlowType 583a4948d Including jsFlow in other contexts 4670d4fca Fix for jsFlowTypeValue bfbc10d2f Fixed jsFlowTypeObjects not being closed 26c7330de Merge pull request #513 from pangloss/develop dbfa5f067 Merge pull request #512 from pangloss/flow-updates fdc96c469 More misc fixes for various flow things bf53654d6 A fix for jsFlowReturn 3af93bd3d Merge pull request #511 from pangloss/fix-import-comments ebda7fee0 Adding jsComment to import/export blocks 560b4fde6 Improvements for one line scope (#509) 29e1e0561 minor indentation cleaning (#508) 9206ec55b Merge pull request #507 from pangloss/misc-fixes d6a969942 Added async to jsObjectMethodTypes e8a6f93e5 Adding support for switch blocks 1586f7230 Added async to jsClassMethodDefinitions c04d09988 Merge pull request #501 from pangloss/develop f90113a1e Merge pull request #504 from pangloss/jscomment-tweaks 3306f6365 jsComment updates 7541e0208 Merge pull request #503 from pangloss/misc-fixes 5b4233850 Fixes for Flow on Classes 8a972d317 Whitespace fb1c662cc Support destructuring values following assignment 57f5013bd Merge pull request #500 from pangloss/improved-exports 4eab47d67 First pass at improved export support 8deb69846 Merge pull request #470 from pangloss/js-flow-support 5cefcff31 Unpluralizing files and variable names 37bfc8ccf Plugin usage tweaks af791ed19 Adding object key flow support be5207068 Using runtime over syntax include b6eccf90b Adding NGDoc support 752cee263 Moving jsdoc support into a separate file. 9d0bea561 Masking Flow support behind a global var 5f839a225 Removing jsFlow from jsAll cluster 926b7f935 Adding < and > to jsFlowNoise ef37a147c Adds a ton of support for various parts of jsFlow 82fb8b974 Adding some basic Flow support 01150776b accurate switch indenting (#499) 420f98cc2 let a continuation be determined with block close (#496) 6bb633fb7 comment misalignment (#495) 0e0878577 Merge pull request #494 from pangloss/improve-destructuring 7d41c3c63 Improvements to Spread and Rest 9d816e398 Fixes to array destructuring afe61796a Improved array destructuring 47951eec6 Refinements to destructuring 939f478f6 Improvements to destructuring 52e8f90e2 incorrect change in cursor pos (#489) ea5803348 a solution for 486 (#488) d70bb4e3f Merge pull request #480 from pangloss/develop 22c6f6d0d Merge pull request #485 from pangloss/fix-promise-catch d3d09b9c5 First pass at fixing Promise catch methods. b2baf85d6 Merge pull request #483 from pangloss/fix-object-strings ecae87560 Fixing object string keys 233b6c32c paren matching (#474) be5506443 Merge pull request #479 from pangloss/object-string-key-shorthand 51c16139c Adds support for string func names in objs classes 6b58cd0e0 Merge pull request #472 from pangloss/develop 9e5b60a4f Pulling version number out of README 8e710ba8e changes according to #466 (#463) ceb3341b8 Make ternary handling more robust e38617a51 Fix computed class properties fc3874662 Potential fix for jsClassValue region 5a0ae7639 Misc tweaks 8aea86351 Debugger is no longer a future keys e6182482b Unlinking jsFutureKeys 37cdc8ccc Improvements to jsClassValue endcase 42512308a Changing a TODO to a DISCUSS 8679129ee Renaming jsArray to jsBracket 648e924dd Add support for spread operator a0155f59d First pass at fixing/supporting #425 & #393 c3a505bd8 First pass at fix for #433 79b73b3fe Whitespace 9550877e6 jsTaggedTemplate tweaks 99d658fec Code style tweaks da492ea96 Improvements to import/exports syntax matching 533beaa3c Bug fixes and tweaks c48323a21 Tons of syntax block granularity a0d1abc17 More refactoring 6c2de108f Removing DOM CSS stuff 671e605cd Notes and general cleanup ec96793e9 First attempted pass at jsObjectBlock 943d90b29 spread operator doesn't change indent (#462) c9dc41ff5 working detection of object/array properties (#460) 06d8d160e Improve jsClassMethodDefinition matches d00e8ddf6 get a correct indent for initial operator first 51bf45fe4 limiting for slow function and operator fix (#455) 12bbabac6 timeout the paren searching (#453) 120352b12 readability changes in the indent script (#450) 0f0e4a725 Merge pull request #442 from pangloss/develop f39eb1fa7 Merge pull request #448 from dNItro/patch-1 5b143bd2a change the regex engine according to warning (#449) fcec8b72d Shebang doesn't have to contain env 8c5695764 Merge pull request #445 from pangloss/bounceme-patch-1 b5de6ec2c Update javascript.vim d54b138f9 a comma should be considered an operator fe096c0ee another edge side effect (#443) c5fba22a9 wrapping comments improved (#440) c180b0c32 little bug affecting previous few commits 77387efb2 Update javascript.vim (#437) 27671558c Merge pull request #436 from amadeus/fix-class-definitions bf34e60dc Forcing `class` text to be a keyword 2c7087871 random fixes and improvements (#435) 04e412b77 removing some clutter (#434) 3ebaef31a slight changes continuing from before 7c7add5fe my mistake 75fcd09e7 must actually return a number fd98935f2 more fixes (#432) dc117664c last actual column (#431) 206b85cfb literal indentation in a multiline string (#430) a6e90baf0 minor changes (#429) 61b89844d specify template as a string bf45f9caf Merge pull request #417 from amadeus/fix-lookbehind-limiting 7137e7eac Prevent limited lookbehinds in older vers of vim b3ebfa5d9 c style opening curly braces (#426) aa9a46ae9 for better switch handling (#424) c9eda1f5c template fixes (#422) 8f16491ac indent following line ending in comma with arrow (#420) 10b6c649b Merge pull request #414 from amadeus/fix-lookbehinds 0fecb9295 Temporary fix for older versions of vim 8fb5fa8c6 parentheses regex is thankfully gone (#412) 617ccb50d Update javascript.vim d2fa17618 multiline comment (#408) 304e2ac90 Merge pull request #409 from amadeus/fix-406 50c433e82 Fix Issue 406 e60e4ebf2 Merge pull request #404 from pangloss/misc.fixes 187594a91 Merge pull request #403 from amadeus/fix-261 b4e2faecd Update javascript.vim c4ccee695 Custom jsFuncName for object definitions e8657a8b7 Merge pull request #402 from amadeus/fix-401 dde16a056 Fix class definitions with no name 0e7983dd6 Merge pull request #400 from pangloss/switch 105a4aadf Switch mechanics, indent d7f4728f8 Merge pull request #395 from pangloss/develop 4b6f9c5d9 Bumping version number to v1.0.0 09fde1910 Merge pull request #391 from amadeus/performance-improvements c2bc4c701 Limiting jsRegexpString look behinds 842b0ceaa Improved performance of jsRegexpString 3a4991eaf Improved jsTaggedTemplate performance 508c1a337 Remove syntax sync clear 33eb9fe82 Optimized jsArrowFuncArgs selector f7d220719 Optimized jsGlobalObjects 01ecaf9ab Removing deprecated selectors a7f221678 Optimize JSNoise and JSOperator regexes 9ece5d53b Merge pull request #397 from amadeus/fix-jsdoc-records 1c75d8a3c Fix JSDoc record matching d7a586975 Merge pull request #399 from pangloss/bounceme-patch-1 af08aae55 Merge pull request #398 from amadeus/last-minute-tweaks a51d0f3c4 Update javascript.vim 48067d6dc Add code folding documentation 2f0b1d266 Removing deprecated folding logic e74d75822 Refactored README.md c438302c6 Merge pull request #392 from amadeus/fix-jsdocparam f7cec8c79 Fixing bizarre jsDocParam bug c5250b382 Merge pull request #396 from pangloss/bounceme-patch-1 af37b2253 [-+] not by another 3e1373184 Merge pull request #394 from amadeus/fix-341 1da09b622 Move jsDocTag @file to a different jsDocTag group e9f6a4d4b Merge pull request #389 from bounceme/patch-15 a607a7d36 spanning multiple lines detection 48263c84e Merge pull request #388 from amadeus/lambda-experiments b9feef086 Improved lambda argument handling 20b0eb6f4 Merge pull request #370 from bounceme/patch-6 5b7445e24 Merge pull request #390 from bounceme/patch-16 ff62d63ed #324 6cb0c96b6 old changes reset d388b88c1 Merge pull request #373 from bounceme/patch-8 cc5a971cf Merge pull request #387 from amadeus/add-license 16673accd Adding a license note to the README c4725ca4d Merge pull request #380 from amadeus/temporary-fix-for-arrow-func-args 992b76dc5 Temporarily disabled jsArrowFuncArgs with parens dd95ac26a Merge pull request #385 from bounceme/patch-14 3208fc5d6 Operator first support,including ternary,dot etc. 2adca537e Merge pull request #384 from amadeus/fix-comments-in-class-declaration 7d371ddea Fixing comments in ES6 Class declarations 989deba7e Merge pull request #379 from bounceme/patch-11 17fa18cae simplifies the parentheses handling c8ac1c874 Merge pull request #377 from amadeus/add-brackets-to-destructuring f13009e40 Adding [ and ] to jsFuncArgDestructuring 734cdfc04 Improve one line scope 2881bbab3 Merge pull request #366 from amadeus/arrow-functions-in-class f286f94dc Fix lambda definitions in class definitions 7f5c7b8de Merge pull request #367 from bounceme/patch-1 6858535ab Merge pull request #357 from bounceme/develop 293108695 line following arrow indentation 1833982f7 Merge pull request #361 from pangloss/develop 2d11ec04e Merge pull request #363 from amadeus/misc-fixes 113abc267 Fix jsBlock vs jsFuncBlock priority 36f34b25d Improved function declaration destructuring d8c18d9d3 Fix Comment Regions d87bcd106 Merge pull request #358 from amadeus/arrow-functions 6590bbcdf Fix Generator definitions 82473d0d6 Allow ... in arrow arguments definition 91f860b1b Linking jsArrowFuncArgs to jsFuncArgs ae177c45e First pass at handling lamba arguments c1ea11050 Adding jsFuncBlock support 22f9a0225 Merge pull request #360 from amadeus/update-spread-matching 73232334f Improvements to rest highlighting 1ec6674f6 Merge pull request #359 from amadeus/js-template-braces a57c0a154 Higher specificity for jsTemplate braces 5fea23eee fast attempt for issues with multiple declarations 152f36e7c Merge pull request #354 from amadeus/es6-class-support 559c5f4a2 Merge pull request #337 from juneidysoo/develop 43784bc2a Added jsduck documentation types 995183bd1 ES6 Class Fixes fd99d7778 Adding first pass at ES6 Class support 47b89fbf4 Merge pull request #293 from camsteffen/develop 62c15f602 Issue #294 better one line scope 55da36b58 Merge pull request #348 from zbinlin/sw 412bdd5d8 Merge pull request #309 from vekat/develop dbacf7edb Merge pull request #313 from simono/feature/add-jsDomElemFuncs f099955fb Merge pull request #342 from kevinfahy/bug-nested-template-strings 2b4d3a91f Merge pull request #352 from damionvega/buffer-to-global bc74a6fff Added Buffer to jsGlobalObjects 32137f1f0 Use shfitwidth() instead of &sw in indent/javascript.vim 91fa38c65 Merge pull request #347 from artm/localize-m 68290c3e7 make the m variable script-local 63fdf235c Merge pull request #345 from whitneyit/feature/add-line-comment-support f41da19fc Add jsLineComment to jsFuncArgs c4fda0513 Merge pull request #344 from whitneyit/feature/support-comment-in-func-args ee412e34c Add jsComment to jsFuncArgs ca58cddde Fix nested template variable syntax highlighting 06326d595 Merge pull request #306 from Delapouite/arrow cbe66636a Merge pull request #340 from WChargin/fix-jsAssignmentExpr c024f95c0 Respect 'very-magic' in 'jsAssignmentExpr' regexp 70c621089 Merge pull request #339 from WChargin/arrow-functions 7b9e11ad8 Make arrow-functions one-liners 4c983baf2 Add common DOM Functions de7a60c5c Add dollar sign to jsDocParam matches 49d46bf9e feat(conceal): add arrow_function option 1d8c2677d Merge branch 'develop' 255d5e6d6 Merge pull request #302 from unclechu/develop-prop-synonym 131c2d364 Added jsdoc synonym @prop for @property 924de0eb6 Merge pull request #292 from wbinnssmith/wbinnssmith/async-await-develop e9ee38953 Add support for async and await keywords 3d91f8197 Merge pull request #250 from utix/develop 5cbbdd4e5 Case indent: use cinoptions : and = values 487e0c659 Manage case indent c3787301c Merge pull request #281 from ccarpita/develop dfc554e8a fix: import statement ending regex c606532e3 Merge pull request #279 from jedverity/develop bf0858a18 Adding support for ES7/ES2016 decorators 709fd619e Merge pull request #276 from ccarpita/fix-gh-272 062607d2c Merge pull request #275 from ccarpita/develop 9664e22ab Merge pull request #277 from ccarpita/fix-gh-247 a489b1706 fix GH-247: Single-line comments after import statement 325c0487f fix GH-272: Highlight arrow funcs without parenthesized params 139f6f6ae fix: export region should support es6 class and block openings 2f5a9ef64 Merge pull request #273 from gf3/import-noise-blocks bcf4bfee6 Add jsNoise and jsBlock to jsImportContainer bab4f3944 Merge pull request #269 from AlexanderSkafte/patch-1 9564d9076 Found a typo 70ec8e8a3 Merge pull request #268 from crusoexia/develop 89ce201ec fix issue #107, makes 'arguments' become global keyword d48397093 Merge pull request #265 from lencioni/suffixesadd 02750cff1 Merge pull request #266 from lencioni/constlet 8bd60a331 Add `const` and `let` to indent file 152e2e58a Add `setlocal suffixesadd+=.js` to ftplugin 8a409f7fd Merge pull request #258 from pierreozoux/patch-1 b39a28f65 One liner for Pathogen e628cba07 Merge pull request #252 from jvanbaarsen/patch-1 3afb1731a Vundle requires single quotes e286463c1 Merge pull request #244 from pangloss/tagged-templates 6cad2d987 Fixes #242 e9709a9fb Update README.md b5245213e Merge pull request #240 from pangloss/develop f1efe180a Merge pull request #239 from pangloss/fix-js-class 368bad663 Adds jsClass to all expressions 27f16d5b4 Merge pull request #238 from dragn/develop b022c816a issue#34 b579e3551 Merge pull request #237 from pangloss/tagged-template-fix 9c9be0f48 Merge pull request #236 from pangloss/fix/module-syntax 2180f51d0 Fixes tagged templates on multi lines 7848de5df Fixes module syntax for common js e36841515 Merge pull request #234 from amadeus/indent-fix 5fa60043d A fix for #212 7ea00af3e Merge pull request #233 from pangloss/es6-modules-and-class 6d167f10e Adds support for default arguments b3c811bc5 Adds of operator 2a037505f Adds Promise to globals bed118969 Adds tagged templates 8dbf22456 Adds Map, WeakMap, and Set 687a90049 Adds Symbol to global f4c1c9cf8 Fixes code whitespace issue 97ff4e35c Removes static and super from reserved words fcf7a26b3 More rigid syntax checking c76ae11fb Better module support 1769504fd Adds es6 modules support and change class ca779b431 Merge pull request #232 from amadeus/fix-block-comment 1ee35c5d5 Alignment fixes and removal of deprecated comments 29c2875e6 Renamed and fixed block comments 10b0c75fd Merge pull request #231 from pangloss/develop 736ff8df2 Merge pull request #230 from amadeus/update-vundle-api ead4c2ca3 Updated README to properly reflect Vundle's API 638d628d8 Merge pull request #213 from jedborovik/develop 20d260b32 Merge pull request #229 from JelteF/develop 75d908784 Disable custom gq for comments 2e9424d48 Merge pull request #227 from amadeus/fix-jsAssignmentExpr 54481c98e Added jsNoise matching to jsAssignmentExpr f6b2cc1c0 Merge pull request #223 from davidchambers/exponential-notation 439f702bc Merge pull request #220 from crusoexia/develop 8ecccd62e Merge pull request #225 from ryanoasis/jsdoc-optional-param-highlight 8f0bc59dd modified jsDocParam to highlight jsdoc optional parameter and default value 063e7a0f6 number: match literals such as 1e-3 e84c352a5 add js assignment expression and relate identifier match syntax 7f6a736df Merge pull request #221 from buztard/generator-syntax 5d204c996 Add syntax support for ES6 generators 977e220b3 Merge pull request #217 from pangloss/develop 7f5c2d8f7 Merge pull request #216 from pangloss/feature/eol-terminated-strings dc8b363b9 Simplify string skip pattern 86e376c62 Make strings EOL-terminated 56a4a237b Merge pull request #214 from davidchambers/regexp 9b8524865 regexp: prevent ")" inside character class from terminating group 057ed8049 Add @api annotation 51a337b77 Use a default &tw of 80 for formatting 18106a3db Use &tw instead of hard-coded 80 for formatting 125f931f1 Merge pull request #205 from JelteF/develop 0077e5782 Fix some gq bugs when tw was set c92fbd243 Merge pull request #204 from qiao/closure-compiler-annotations 03bd5d28b Add Closure Compiler annotations 29caa7f70 Merge pull request #201 from JelteF/develop ca201905d Fix gq to not split strings halfway through f01cc1764 Merge pull request #200 from qstrahl/develop 1881c848a Add blurb about pull requests to CONTRIBUTING.md 9b094acf5 Merge pull request #187 from xtian/develop d9baadd38 Allow customizing individual concealing characters 8704ea152 Add some ES6 keywords. 6b057a97e Merge pull request #168 from mrhooray/develop f8122fd1c Merge pull request #176 from pangloss/develop c832002d3 Merge pull request #174 from pangloss/add-contributing 7f6cdb6aa Adding a proper CONTRIBUTING file a1165dca3 Merge pull request #167 from pangloss/develop b17135bda Merge pull request #171 from pangloss/useless-whitespace d6a4e2ef5 Fixing odd indentation levels in syntax file 6921496c3 Merge pull request #170 from pangloss/add-misc-contained 7126372eb Adding additional `contained`s fbe4ca069 Merge pull request #169 from davidchambers/shorthand-character-classes bbf61f287 limit scope in which jsSpecial may be matched d2412a100 regexp: add jsSpecial to jsRegexpSpecial cluster 045cbaff2 support CommonJS syntax highlighting 7e64e51e6 Merge pull request #145 from pangloss/feature/rest-args 2507247f8 Merge branch 'pr/163' into develop 46fe678d3 Add basic support for ECMAScript 6 Template Strings 7bc85e499 Merge pull request #162 from davidchambers/spell-checking cb0fa68ce string: spell-check string literals 2cfdae856 Merge branch 'pr/160' into develop 8fddc6f4f regexp: prevent unescaped "/" in character class from terminating regexp dd7f97727 regexp: prevent escaped "]" from terminating character class c08d3b7eb Merge branch 'pr/154' into develop 3f06dbba1 Add missed @tutorial tag bad20eb0a Case agnostic JSDoc tags a08e6cc33 Merge remote-tracking branch 'source/master' into develop a957e1e34 Merge pull request #149 from iammerrick/develop a6f71af54 remove redundant prototype declaration d52f89954 feature(conceal): add prototype to the list of conceals 7e28dbd4e Merge pull request #146 from eddiemonge/patch-2 ef239d861 JSON is not JavaScript 53b508214 Merge pull request #144 from pangloss/feature/arrow-function 80407fd90 Merge pull request #136 from brutasse/patch-1 4b6c266d1 Fixes issue with spec where rest parameter should be last 52c22556f Adds es6 support for rest parameters in function signatures 3882ae3b4 Adds es6 support for arrow function syntax ca3ee3801 Fix formatting of pathogen instructions 932b67541 Merge branch 'master' of github.com:pangloss/vim-javascript 2d732ba69 Merge branch 'release/0.9.0' 776b7bcff v0.9.0 17a557abb Merge pull request #133 from pangloss/feature/fix-ternary-noise 5cf445046 Fixing jsNoise to work within ternaries f46a38073 Merge pull request #132 from pangloss/feature/funcblock-fix 83f3ed7fa Fixing jsFuncBlock when braces are on a new line ae0ab5279 Merge pull request #131 from pangloss/hotfix/regex-note 764094a0d README note on regexes e1c29c7fc Merge pull request #127 from pangloss/feature/add-jsfunctionkey 304815ab7 Better whitespace support for jsFunctionKey 71b9b5402 Removing `-` as a valid character for jsObjectKey 42d9e77f8 Adds jsFunctionKey to jsObjectKey 159590e1e Merge branch 'release/0.8.0' into develop 75b9896cb Merge branch 'release/0.8.0' a2710cd0e Bump version number: 0.8.0 1c100f332 Merge pull request #123 from pangloss/feature/fix-comments 2cf625ed9 Fixes maintainer comment and removes version 2ea3c2dcd Merge pull request #122 from pangloss/feature/remove-deprecated-groups ce20af34b Removed deprecated highlight groups d5d2e5f2a Merge pull request #121 from pangloss/feature/regex-fixes 2133e7a96 Removing the unneeded matchgroup for jsRegexpGroup 92987e14d A few regexpengine=1 / vim 7.3 fixes 2f2f522e2 Merge branch 'feature/delink-jsFuncCall' into develop 6a89948c8 Unlink `jsFuncCall` from `Function` e34cfbec8 Merge pull request #119 from pangloss/hotfix/nested-ternaries cf75f6998 Fix for nested ternaries ba16004cd Merge pull request #117 from aeosynth/patch-2 35f2609aa Delete .keep 73bac7d18 Merge pull request #114 from pangloss/feature/add-folds 2bede5c7b Adding folds for main JS block types 59fedee13 Merge pull request #112 from pangloss/feature/jsFuncParens-noise f0415ad44 Add `jsFuncParens` to `Noise` 05ed3a07e Merge pull request #109 from pangloss/remove-jsopassign 154affe07 Merge pull request #110 from pangloss/add-js-object-key 878fa130e Adding jsObjectKey b25654850 Removing jsOpAssign 128f153bd Merge branch 'hotfix/nevermind-they-only-do-http' into develop 033062e2e Merge branch 'hotfix/nevermind-they-only-do-http' b8f5d6410 Force http on gitflow link 7d685e1ab Merge branch 'hotfix/nevermind-they-only-do-http' 960152aaa Force http on gitflow link 262b6c132 Merge branch 'hotfix/readme-gitflow-link' into develop 16d70af63 Merge branch 'hotfix/readme-gitflow-link' 25fa2c45d Fix link to gitflow (original article) in README 138be409d Merge branch 'hotfix/readme-gitflow-module-link' into develop b82dc69dd Merge branch 'hotfix/readme-gitflow-module-link' 5896732fc Fix link to gitflow module in README df1e287f8 Merge pull request #108 from pangloss/improve-booleans 6ca76f3f1 Higher specificity for `true` and `false` e68fc0406 Merge branch 'hotfix/readme-spacing' into develop 83c0551bf Merge branch 'hotfix/readme-spacing' 1e154f25e Fix spacing issue in README file c09a0d1db Merge branch 'release/0.1.0' into develop a496df91a Merge branch 'release/0.1.0' cc77bdbb9 Add version number 6e54ebf7c Update README to reflect new git flow development process 3a148155e Add `jsFuncBraces` to `Noise` 8a2e04127 Change `Blocks` to `Braces`: `jsBlocks` and `jsFuncBlocks` 17a0556a3 Update README; mention `beta` branch under `Contributing` 502bf7d6d Merge pull request #102 from amadeus/function-arguments eac3432f5 Removing gratuitous HiLink groups 9d59178e7 Adding `jsArgsObj` keyword d3b37e8a4 Removing deprecated jsType groups eaf58b824 Setting jsFuncBlocks to be part of Function group c8db23b12 Improvements to function, name and arguments 1ab789c64 Merge pull request #104 from amadeus/new-operators be40e8b7d Tweaks to jsOperator, jsKeyword and jsStatement 64d012ce4 Merge pull request #103 from pangloss/revert-readme 68f95638a Fixes README 2452462d9 Merge branch 'rm-indent' f4a03f88c Merge pull request #100 from pangloss/add-ternary-indent-support 9dda622a7 Fixes case where there are nested conditionals 85eeb98ae Adds leading ternary operator indentation support 790e09584 Merge pull request #98 from pangloss/fix-readme aaf41aa1a Merge pull request #99 from pangloss/rm-rake 51e43b6c6 Removes Rakefile fc627c7ef Removes features 399e04839 Adds config options to readme 4c5cf643b Removes html indentation 2666f1526 Merge pull request #96 from amadeus/globals-tweaks e50319120 Removing legacy globals 4d541965b Remove `jsIdentifier` 93a465a64 Add `document` and `window` to global objects 0a01543c3 Merge pull request #90 from qstrahl/develop 207421921 Move program keywords above comments f16ae3c33 Merge pull request #92 from amadeus/isolating-brackets-parents-blocks e193b66dc Isolating curly/square brackets and parenthesis 0073b670e Merge branch 'master' of github.com:pangloss/vim-javascript 3a091a413 Adds contributing guide to readme 588989c63 Merge pull request #84 from robin-allen/master 501ad5d1c Link `jsNan` to `Number` 2a7d133d2 Move `Infinity` to `jsNumber` (from `jsType`) 10e3c2028 Add missing operators 03e0f2454 Merge pull request #87 from qstrahl/develop c7ffd1b35 Link `jsFloat` to `Float` (from `Number`) 7c24dbd93 Update global objects / builtin functions 16aedfcb3 Refactor `jsType` b53a6fdf3 Refactor `Statement` family df84f5756 Move jsNoise higher up c7aabe248 Change highlight links to be more semantically correct fb677cd26 Refactor `jsFunction`/`jsFuncName`/`jsFuncBlock`/`jsOpAssign` 71e9619b8 Add `jsNan` keyword; link to `Constant` highlight group 4fcf5ce57 Update `jsType` and `jsOperator` 80ee77bc7 Add `jsNoise` so users can subdue noisy syntax clutter c242ceecd Link `jsLabel` to `Identifier` highlight group dbf6adbe7 Remove `-` from valid characters for `jsLabel` c59b387e0 Add `jsFuncCall` a4373e6f0 Add `jsIdentifier` 873da1385 Remove `jsSource` and `jsCommonJS`; not part of JavaScript a03016945 Merge pull request #83 from mwcz/back-incompat 56dea5e12 Fix case where line ends with [ within ( 336c41eb0 highlight the parameter of the @alias tag (back-incompat) version 67a7a2f95 remove deprecated jsdoc tags 3f7a3e550 add missing @arg tag 169e10b1e add jsdoc tags from jsdoc v3.2-dev ccdf8b73b Merge pull request #81 from kevnchu/master 575602dca Fixed multiline comment indentation. b21629b37 Merge pull request #78 from brianarn/indent-fix-77 caaa7ee42 Fixing multiline differentiation, fixes #77 22475fcbc detect javascript from shbang f07cc6708 Merge pull request #70 from noprompt/noprompt-regexp 0329a2499 Makes the conceal syntax optional 6049b8f79 Adds concealing to some JS statements 079c5adec Adds fixes for multi var indent for comma first df6bed93b Contain jsRegexpOr 57daa9e1a Add new regular expression syntax groups 870ffca47 Fixes some cases of multiple var indentation 647c33b04 Merge branch 'master' of github.com:pangloss/vim-javascript c8730a184 Merge pull request #68 from hickop/fixes e5bdc9450 Merge remote-tracking branch 'hickop/fixes' into 68 4dee33f79 Adds multiple var indent and comma-first style b64a25099 Merge remote-tracking branch 'utyf/master' c6cf517c7 Correct the fix. bf6397024 Fixes whitespace nits in indent file 5bfea9bd0 Adds futurekeys to syntax highlighting 4fe016837 Renames javaScript to js f62100276 Do not treat line comments with cindent. 4ff3b73b8 Allows CommonJS syntax inside function blocks 8c82cf076 Moves CommonJS from Define to Include 2e9791544 Merge commit '2f3935516d1aea7dc3fbd9a45efec4ba9f0b6d50' 7fab32d95 Adds CommonJS keywords to syntax highlighting d28b72d6c Adds new maintainer info. Removes trailing whitespace ba4f29212 linkify 08c5b1f57 Update README.md 1f68f539c Merge pull request #64 from goatslacker/patch-1 5da54c409 Adds syntax for Identifiers in labeled statements 395f8901b Fix bug in a method that is apparently not called very often (if ever) 3d11c693f improvment of indenting multi-line var statements 77ce5f02a comments in multi-line var statements ae278efc2 adding var statement block indentation 827c47c10 Merge pull request #50 from lepture/master 35b56be77 detect json as javascript 6148d1381 Merge pull request #48 from lepture/master 1066fb67a add readme for html configuration 310c5aa38 replace html #48 e4270b2f4 add feature section in readme 3286328a8 add indent for html 97e663fda add readme a599ac8ec Merge pull request #43 from 3rd-Eden/master de06ab628 Merge pull request #44 from vxsx/syntax-methodof 2a84f6399 Added syntax highlighting for @methodOf tag 4ff72b7e3 Added syntax highlighting for `@api` and `@const` in JSDoc comments a8ce72170 Support FF's sticky regex flag. cc074c30d Fix highlighting in HTML files. 9bc0eb178 Fix indentation after multi-line comments. 5267b4f9c Handle indent correctly in multi-line comments. faabfc83e Merge pull request #41 from int3/master fd8d4465e Improve highlighting of ternary if statements. e80eb0a99 Fix comment typos. c0753fe82 Fix regex character class matching. e66f9019b Merge pull request #37 from indygreg/master 2713e881a detect .jsm files as javascript 2f3935516 Modified syntax groups regular expressions 9990a7676 Applied nornagon's patch. Fixes #19. 2e753d85f Merge pull request #25 from regolith/master abfbc3849 Made @returns {anything goes here} work as well. ccd298869 Curly-braces around the type in @param allows spaces/non-word characters. 6362ba99c Merge pull request #22 from tpope/master ecdf53438 Remove additional fold option meddling e8d6e107f Merge pull request #21 from mando/master 3178b33c7 Syntax file adjusts folding settings 91540f635 Merge pull request #18 from int3/master ed58aec17 Distinguish keyword operations from math expressions. 6b11ba9ca Merge pull request #16 from int3/master 91d9805df Match regexes that contain slashes in character classes. b2c210a1e Merge pull request #13 from tanob/master 569e64c14 Merge pull request #15 from kwellman/master 56cb1680f Merge pull request #11 from keitahaga/env_comment 92bf4e715 Don't add extra indent to each continuation line 66dc2bf47 Fixed issue #12 around indentation with colon and slashes. d5b98a9d7 switch to PreProc syntax group 2a4d50d79 javaScriptEnvComment highlight group cleanup 67be84dd2 added #! comments for executing js in shell abb6c374f Merge remote branch 'wavded/master' 2e34e9171 remove const as a 'future' key, in use for v8, sm 7a7b75f68 Merge remote branch 'upstream/master' dc882db43 separating out this from javaScriptType aad288df4 Added ftdetect 9a5a6b5ed Merge remote branch 'ukstv/master' 891915672 Merge remote branch 'wavded/master' f92d83cc1 added support for newer JSDoc / JSToolkit tags ccdb9becc Added ftdetect c2df2e430 Disambiguate regex strings and mathematical statements cf76032a4 Added javascript ctags patterns and a rake task to install them cb52fbc88 Allow those one line scopes to be on one line and terminated with ; 6a1bb6b32 Updated syntax highlighter region names e94532de7 Imported files REVERT: 3093f26be Squashed 'vim/bundle/javascript/' content from commit bf8edcb git-subtree-dir: vim/bundle/javascript git-subtree-split: e9a59c87703d7d67d9933e68b80732326163a5c5
8 years ago
delcommand HiLink
endif