Skip to content

(botched; see #660) Fix JSDoc highlighting for optional parameters #659

New issue

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

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

Already on GitHub? Sign in to your account

Closed
wants to merge 35 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d3e952c
multi-braceless statements (#636)
bounceme Sep 18, 2016
ebd222b
date,format
bounceme Sep 18, 2016
48567e0
Update javascript.vim
bounceme Sep 18, 2016
6426110
Update javascript.vim
bounceme Sep 18, 2016
aa37199
change to searchpair helper
bounceme Sep 18, 2016
b2ded12
change num <= 0 to 0
bounceme Sep 18, 2016
5df8b34
more number conversion
bounceme Sep 18, 2016
3b38947
prev
bounceme Sep 18, 2016
ff5f3f1
fix concat bug
bounceme Sep 19, 2016
1219b15
small skip_func improvements (#637)
bounceme Sep 21, 2016
afbe284
more minor optimizations (#638)
bounceme Sep 21, 2016
a7225e4
Fix jsGlobalNodeObjects and jsFuncCall priority
amadeus Sep 22, 2016
d94ab71
optimize top scope indentation speed (#640)
bounceme Sep 23, 2016
3bb395c
normalize header in vim and current, date (#642)
bounceme Sep 24, 2016
fcdc1dc
Fix jsFlowTypeCustom regex to allow dots
remi Sep 24, 2016
2202e58
Merge pull request #645 from remiprev/fix/js-flow-type-custom-regex
amadeus Sep 24, 2016
ce7c06c
simplify comments
bounceme Sep 25, 2016
5453eb0
more string/comment cleaning
bounceme Sep 25, 2016
02c8c64
remove rar
bounceme Sep 25, 2016
dc67840
more optimization (#646)
bounceme Sep 25, 2016
92f1d98
switch accuracy and performance (#647)
bounceme Sep 26, 2016
6ecbda3
clean isBlock (#648)
bounceme Sep 27, 2016
d6b2fd5
change regex case
bounceme Sep 27, 2016
77c4ae6
better line cleaning (#649)
bounceme Sep 27, 2016
840f129
more regex line endings
bounceme Sep 28, 2016
88111be
factor out
bounceme Sep 28, 2016
6656f37
small regex changes
bounceme Sep 28, 2016
833d6ec
short circuit cache check
bounceme Sep 28, 2016
c76d65b
fail earlier
bounceme Sep 28, 2016
cd4ace4
wrap for magic (#651)
bounceme Sep 28, 2016
572b98d
Fixing another funky comment situation
amadeus Sep 28, 2016
ecc674f
flow generic classes (#652)
bounceme Oct 1, 2016
f64dae7
for await indent (#656)
bounceme Oct 3, 2016
f674cba
case label needs non whitespace- (#658)
bounceme Oct 5, 2016
fbc82e1
Fix JSDoc highlighting for optional parameters
Oct 5, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more number conversion
  • Loading branch information
bounceme authored Sep 18, 2016
commit 5df8b344a49c54be1bfe133a62f4fc00fc313bd7
2 changes: 1 addition & 1 deletion indent/javascript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function s:OneScope(lnum,text)
endfunction

function s:iscontOne(i,num,cont)
let [l:i, l:cont, l:num] = [a:i, a:cont, a:num > 0 ? a:num : 1]
let [l:i, l:cont, l:num] = [a:i, a:cont, a:num ? a:num : 1]
let pind = a:num > 0 ? indent(l:num) : -s:sw()
let ind = indent(l:i) + (!l:cont ? s:sw() : 0)
let bL = 0
Expand Down