annotate runtime/indent/testdir/tcl.in @ 17867:180fb9981255
v8.1.1930
patch 8.1.1930: cannot recognize .jsx and .tsx files
Commit: https://github.com/vim/vim/commit/92852cee3fcff1dc6ce12387b234634e73267b22
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 26 21:28:15 2019 +0200
patch 8.1.1930: cannot recognize .jsx and .tsx files
Problem: Cannot recognize .jsx and .tsx files.
Solution: Recognize them as javascriptreact and typescriptreact.
(closes #4830)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 26 Aug 2019 21:30:04 +0200 |
parents |
8b334e4cb97f |
children |
|
rev |
line source |
15194
|
1 # vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :
|
15131
|
2
|
|
3 # START_INDENT
|
|
4 proc abc {} {
|
|
5 set a 5
|
|
6 if {[some_cmd]==1} {
|
|
7 foreach i [list {1 2 3}] {
|
|
8 # Does this comment affect anything?
|
|
9 puts $i
|
|
10 }
|
|
11 }
|
|
12 }
|
|
13
|
|
14 command_with_a_long_time -arg1 "First" \
|
|
15 -arg2 "Second" \
|
|
16 -arg3 "Third"
|
|
17
|
|
18 puts "Move indent back after line continuation is complete"
|
|
19 # END_INDENT |