Skip to content

Commit e85f937

Browse files
paladoxmarijnh
authored andcommitted
[vim bindings] Disable jsdoc for findWord by doing /* instead of /**
This is to prevent the closure compiler from failing with bazel-out/darwin_x86_64-fastbuild/bin/polygerrit-ui/app/gr-app.js:51233: ERROR - Bad type annotation. expected closing } See https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for more information. * @return {Object{from:number, to:number, line: number}} The boundaries of ^ ProTip: "JSC_TYPE_PARSE_ERROR" or "checkTypes" can be added to the `suppress` attribute of: //polygerrit-ui/app:polygerrit_ui_closure_lib Alternatively /** @Suppress {checkTypes} */ can be added to the source file. 1 error(s), 1 warning(s)
1 parent 05287fb commit e85f937

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

keymap/vim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3245,7 +3245,7 @@
32453245
return cur;
32463246
}
32473247

3248-
/**
3248+
/*
32493249
* Returns the boundaries of the next word. If the cursor in the middle of
32503250
* the word, then returns the boundaries of the current word, starting at
32513251
* the cursor. If the cursor is at the start/end of a word, and we are going

0 commit comments

Comments
 (0)