Commit Graph

58 Commits

Author SHA1 Message Date
Jose Elera 783f31a8ea Bump the date and the version
This convention must be followed in order to have better documentation
and support while debugging and testing.
2016-02-24 03:35:16 -06:00
Jose Elera Campana e7b2c327d4 Merge pull request #61 from reedcwilson/highlight/templatestrings
Add 'of' keyword and highlight links for template strings
2015-12-09 14:37:38 -06:00
Reed Wilson 180e8937f0 add 'of' keyword and highlight links for template strings 2015-12-02 16:34:38 -07:00
juneidy 18579fda9e Added @cfg tag from senchalabs/jsduck 2015-11-18 10:29:44 +08:00
Jose Elera Campana c907b157ab Merge pull request #53 from mmwtsn/jsdoc-tags
Add complete list of JSDoc tags and synonyms
2015-07-03 11:55:54 -05:00
Lorenzo Ruiz 539dd14378 Fixed typo 2015-07-03 14:15:01 +02:00
Lorenzo Ruiz ed6a363cd7 Added support for object keys 2015-07-03 14:08:42 +02:00
Lorenzo Ruiz 7f04baf7be Update javascript.vim 2015-07-03 14:00:00 +02:00
M. Maxwell Watson 7614d41df9 Add complete list of alphabetized JSDoc tags 2015-06-16 23:10:51 -04:00
averted 92117af3bb Adding basic ES6 string interpolation 2015-05-13 16:16:47 -04:00
Gabriel Adomnicai 9ee13d82e1 allow multiline strings 2015-01-17 18:21:35 -08:00
NamelessOne 46e76c0ba2 Fix multiline strings. 2014-10-23 22:12:50 +02:00
Brandon Valosek 99cef7b382 added @tutorial tag 2014-10-08 14:39:06 -05:00
Brandon Valosek 239388b99b add support for @readonly JSDoc3 tag 2014-07-30 15:04:45 -05:00
Peter Lind 7ef78f4a2c Explicitly setting $ as part of words for javascript, instead of assuming only php filetype should not have it 2014-01-14 22:09:26 +01:00
Brandon Valosek 6de2864feb @event and @fires 2013-12-18 22:19:46 -06:00
Brandon Valosek 6777b611d2 @mixes as well 2013-12-18 21:57:01 -06:00
Brandon Valosek 5be88cba5d Added @enum, @const, @mixin, @alias for JSDoc 2013-12-18 20:44:26 -06:00
Jose Elera d3855f867a Change "syn" for "syntax", "javascript" for "javaScript"
Change is good for keeping up with uniformity
2013-12-09 13:22:09 -06:00
boba1l0s2k9 8c6cba0bd2 Added additional JSDoc 3 tags to the list that gets highlighted: @name, @memberof, @exports, @callback, @typedef, and @property. These are all documented here:
http://usejsdoc.org/#JSDoc3_Tag_Dictionary

More importantly, I added special handling for the @example tag to do syntax highlighting for code in example blocks (even though the code is technically inside a comment).
2013-12-02 14:02:37 -08:00
Tom McDonald c93090a7ab Add word boundaries to "function" keyword
Fixes syntax problems when an identifier contains the word 'function'
(e.g. 'functionName').
2013-11-12 15:16:59 -05:00
Jose Elera Campana 1b09e8a955 Revert "highlight works in HTML files too"
This reverts commit 74dae607da.
2013-09-17 23:45:51 -05:00
Jose Elera Campana 74dae607da highlight works in HTML files too 2013-09-17 23:44:27 -05:00
Jose Elera Campana 1debc2ad91 Tweak the highlight links 2013-09-17 23:39:38 -05:00
Jose Elera Campana e98aa68678 major cleanup and reindent 2013-09-17 23:10:06 -05:00
Jose Elera Campana 632a1de4df cleanup and reindent the whole file 2013-09-17 22:47:21 -05:00
Jose Elera Campana 61b93e06d7 add Web API keywords (very long list) 2013-09-17 21:46:03 -05:00
Jose Elera Campana f5065ce43f Cleanup of "global objects" 2013-09-17 20:56:16 -05:00
Jose Elera Campana ddfc4cc7ed update the highlight for Regex strings 2013-09-17 20:48:00 -05:00
Jose Elera Campana b5a4fdf0e8 change the version and date of the file 2013-09-17 20:44:01 -05:00
Jose Elera Campana a170a17d90 change the highlight of the function name 2013-09-15 12:06:43 -05:00
Jose Elera Campana 2fb263cb75 add comma highlighting, which I deleted by mistake 2013-09-15 11:33:19 -05:00
Jose Elera Campana 098c45e77a Merge branch 'master' of https://github.com/bgrohman/vim-javascript-syntax into bgrohman-master
Conflicts:
	syntax/javascript.vim
2013-09-15 11:27:32 -05:00
Bryan Grohman 88e7ae096a Updated highlighting for equal sign in function expressions 2013-08-30 08:45:10 -05:00
Jose Elera Campana 1c721f5feb consolidate single and double quote strings 2013-08-30 00:13:15 -05:00
Bryan Grohman 87aa6fffcf Support for function expressions
Function expressions will be highlighted appropriately.
2013-08-26 16:19:10 -05:00
Tom Vincent 8414f92d96 Removes dangling FoldText() call
Without this, fold comments were being displayed as:

    +--  6 lines folded

... whereas, I'd expect something like:

    +---  6 lines: .state('causes', {

... which this fix achieves. Should also resolve #14.
2013-08-14 07:44:11 +01:00
Jose Elera 2467883d23 Merge pull request #25 from magicdrive/pull-request
shebang any
2013-08-04 08:01:20 -07:00
Hiroshi IKEGAMI a34f76bd05 shebang any 2013-08-04 22:50:12 +09:00
Tom McDonald 826e4db3a9 Remove $ from iskeyword in PHP files 2013-05-08 14:29:40 -04:00
Jose Elera Campana 78a6d49126 Merge pull request #18 from Jonhoo/patch-1
@returns may also take a type parameter
2013-03-26 09:58:57 -07:00
Jon Gjengset e0116fd12f @returns may also take a type parameter
JSDoc supports giving @returns a type parameter which wasn't highlighted earlier.
2013-02-24 11:59:39 +00:00
Eric Hynds cc7007036b remove code folding by default 2012-08-16 18:47:47 -03:00
Jose Elera Campana b03f40ff6d Merge pull request #12 from billychan/master
Highlight for function arguments
2012-08-13 09:48:26 -07:00
Jose Elera Campana 5f45ff925c Merge pull request #10 from sleepycat/master
Setting filetype to javascript based on node shebang
2012-08-13 09:45:49 -07:00
billychan 9a9c0dae04 Set different highlight for function arguments
With this fix, function keywords, function name, function arguments, parenthesis and commas will have different highlight. It's clearer to read codes.
2012-08-09 21:18:16 +08:00
Mike Williamson 405df92c21 Set filetype based on node shebang
Recognizes the node shebang line and sets the filetype to javascript.
Syntax highlights the shebang as well.
2012-05-24 20:35:40 -04:00
David Stephen James Birch 47ec99eb7b Fixed typo. 2012-05-12 20:11:05 +01:00
David Stephen James Birch 36b33f2e9e Fixed javaScriptEndColons to recognise semicolons that separate to statements on a single line. 2012-05-12 20:06:47 +01:00
David Stephen James Birch 412bbfb4e3 Fixed typo. 2012-05-12 14:33:40 +01:00