-
Notifications
You must be signed in to change notification settings - Fork 102
/
CHANGES.TXT
665 lines (628 loc) · 31.9 KB
/
CHANGES.TXT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
0.1
- Initial release
0.2
- Fixed uncommenting of non-aligned comments
- improved support for block comments (with middle lines and indentation)
- using TCommentBlock for file types that don't have block comments creates
single line comments
- removed the TCommentAsBlock command (TCommentAs provides its functionality)
- removed g:tcommentSetCMS
- the default key bindings have slightly changed
1.3
- slightly improved recognition of embedded syntax
- if no commentstring is defined in whatever way, reconstruct one from
&comments
- The TComment... commands now have bang variants that don't act as toggles
but always comment out the selected text
- fixed problem with commentstrings containing backslashes
- comment as visual block (allows commenting text to the right of the main
text, i.e., this command doesn't work on whole lines but on the text to the
right of the cursor)
- enable multimode for dsl, vim filetypes
- added explicit support for some other file types I ran into
1.4
- Fixed problem when &commentstring was invalid (e.g. lua)
- perl_block by Kyosuke Takayama.
- <c-_>s mapped to :TCommentAs <c-r>=&ft<cr>
1.5
- "Inline" visual comments (uses the &filetype_inline style if
available; doesn't check if the filetype actually supports this kind of
comments); tComment can't currently deduce inline comment styles from
&comments or &commentstring (I personally hardly ever use them); default
map: <c-_>i or <c-_>I
- In visual mode: if the selection spans several lines, normal mode is
selected; if the selection covers only a part of one line, inline mode
is selected
- Fixed problem with lines containing ^M or ^@ characters.
- It's no longer necessary to call TCommentCollectFileTypes() after
defining a new filetype via TCommentDefineType()
- Disabled single <c-_> mappings
- Renamed TCommentVisualBlock to TCommentRight
- FIX: Forgot 'x' in ExtractCommentsPart() (thanks to Fredrik Acosta)
1.6
- Ignore sql when guessing the comment string in php files; tComment
sometimes chooses the wrong comment string because the use of sql syntax
is used too loosely in php files; if you want to comment embedded sql
code you have to use TCommentAs
- Use keepjumps in commands.
- Map <c-_>p & <L>_p to vip:TComment<cr>
- Made key maps configurable via g:tcommentMapLeader1 and
g:tcommentMapLeader2
1.7
- gc{motion} (see g:tcommentMapLeaderOp1) functions as a comment toggle
operator (i.e., something like gcl... works, mostly); gC{motion} (see
g:tcommentMapLeaderOp2) will unconditionally comment the text.
- TCommentAs takes an optional second argument (the comment level)
- New "n" map: TCommentAs &filetype [COUNT]
- Defined mail comments/citations
- g:tcommentSyntaxMap: Map syntax names to filetypes for buffers with
mixed syntax groups that don't match the filetypeEmbeddedsyntax scheme (e.g.
'vimRubyRegion', which should be commented as ruby syntax, not as vim
syntax)
- FIX: Comments in vim*Region
- TComment: The use of the type argument has slightly changed (IG -> i,
new: >)
1.8
- Definitly require vim7
- Split the plugin into autoload & plugin.
- g:TCommentFileTypes is a list
- Fixed some block comment strings
- Removed extraneous newline in some block comments.
- Maps for visal mode (thanks Krzysztof Goj)
1.9
- Fix left offset for inline comments (via operator binding)
1.10
- tcomment#Operator defines w:tcommentPos if invoked repeatedly
- s:GuessFileType: use len(getline()) instead of col()
1.11
- Support for erlang (thanks to Zhang Jinzhu)
1.12
- Moved the definition of some variables from plugin/tComment.vim to
autoload/tcomment.vim
- Changed comment string for eruby (proposed by Vinicius Baggio)
- Support for x86conf
2.0
- Enabled key=value pairs to configure commenting
- Renamed the file plugin/tComment.vim to plugin/tcomment.vim
- Renamed certain global functions to tcomment#...
2.1
- FIX
version: "2.02"
- Support for matlab (contributed by D Fong)
MD5 checksum: 29a2742dfae32b52a7abcdfb4de553ad
version: "2.03"
- s:PrintF(): Silently ignore malformed format strings
- Deal with major.minor pseudo-filetypes
- go-lang
- Remove s:SPrintF() since vim now has printf()
MD5 checksum: 4a13ffb1b1d46bbd2dc8dcee77507983
version: "2.04"
- Support for fstab
- g:tcommentOptions: Other key-value options used by |tcomment#Comment()|.
- Support for django (thanks to Jim Tinsky)
- g:tcomment#syntax_substitute: Rewrite syntax names
- django support: minor correction
MD5 checksum: 994e5886d185857848b5472d5457b232
version: "2.05"
- Explicit support for python (thanks to brendanarnold)
- Support for samba (thanks Dominic)
- .gitignore
- Define new types: debsources and debcontrol
- Removed some whitespace as proposed by blueyed
- Add config for typoscript filetype.
- EXPERIMENTAL commentstring_rx: Support for using regexps to uncomment code
- s:ProcessedLine: Don't substitute(rv, '\n', '\\\n', 'g')
- Try to handle char-type text objects (disabled by default)
- scss (SASS) filetype
- Add config for 'nginx' filetype.
MD5 checksum: 0e23f194638256fb4fa4a729df645966
version: "2.06"
- tcomment#Comment(): Remove last item in search history (reported by Raimond)
- Add config for conkyrc filetype.
- Add config for 'robots' filetype.
- tcomment#GetCommentDef(name)
- g:tcomment_types: override tcomment's default comment styles (fix #12)
- Fixed ft-guessing of htmldjango files
- Add definitions for dnsmasq, pac, resolv and squid.
- Avoid the problem reported in https://github.com/tomtom/tcomment_vim/pull/18
- Handle nested comments in c mode (fix #19)
MD5 checksum: 0e23f194638256fb4fa4a729df645966
version: "2.07"
- Avoid duplicate tag in help file (reported by utkarshkukreti)
- add puppet type
- Use \r instead of ^M
- support for haml and coffeescript
- Support for gitignore
- Merge branch 'master' of https://github.com/ignovak/tcomment_vim
- Enable "filetype guessing" for eruby (fixes #25)
- g:tcommentModeExtra: Always modify how commenting works
- g:tcommentModeExtra: >> ... Like > but also move the cursor to the next line
- adding gnu smalltalk comment style
- Add comment definition for "smarty"
- Sort definition for "sql"
- Merge branch 'master' of https://github.com/clutt0n/tcomment_vim
- added support for jasmine.coffee (cf. https://github.com/claco/jasmine.vim)
- fixed jasmine (have to use syntax instead of filetype)
- Block comments: set &sel = exclusive (fixes #30; bug 1)
- Merge branch 'master' of https://github.com/paulwittmann/tcomment_vim
- spec files for issue 30
- Inline comments: Include the current character if selection == inclusive (fixes #30 bug 2)
- gC in visual mode: call :TCommentMaybeInline! (fixes #30 bug 3)
- Added Clojure and Clojurescript support. Thou the comment is a single ';' it is a widely adopted convention to comment whole lines with ';;'
- command line completion: also offer rx*= arguments
- Merge branch 'master' of https://github.com/ssedano/tcomment_vim
- clojure: use ";" for inline comments
- TCommentRight used wrong column
- b:tcommentOptions: buffer-local options
- Deal with mode argument (concatenate with commentMode)
- Removed visual/selection maps for :TCommentRight
- <c-_>cc and <c-_>ca maps to temporary set options (count, as) on the fly
- <c-_>1 .. <c-_>9 maps to invoke :TComment count=N (repeat the comment string N times)
- clojure: use the "count" property instead of hardcoding the double semicolon (";;")
- Enable inline comments for insert & normal mode (create empty comments, which isn't always that useful; fixes #33)
- When guessing a filetype, make sure to use custom definitions when no syntax name is found
- gc<count>c maps that set the "count" attribute
- Make sure to ignore %%s in commentstrings
- gc<Count>c{motion} maps work as toggle
- Enable <c-_><Count> maps for insert mode
- Monkey language comment style
MD5 checksum: 0853c50ebdcd4c52a31b2ad2d514d1e0
version: "2.08"
- Enable count for gc operator maps (use e.g. 3gc2l instead of gc3c2l; maybe remove gc<count>c maps later on)
- <count>gc operator maps: use v:count instead of v:count1
- fixed unlet
- Merge branch 'master' of https://github.com/grassofhust/tcomment_vim
- Added vhdl to tcomment#DefineType
- tcomment#GuessCommentType(): Make filetype guessing accessible for other plugins
- FIX: didn't guess filetype correctly for lines containing only one character
- Guess filetype: Improved handling of empty lines
- g:tcommentSyntaxMap: support additional info on how to handle empty lines
- g:tcommentSyntaxMap: support filetype key: explicitly map syntax name per filetype (fixes #39)
- Fix typo
- Add `g:tcommentGuessFileType_smarty = 1`
- Define/handle 'ini' file type (e.g. for php.ini)
MD5 checksum: 702082a857ddeaf75d3b4fd884363173
- Adds Scala support
- Support for (firefox) chromemanifest filetype
- g:tcommentMaps: If true, set maps (fixes #42)
- addon-info
- Enable replacements for xml/html/... (fixes #44)
- Experimental option g:tcomment#mixed_indentation: Deal with inconsistent indentation styles (fixes #43)
- Experimental option 'mixedindent': Deal with inconsistent indentation styles (fixes #43)
- s:DoReplacements(): Handle an empty list of tokens correctly
- mixedindent: Set virtual column to strdisplaywidth(indentStr, cbeg) + 1
- mixedindent: mixedindentUndo previous change; use \%>v again
- Call :redraw only when tcomment#Complete* was called for the first time if v:version < 703
- s:FEscapeCommentString(): Correctly deal comment string that include %
- More flexible handling of "dotted" filetypes (fixes #45)
- Undo previous changes (s:FEscapeCommentString) (fixes #46)
- Map erubyExpression syntax to ruby filetype
- s:StartColRx(pos): Use ^ for pos 0-1 (fixes #47)
- If mixedindent: use col - 1
- Derive g:tcommentLineC from g:tcommentInlineC so that you can set g:tcommentLineC without having to set g:tcommentInlineC
- mixedindent: Adjust column only for inline comments
- g:tcommentModeExtra: Basic support for preferring block-type comments 'B' uncommenting doesn't work properly when called from operator maps
- Support for gcb maps (block comments) and experimental support for '#' mode extra for operator maps (fixes #49)
- opextra =~'#*: Adjust for commentstring containing printf placeholders (%) (closes #49)
- s:GuessFileType(): If there is no custom definition for the fallback filetype, use the filetype (fixes #45)
- g:tcomment#filetype_map now works on filetype parts (when using dotted filetype) & special support for rails-views (fixes #45)
- Support for postfix main (thanks to ypid)
- strip_whitespace option (closes #54)
- Support for cmake.
- Support for markdown.
- Support for sshdconfig.
- Support for sshconfig.
- Support for gnuplot (fixes #56)
- Support slim template
- s:CommentDef(): Uncommenting: correct string for &selection == inclusive (fixes #53)
- Support for esmtprc.
- "whitespace" option: Define whether to surround commented text with whitespace
- Experimental inline comment text object (not functional yet)
- tcomment#DefineType(name, commentdef, ?cdef={}, ?anyway=0)
- s:SetWhitespaceMode(cdef): Add whitespace if mode = "both" and the commentstring doesn't include whitespace
- Support for R6RS scheme block comments (fixes #60)
- Support for upstart.
- Support for racket filetype (fixes #60)
- Added form support
- Adding htmljinja support (same as htmldjango).
- Adding lua support
- Objective C++
- Support for salt stacks (closes #66); sort order of filetypes
- Support for dustjs (closes #67)
MD5 checksum: d507f7e6d171034a45e2d349561d29f1
version: "2.09"
- Help template
- Add asciidoc (//) and expect (#) definitions
- Fix xs commentstring
- Accept js as alias for javascript (fixes #70)
- Adding hy support
- s:GetStartEnd(): Make sure end >= begin (fixes #73)
- strip_whitespace defaults to 1 (fixes #54)
- "whitespace" option: Consistently use partial matching
- mixedindent option: Check only in s:StartColRx()
- s:CommentDef(): Minor optimization
- Support for remind filetype (closes #74)
- tcomment#TypeExists(name, ...): takes a mode as optional second argument
- R comments: Properly set cend to col('$')
- s:StartPosRx(), s:EndPosRx(): Ignore lnum in I mode
- s:StartColRx(): Takes a col as second argument
- Renamed g:tcommentBlankLines to g:tcomment#blank_lines (can be 0, 1, 2)
- s:GetCustomCommentString(): Take into account whether a custom comment style is defined for block & inline comments
- g:tcomment#rstrip_on_uncomment: Remove right-hand whitespace on uncomment
- Use a loop, not :s
- g:tcomment#ignore_comment_def
- mixedindent option defaults to 1
- mixedindent defaults to 1
MD5 checksum: c2668f9147783d47e640133e51ba20e4
version: "3.00"
- Support for vimwiki (closes #80)
- Better handling of commentstrings like "%%%s"
- Support for verilog & verilog_systemverilog (closes #81)
- verlog inline comments
- Improved support for constructing comments from the &comments option
- Typo (fixes #82)
- Misc improvements to handling &comment, &commentstring; count for c-style comments only changes the first part of the comment; enable counts for gcb
- Ignore count for xmaps
- Re-enable custom verilog definitions (after debugging)
- Use strdisplaywidth() only with vim >= 7.3 (fixes #83)
- Disallow unsupported comment types (e.g. insert comments when only linewise comments are allowed)
- Remove custom javaScript comment definitions (use javascript)
- Misc changes to operator maps; gc$ maps to R-type comments (fixes #84)
- x/v op map: Use R type comment if cend ~~ col('$') (fixes #85)
- Maps are not <silent> any more (display error/warning message if any)
- If comment_mode == 'i', also check if it should rather be 'G'
- Make op maps silent again
- Improve configurability of mappings.
- Consistently use virtcol(); block comments properly support mixedindent
- Removed some superfluous :exec commands from map definitions
- Fix regression with text objects.
- <c-_>NUMBER maps always set the count argument for the subsequent map (makes it easier to insert /** */ type of comments)
- Misc changes (fixes #88)
- Let g:tcomment_types override default settings
- Support for blade.php (closes #90)
- Support for QML files (Qt Meta Language)
- FIX #92: GuessFileType(): avoid "E706: Variable type mismatch"
MD5 checksum: 10b548c1bfc946206ec46fca58ae5a62
version: "3.01"
- Support for vimwiki (closes #80)
- Better handling of commentstrings like "%%%s"
- Support for verilog & verilog_systemverilog (closes #81)
- verlog inline comments
- Improved support for constructing comments from the &comments option
- Typo (fixes #82)
- Misc improvements to handling &comment, &commentstring; count for c-style comments only changes the first part of the comment; enable counts for gcb
- Ignore count for xmaps
- Re-enable custom verilog definitions (after debugging)
- Use strdisplaywidth() only with vim >= 7.3 (fixes #83)
- Disallow unsupported comment types (e.g. insert comments when only linewise comments are allowed)
- Remove custom javaScript comment definitions (use javascript)
- Misc changes to operator maps; gc$ maps to R-type comments (fixes #84)
- x/v op map: Use R type comment if cend ~~ col('$') (fixes #85)
- Maps are not <silent> any more (display error/warning message if any)
- If comment_mode == 'i', also check if it should rather be 'G'
- Make op maps silent again
- Improve configurability of mappings.
- Consistently use virtcol(); block comments properly support mixedindent
- Removed some superfluous :exec commands from map definitions
- Fix regression with text objects.
- <c-_>NUMBER maps always set the count argument for the subsequent map (makes it easier to insert /** */ type of comments)
- Misc changes (fixes #88)
- Let g:tcomment_types override default settings
- Support for blade.php (closes #90)
- Support for QML files (Qt Meta Language)
- FIX #92: GuessFileType(): avoid "E706: Variable type mismatch"
MD5 checksum: 10b548c1bfc946206ec46fca58ae5a62
version: "3.01"
- b:tcomment_def_{NAME}: Buffer-local configuration (closes #93)
- FIX #94: if line("'<") == line("'>") and col('.') is before the first character, use G mode
- FIX 95: GetStartEnd(): Don't set cbeg to 0 on empty lines
MD5 checksum: 5bca91c102f1192cccb75708659f825c
version: "3.02"
version: "3.03"
- GetStartEnd: ignore empty lines when determining the indentation level
- FIX #96: StartColRx(): Use "^" only for col < 1 (not <= 1)
- FIX #97: Set startcol depending on comment_mode
MD5 checksum: c6a7ac7e915d5cf7a710aa8f118b50de
- tcomment#OperatorLine*: Use L as comment_type
- EndColRx: Use $ if pos >= strdisplaywidth of line (fix gc$ for certain filetypes)
- FIX #101: CommentBlock: Don't remove leading whitespace This caused problems when uncommenting block comments with blank/empty middle comment markers
- FIX #102: g:tcomment#must_escape_expression_backslash: Allow customization of pre-7.2-407 special case
- add noweb filetype
- Add support for asterisk
- CLOSE #105: Use g< and g> for explicit uncommenting and commenting - Rename g:tcommentMapLeaderOp2 to g:tcommentMapLeaderCommentAnyway - g:tcommentMapLeaderUncommentAnyway - C, U comment modes - s:GetTempOption()
- FIX #105: Allow count for visual g<, g>; fix g<; add -bar to command definitions
- Make <Plug>TComment-Comment, <Plug>TComment-Uncomment <silent>
- Add support for elixir file type
- CLOSE #107: Fix help on g:tcomment#options_comments and g:tcomment#options_commentstring
- jade support (http://jade-lang.com/)
- Support for context
- added comment definition for purescript
- FIX #112: g:tcomment#options_comments, g:tcomment#options_commentstring: check g:tcommentOptions for whitespace preference
MD5 checksum: 839a0aa6e7f5d6ef85a7d787609a323b
version: "3.04"
version: '3.05'
- add lilypond support
- Make sure to uncomment if mode = U
- Rename some <Plug> maps (replace "-" with "_")
- Make handling of the mode argument more correct
- FIX #117: Add support for liquid
- Add AppleScript support
- Add definition for Vader [1]
- Add definition for "cram"
- FIX #122: s:MapOp(): Define specialiced opfunc when necessary (this should also FIX #114)
- Use '# %s' for gitconfig files, as with the others (ft=git*)
- add autohotkey comment format
- Improved support for Rnw files (g:tcommentGuessFileType_rnoweb = "r")
- CLOSE #128: K comment mode
- Actually CLOSE #128: s:CommentDef(), s:AddModeExtra(): check for mode==K
- FIX #132: Handle mixed "//" % "/* ... */" C-like linewise comments - tcomment#GetLineC(...), g:tcommentLineC_fmt - use for more filetypes - s:Count(), s:Printf1()
MD5 checksum: a63f84ff30a8d9e5dfa7f43b800c05bf
- add lilypond support
- Make sure to uncomment if mode = U
- Rename some <Plug> maps (replace "-" with "_")
- Make handling of the mode argument more correct
- FIX #117: Add support for liquid
- Add AppleScript support
- Add definition for Vader [1]
- Add definition for "cram"
- FIX #122: s:MapOp(): Define specialiced opfunc when necessary (this should also FIX #114)
- Use '# %s' for gitconfig files, as with the others (ft=git*)
- add autohotkey comment format
- Improved support for Rnw files (g:tcommentGuessFileType_rnoweb = "r")
- CLOSE #128: K comment mode
- Actually CLOSE #128: s:CommentDef(), s:AddModeExtra(): check for mode==K
- FIX #132: Handle mixed "//" % "/* ... */" C-like linewise comments - tcomment#GetLineC(...), g:tcommentLineC_fmt - use for more filetypes - s:Count(), s:Printf1()
MD5 checksum: a63f84ff30a8d9e5dfa7f43b800c05bf
version: "3.05"
- add lilypond support
- Make sure to uncomment if mode = U
- Rename some <Plug> maps (replace "-" with "_")
- Make handling of the mode argument more correct
- FIX #117: Add support for liquid
- Add AppleScript support
- Add definition for Vader [1]
- Add definition for "cram"
- FIX #122: s:MapOp(): Define specialiced opfunc when necessary (this should also FIX #114)
- Use '# %s' for gitconfig files, as with the others (ft=git*)
- add autohotkey comment format
- Improved support for Rnw files (g:tcommentGuessFileType_rnoweb = "r")
- CLOSE #128: K comment mode
- Actually CLOSE #128: s:CommentDef(), s:AddModeExtra(): check for mode==K
- FIX #132: Handle mixed "//" % "/* ... */" C-like linewise comments - tcomment#GetLineC(...), g:tcommentLineC_fmt - use for more filetypes - s:Count(), s:Printf1()
MD5 checksum: a63f84ff30a8d9e5dfa7f43b800c05bf
version: "3.05"
- add lilypond support
- Make sure to uncomment if mode = U
- Rename some <Plug> maps (replace "-" with "_")
- Make handling of the mode argument more correct
- FIX #117: Add support for liquid
- Add AppleScript support
- Add definition for Vader [1]
- Add definition for "cram"
- FIX #122: s:MapOp(): Define specialiced opfunc when necessary (this should also FIX #114)
- Use '# %s' for gitconfig files, as with the others (ft=git*)
- add autohotkey comment format
- Improved support for Rnw files (g:tcommentGuessFileType_rnoweb = "r")
- CLOSE #128: K comment mode
- Actually CLOSE #128: s:CommentDef(), s:AddModeExtra(): check for mode==K
- FIX #132: Handle mixed "//" % "/* ... */" C-like linewise comments - tcomment#GetLineC(...), g:tcommentLineC_fmt - use for more filetypes - s:Count(), s:Printf1()
MD5 checksum: a63f84ff30a8d9e5dfa7f43b800c05bf
version: "3.05"
version: "3.06"
- Define toml type
- Merge pull request #133 from moorereason/toml
- FIX #134: s:Printf1() fix regexp
MD5 checksum: 279fcee28dcde33c347fa2ffa48da054
- FIX #135: Old map in help docs
- FIX #136: Uncomment omaps must not call *Anyway; fix handling of U in s:GuessCommentMode()
MD5 checksum: 1c9d1e9f1de51c7ddcd049839eb686aa
version: "3.07"
- FIX #137: Prefer // for rust comments
- FIX #138: Support for jinja filetype (see https://github.com/Glench/Vim-Jinja2-Syntax)
- FIX #140: s:MapOp(): Don't evaluate registers to define op functions
- s:MapOp: Remove count argument
- support Tupfile comments
- Merge pull request #141 from cfillion/tup-comments
- FIX #123: GuessFileType(): don't use indent(); properly handle tabs
- GuessFileType(): Use strwidth() (FIX #144)
- autoload: Add Makefile support
- Merge pull request #146 from JIghtuse/master
- FIX #147: Add definition for robot file; re-enable col attribute (comment mode only)
- FIX #148: Prefer // for java comments
- Merge pull request #149 from phphong/change-java-default
- support commenting for the fish shell
- Merge pull request #150 from philolo1/support_fish
- Add support for Facebook JSX
- Merge pull request #151 from epeli/jsx
- CLOSE #152: postprocess_uncomment option
- Support for markdown
MD5 checksum: 4d11779a42c22ea2dbb5f1309b29bce3
version: "3.07"
- FIX #137: Prefer // for rust comments
- FIX #138: Support for jinja filetype (see https://github.com/Glench/Vim-Jinja2-Syntax)
- FIX #140: s:MapOp(): Don't evaluate registers to define op functions
- s:MapOp: Remove count argument
- support Tupfile comments
- Merge pull request #141 from cfillion/tup-comments
- FIX #123: GuessFileType(): don't use indent(); properly handle tabs
- GuessFileType(): Use strwidth() (FIX #144)
- autoload: Add Makefile support
- Merge pull request #146 from JIghtuse/master
- FIX #147: Add definition for robot file; re-enable col attribute (comment mode only)
- FIX #148: Prefer // for java comments
- Merge pull request #149 from phphong/change-java-default
- support commenting for the fish shell
- Merge pull request #150 from philolo1/support_fish
- Add support for Facebook JSX
- Merge pull request #151 from epeli/jsx
- CLOSE #152: postprocess_uncomment option
- Support for markdown
- Set markdown comment to <!--- ... --->
- FIX #153: map tblgen -> cpp
- runtime! autoload/tcomment/types/*.vim
- s:CommentDef(): If mixedindent is true, add 1 to cbeg only if not in inline comment-mode (experimental)
- s:AddModeExtra(): Make sure not to include duplicates
- Add Elm Comment Definition
- Merge pull request #156 from bradurani/patch-1
- Properly handle MAJOR.MINOR sub-filetypes
- FIX #160: Add license
- [jq] adding jq support
- Merge pull request #161 from vito-c/vito
- FIX #162: Ignore col option for inline comments
- notlib stub
- g:tcomment#filetype_map may match MAJ.MIN-style filetypes (FIX #162)
- adding support for solidiy
- merge
- Merge pull request #163 from mhhf/master
- FIX #164: s:ProcessLine() returns a list when g:tcomment#blank_lines == 0
- FIX #167: Define :Tlibtrace etc. also if an older version of tlib is installed
- Support for octave, matlab block comments (Malte Neuss)
- Fix blade block comment
- markdown: use <!-- ... --> (FIX #171)
- Merge pull request #170 from adriaanzon/patch-1
- add support for proto
- Merge pull request #172 from timfeirg/master
- Detect PHP regions in Blade
- Merge pull request #173 from adriaanzon/blade
- Add comment style for TypeScript (same as JavaScript)
- Merge pull request #175 from johngrimes/typescript
- Support for cypher (CLOSE #178)
- Support for the nix filetype
- AppleScript
- Merge pull request #181 from squm/master
- Merge pull request #180 from Hinidu/patch-1
- FIX #183: Remove the comment string only once
- FIX #184: Special handling of &cms=% %s
- <Plug>TCommen_gC map: force line-wise operation
- Added nim.
- Merge pull request #185 from rosshadden/master
- s:GuessVimOptionsCommentString(): Don't expect cms to be a proper format string
- Add basic Vue support
- Merge pull request #187 from adriaanzon/vue
SHA256 checksum: e38384a93873d91dd4ab811535d616aad14f0789d7e84e7da1a479357788bf1d
version: "3.08"
version: '4.00'
- FIX #190: use len() is str(display)width() is not defined
- Fix comments in Laravel blade filetype
- Merge pull request #193 from jaguadoromero/blade_comments_fix
- Add rust_inline
- Merge pull request #194 from alanjcfs/add-rust-inline
- FIX #197: Rmd support
- FIX #197: rmd defaults to markdown
- Add # as comment sign for qmake project files
- Merge pull request #200 from t-b/add-qmake
- ultralight refactoring
- Do not call setline() if it would not change it
- Use CamelCase for function names etc.
- Merge pull request #207 from blueyed/setline
- CLOSE #208: Add support for Cabal files (thanks to mn720)
- FIX #202: Make it easier to customize C-style line comments via g:tcomment#commentstring_c
- FIX #201: tcommentModeExtra: Use "j^" instead of "l^"; NEW >|
- Further refactoring
- Bump major version number due to possibly incompatible changes
- More refactoring (not backward-compatible)
- FIX #210: Move `call tcomment#deprecated#Check()` to autoload/tcomment.vim
- Add support for cdl files
- Merge pull request #211 from t-b/feature/add_cdl_support
- FIX #212: s/g:tcomment_textoject_inlinecomment/g:tcomment_textobject_inlinecomment/
- Run the deprecation checks eagerly (closes #215, closes #216)
- Merge pull request #217 from chocolateboy/eager-faster-deprecation
- FIX #210: Performance improvement for tcomment#deprecated#Check()
- FIX #218: Missing quote
- FIX #214: Guess filetype in perl files
- FIX #219: vim 7.4 compatibility
- FIX #191: Properly escape backslashes (for forth, nroff etc.); explicitly support forth
- FIX #213: Make whitespace optional
- EXPERIMENTAL: g:tcomment#filetype#guess defaults to 1
- FIX #213: Make whitespace conditional only at the end of a line
- FIX #220: don't escape backslashes in commentstring_rx
- In block mode: make sure to comment empty lines
- Block comment: Handle whitespace < prefix
- tcomment#filetype#GetAlt: s/[.]/_/g in filetype names
- g:tcomment#filetype#map_user, g:tcomment#filetype#syntax_map_user: Make it easier to customize the respective parameters
- tcomment#filetype#GetAlt(): cdef.guess > g:tcomment#filetype#guess_{filetype} > g:tcomment#filetype#guess
- FIX #222, FIX #224: g:tcomment#filetype#guess defaults to 0 again
- FIX #225: Process g:tcomment_types after autoload/tcomment/types/*.vim files
- Add type#Define for pug
- Merge pull request #226 from bootleq/pug
- FIX #228: guard_rx: Use replacements only on certain lines
- FIX #229: Re-enable some filetype-specific guess params
- Support for the terraform filetype
- Merge pull request #230 from Hinidu/patch-1
- Add Meson build system defenition
- Merge pull request #231 from rkuchumov/master
- Possibly FIX #232
- FIX #232: Try synID() with tran = 1 and 0
- ++Support for tsx, jsx
- NEW tcomment#DebugInfo()
- NEW tcomment#debug#CollectInfo()
- FIX #186 Support xml tags in jsx files
- FIX #159 use js-style comments for xmlAttrib; tcomment#filetype#Guess(): one-off error
- ft: jinja: there are no comment blocks
- FIX tcomment#syntax#GetSyntaxName: Make sure filetype key is in cdef
- Support julia and stata
- tcomment#syntax#GetSyntaxName(): Make sure cdef includes filetype field
- Support for julia
- Merge pull request #242 from PietroPate/master
- Merge pull request #240 from blueyed/jinja-comments
- Support for julia block comments
- stata block comments
- FIX #245: Missing comma
- Merge pull request #243 from PietroPate/master
- Add support for igorpro files
- Add cucumber comment definition
- Merge pull request #247 from pylipp/feature/support-cucumber
- FIX #248 handle jsx special case for uncommenting
- Merge pull request #246 from t-b/add-igor-pro
- tcomment#syntax#GetSyntaxName(): Make sure the rules in g:tcomment#syntax#substitute are applied before those in g:tcomment#syntax#substitute_by_filetype
- add taskrc filetype
- Merge pull request #249 from dsifford/dsifford-add-taskrc-type
- types/default.vim: fasm filetype
- Merge pull request #251 from dsirov/add-filetype-fasm
- add FSharp comment type
- Merge pull request #252 from josselinauguste/master
- Add javascriptreact/typescriptreact filetypes
- Add support for bibtex files
- Merge pull request #259 from t-b/add-bibtex
- Add Maude filetype
- Add support for go.mod
- Merge pull request #262 from josa42/add-go-mod
- Merge pull request #261 from magnusmb/master
- Merge pull request #256 from Chris-Slade/master
- Support for choose: Conditionally select a comment definition from a list of candidates (fixes https://github.com/tomtom/tcomment_vim/commit/0f94e969a14a0cd664ca67de38b640eaf54583ad?email_token=AAAJR5ACHF5PPVOR2JSULJDRD6UP3A5CNFSM4KF5DZ62YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBDV5IA)
- FIX bib commentdef (use `if` condition proposed by enno)
- Add support for Agda files
- FIX #265 NEW g:tcomment_map_modifier, g:tcomment_opmap_modifier: Configure use of <silent> etc.
- Merge pull request #264 from akiomik/patch-1
- Add qml inline comment definition
- Merge pull request #267 from pylipp/patch-1
- FIX #269 Support for cuda
- support Swift
- Support dot
- Add alternative version of typescript
- Merge pull request #271 from bradleymackey/master
- Merge pull request #273 from amadeus/fix/typescript-alt
- Merge pull request #272 from tamago324/support-dot
- Add support for Snakemake files
- Merge pull request #275 from mnsmar/patch-1
- adding sbt filetype
- Merge pull request #276 from vito-c/vito
- Add support for spss
- tcomment#GuessCommentType(): Enrich return value
- Support Vim9 script and functions
- Merge pull request #278 from itchyny/support-vim9-script
- Add Stylus support
- Merge pull request #281 from herrbischoff/patch-1
- C-style comments: Support for /// etc. FIXES #282
- Restrict use of /// to the rust filetype FIXES #282
- Add support for bindzone and named type files
- Merge pull request #286 from alteriks/bind_named
- Fix function call
- Merge pull request #287 from aca/master
- XML style comments: don't escape "-" but "<!--" and "-->" FIX #288
- Add nix_inline type
- Merge pull request #293 from SuperSandro2000/patch-1
- Add support for Svelte by mapping to HTML
- Merge pull request #296 from trygveaa/add-svelte
- Support for custom TCommentGetCommentstring() function FIXES #284
SHA256 checksum: 6a3f85cfb3506ebff3872ffb6812d74086dbc290ea86e74dac7205a925caa9b5