if_tcl.txt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. *if_tcl.txt* For Vim version 9.0. Last change: 2022 Jan 08
  2. VIM REFERENCE MANUAL by Ingo Wilken
  3. The Tcl Interface to Vim *tcl* *Tcl* *TCL*
  4. 1. Commands |tcl-ex-commands|
  5. 2. Tcl commands |tcl-commands|
  6. 3. Tcl variables |tcl-variables|
  7. 4. Tcl window commands |tcl-window-cmds|
  8. 5. Tcl buffer commands |tcl-buffer-cmds|
  9. 6. Miscellaneous; Output from Tcl |tcl-misc| |tcl-output|
  10. 7. Known bugs & problems |tcl-bugs|
  11. 8. Examples |tcl-examples|
  12. 9. Dynamic loading |tcl-dynamic|
  13. {only available when Vim was compiled with the |+tcl| feature}
  14. *E280*
  15. WARNING: There are probably still some bugs. Please send bug reports,
  16. comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
  17. ==============================================================================
  18. 1. Commands *tcl-ex-commands* *E571* *E572*
  19. *:tcl*
  20. :tcl {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
  21. is working: >
  22. :tcl puts "Hello"
  23. :[range]tcl << [trim] [{endmarker}]
  24. {script}
  25. {endmarker}
  26. Execute Tcl script {script}.
  27. Note: This command doesn't work when the Tcl feature
  28. wasn't compiled in. To avoid errors, see
  29. |script-here|.
  30. If [endmarker] is omitted from after the "<<", a dot '.' must be used after
  31. {script}, like for the |:append| and |:insert| commands. Refer to
  32. |:let-heredoc| for more information.
  33. This form of the |:tcl| command is mainly useful for including tcl code in Vim
  34. scripts.
  35. Example: >
  36. function! DefineDate()
  37. tcl << EOF
  38. proc date {} {
  39. return [clock format [clock seconds]]
  40. }
  41. EOF
  42. endfunction
  43. <
  44. To see what version of Tcl you have: >
  45. :tcl puts [info patchlevel]
  46. <
  47. *:tcldo* *:tcld*
  48. :[range]tcld[o] {cmd} Execute Tcl command {cmd} for each line in [range]
  49. with the variable "line" being set to the text of each
  50. line in turn, and "lnum" to the line number. Setting
  51. "line" will change the text, but note that it is not
  52. possible to add or delete lines using this command.
  53. If {cmd} returns an error, the command is interrupted.
  54. The default for [range] is the whole file: "1,$".
  55. See |tcl-var-line| and |tcl-var-lnum|.
  56. *:tclfile* *:tclf*
  57. :tclf[ile] {file} Execute the Tcl script in {file}. This is the same as
  58. ":tcl source {file}", but allows file name completion.
  59. Note that Tcl objects (like variables) persist from one command to the next,
  60. just as in the Tcl shell.
  61. Executing Tcl commands is not possible in the |sandbox|.
  62. ==============================================================================
  63. 2. Tcl commands *tcl-commands*
  64. Tcl code gets all of its access to vim via commands in the "::vim" namespace.
  65. The following commands are implemented: >
  66. ::vim::beep # Guess.
  67. ::vim::buffer {n} # Create Tcl command for one buffer.
  68. ::vim::buffer list # Create Tcl commands for all buffers.
  69. ::vim::command [-quiet] {cmd} # Execute an Ex command.
  70. ::vim::expr {expr} # Use Vim's expression evaluator.
  71. ::vim::option {opt} # Get vim option.
  72. ::vim::option {opt} {val} # Set vim option.
  73. ::vim::window list # Create Tcl commands for all windows.
  74. Commands:
  75. ::vim::beep *tcl-beep*
  76. Honk. Does not return a result.
  77. ::vim::buffer {n} *tcl-buffer*
  78. ::vim::buffer exists {n}
  79. ::vim::buffer list
  80. Provides access to vim buffers. With an integer argument, creates a
  81. buffer command (see |tcl-buffer-cmds|) for the buffer with that
  82. number, and returns its name as the result. Invalid buffer numbers
  83. result in a standard Tcl error. To test for valid buffer numbers,
  84. vim's internal functions can be used: >
  85. set nbufs [::vim::expr bufnr("$")]
  86. set isvalid [::vim::expr "bufexists($n)"]
  87. < The "list" option creates a buffer command for each valid buffer, and
  88. returns a list of the command names as the result.
  89. Example: >
  90. set bufs [::vim::buffer list]
  91. foreach b $bufs { $b append end "The End!" }
  92. < The "exists" option checks if a buffer with the given number exists.
  93. Example: >
  94. if { [::vim::buffer exists $n] } { ::vim::command ":e #$n" }
  95. < This command might be replaced by a variable in future versions.
  96. See also |tcl-var-current| for the current buffer.
  97. ::vim::command {cmd} *tcl-command*
  98. ::vim::command -quiet {cmd}
  99. Execute the vim (ex-mode) command {cmd}. Any Ex command that affects
  100. a buffer or window uses the current buffer/current window. Does not
  101. return a result other than a standard Tcl error code. After this
  102. command is completed, the "::vim::current" variable is updated.
  103. The "-quiet" flag suppresses any error messages from vim.
  104. Examples: >
  105. ::vim::command "set ts=8"
  106. ::vim::command "%s/foo/bar/g"
  107. < To execute normal-mode commands, use "normal" (see |:normal|): >
  108. set cmd "jj"
  109. ::vim::command "normal $cmd"
  110. < See also |tcl-window-command| and |tcl-buffer-command|.
  111. ::vim::expr {expr} *tcl-expr*
  112. Evaluates the expression {expr} using vim's internal expression
  113. evaluator (see |expression|). Any expression that queries a buffer
  114. or window property uses the current buffer/current window. Returns
  115. the result as a string. A |List| is turned into a string by joining
  116. the items and inserting line breaks.
  117. Examples: >
  118. set perl_available [::vim::expr has("perl")]
  119. < See also |tcl-window-expr| and |tcl-buffer-expr|.
  120. ::vim::option {opt} *tcl-option*
  121. ::vim::option {opt} {value}
  122. Without second argument, queries the value of a vim option. With this
  123. argument, sets the vim option to {value}, and returns the previous
  124. value as the result. Any options that are marked as 'local to buffer'
  125. or 'local to window' affect the current buffer/current window. The
  126. global value is not changed, use the ":set" command for that. For
  127. boolean options, {value} should be "0" or "1", or any of the keywords
  128. "on", "off" or "toggle". See |option-summary| for a list of options.
  129. Example: >
  130. ::vim::option ts 8
  131. < See also |tcl-window-option| and |tcl-buffer-option|.
  132. ::vim::window {option} *tcl-window*
  133. Provides access to vim windows. Currently only the "list" option is
  134. implemented. This creates a window command (see |tcl-window-cmds|) for
  135. each window, and returns a list of the command names as the result.
  136. Example: >
  137. set wins [::vim::window list]
  138. foreach w $wins { $w height 4 }
  139. < This command might be replaced by a variable in future versions.
  140. See also |tcl-var-current| for the current window.
  141. ==============================================================================
  142. 3. Tcl variables *tcl-variables*
  143. The ::vim namespace contains a few variables. These are created when the Tcl
  144. interpreter is called from vim and set to current values. >
  145. ::vim::current # array containing "current" objects
  146. ::vim::lbase # number of first line
  147. ::vim::range # array containing current range numbers
  148. line # current line as a string (:tcldo only)
  149. lnum # current line number (:tcldo only)
  150. Variables:
  151. ::vim::current *tcl-var-current*
  152. This is an array providing access to various "current" objects
  153. available in vim. The contents of this array are updated after
  154. "::vim::command" is called, as this might change vim's current
  155. settings (e.g., by deleting the current buffer).
  156. The "buffer" element contains the name of the buffer command for the
  157. current buffer. This can be used directly to invoke buffer commands
  158. (see |tcl-buffer-cmds|). This element is read-only.
  159. Example: >
  160. $::vim::current(buffer) insert begin "Hello world"
  161. < The "window" element contains the name of the window command for the
  162. current window. This can be used directly to invoke window commands
  163. (see |tcl-window-cmds|). This element is read-only.
  164. Example: >
  165. $::vim::current(window) height 10
  166. <
  167. ::vim::lbase *tcl-var-lbase*
  168. This variable controls how Tcl treats line numbers. If it is set to
  169. '1', then lines and columns start at 1. This way, line numbers from
  170. Tcl commands and vim expressions are compatible. If this variable is
  171. set to '0', then line numbers and columns start at 0 in Tcl. This is
  172. useful if you want to treat a buffer as a Tcl list or a line as a Tcl
  173. string and use standard Tcl commands that return an index ("lsort" or
  174. "string first", for example). The default value is '1'. Currently,
  175. any non-zero values is treated as '1', but your scripts should not
  176. rely on this. See also |tcl-linenumbers|.
  177. ::vim::range *tcl-var-range*
  178. This is an array with three elements, "start", "begin" and "end". It
  179. contains the line numbers of the start and end row of the current
  180. range. "begin" is the same as "start". This variable is read-only.
  181. See |tcl-examples|.
  182. line *tcl-var-line*
  183. lnum *tcl-var-lnum*
  184. These global variables are only available if the ":tcldo" Ex command
  185. is being executed. They contain the text and line number of the
  186. current line. When the Tcl command invoked by ":tcldo" is completed,
  187. the current line is set to the contents of the "line" variable, unless
  188. the variable was unset by the Tcl command. The "lnum" variable is
  189. read-only. These variables are not in the "::vim" namespace so they
  190. can be used in ":tcldo" without much typing (this might be changed in
  191. future versions). See also |tcl-linenumbers|.
  192. ==============================================================================
  193. 4. Tcl window commands *tcl-window-cmds*
  194. Window commands represent vim windows. They are created by several commands:
  195. ::vim::window list |tcl-window|
  196. "windows" option of a buffer command |tcl-buffer-windows|
  197. The ::vim::current(window) variable contains the name of the window command
  198. for the current window. A window command is automatically deleted when the
  199. corresponding vim window is closed.
  200. Let's assume the name of the window command is stored in the Tcl variable "win",
  201. i.e. "$win" calls the command. The following options are available: >
  202. $win buffer # Create Tcl command for window's buffer.
  203. $win command {cmd} # Execute Ex command in windows context.
  204. $win cursor # Get current cursor position.
  205. $win cursor {var} # Set cursor position from array variable.
  206. $win cursor {row} {col} # Set cursor position.
  207. $win delcmd {cmd} # Call Tcl command when window is closed.
  208. $win expr {expr} # Evaluate vim expression in windows context.
  209. $win height # Report the window's height.
  210. $win height {n} # Set the window's height.
  211. $win option {opt} [val] # Get/Set vim option in windows context.
  212. Options:
  213. $win buffer *tcl-window-buffer*
  214. Creates a Tcl command for the window's buffer, and returns its name as
  215. the result. The name should be stored in a variable: >
  216. set buf [$win buffer]
  217. < $buf is now a valid Tcl command. See |tcl-buffer-cmds| for the
  218. available options.
  219. $win cursor *tcl-window-cursor*
  220. $win cursor {var}
  221. $win cursor {row} {col}
  222. Without argument, reports the current cursor position as a string.
  223. This can be converted to a Tcl array variable: >
  224. array set here [$win cursor]
  225. < "here(row)" and "here(column)" now contain the cursor position.
  226. With a single argument, the argument is interpreted as the name of a
  227. Tcl array variable, which must contain two elements "row" and "column".
  228. These are used to set the cursor to the new position: >
  229. $win cursor here ;# not $here !
  230. < With two arguments, sets the cursor to the specified row and column: >
  231. $win cursor $here(row) $here(column)
  232. < Invalid positions result in a standard Tcl error, which can be caught
  233. with "catch". The row and column values depend on the "::vim::lbase"
  234. variable. See |tcl-var-lbase|.
  235. $win delcmd {cmd} *tcl-window-delcmd*
  236. Registers the Tcl command {cmd} as a deletion callback for the window.
  237. This command is executed (in the global scope) just before the window
  238. is closed. Complex commands should be built with "list": >
  239. $win delcmd [list puts vimerr "window deleted"]
  240. < See also |tcl-buffer-delcmd|.
  241. $win height *tcl-window-height*
  242. $win height {n}
  243. Without argument, reports the window's current height. With an
  244. argument, tries to set the window's height to {n}, then reports the
  245. new height (which might be different from {n}).
  246. $win command [-quiet] {cmd} *tcl-window-command*
  247. $win expr {expr} *tcl-window-expr*
  248. $win option {opt} [val] *tcl-window-option*
  249. These are similar to "::vim::command" etc., except that everything is
  250. done in the context of the window represented by $win, instead of the
  251. current window. For example, setting an option that is marked 'local
  252. to window' affects the window $win. Anything that affects or queries
  253. a buffer uses the buffer displayed in this window (i.e. the buffer
  254. that is represented by "$win buffer"). See |tcl-command|, |tcl-expr|
  255. and |tcl-option| for more information.
  256. Example: >
  257. $win option number on
  258. ==============================================================================
  259. 5. Tcl buffer commands *tcl-buffer-cmds*
  260. Buffer commands represent vim buffers. They are created by several commands:
  261. ::vim::buffer {N} |tcl-buffer|
  262. ::vim::buffer list |tcl-buffer|
  263. "buffer" option of a window command |tcl-window-buffer|
  264. The ::vim::current(buffer) variable contains the name of the buffer command
  265. for the current buffer. A buffer command is automatically deleted when the
  266. corresponding vim buffer is destroyed. Whenever the buffer's contents are
  267. changed, all marks in the buffer are automatically adjusted. Any changes to
  268. the buffer's contents made by Tcl commands can be undone with the "undo" vim
  269. command (see |undo|).
  270. Let's assume the name of the buffer command is stored in the Tcl variable "buf",
  271. i.e. "$buf" calls the command. The following options are available: >
  272. $buf append {n} {str} # Append a line to buffer, after line {n}.
  273. $buf command {cmd} # Execute Ex command in buffers context.
  274. $buf count # Report number of lines in buffer.
  275. $buf delcmd {cmd} # Call Tcl command when buffer is deleted.
  276. $buf delete {n} # Delete a single line.
  277. $buf delete {n} {m} # Delete several lines.
  278. $buf expr {expr} # Evaluate vim expression in buffers context.
  279. $buf get {n} # Get a single line as a string.
  280. $buf get {n} {m} # Get several lines as a list.
  281. $buf insert {n} {str} # Insert a line in buffer, as line {n}.
  282. $buf last # Report line number of last line in buffer.
  283. $buf mark {mark} # Report position of buffer mark.
  284. $buf name # Report name of file in buffer.
  285. $buf number # Report number of this buffer.
  286. $buf option {opt} [val] # Get/Set vim option in buffers context.
  287. $buf set {n} {text} # Replace a single line.
  288. $buf set {n} {m} {list} # Replace several lines.
  289. $buf windows # Create Tcl commands for buffer's windows.
  290. <
  291. *tcl-linenumbers*
  292. Most buffer commands take line numbers as arguments. How Tcl treats these
  293. numbers depends on the "::vim::lbase" variable (see |tcl-var-lbase|). Instead
  294. of line numbers, several keywords can be also used: "top", "start", "begin",
  295. "first", "bottom", "end" and "last".
  296. Options:
  297. $buf append {n} {str} *tcl-buffer-append*
  298. $buf insert {n} {str} *tcl-buffer-insert*
  299. Add a line to the buffer. With the "insert" option, the string
  300. becomes the new line {n}, with "append" it is inserted after line {n}.
  301. Example: >
  302. $buf insert top "This is the beginning."
  303. $buf append end "This is the end."
  304. < To add a list of lines to the buffer, use a loop: >
  305. foreach line $list { $buf append $num $line ; incr num }
  306. <
  307. $buf count *tcl-buffer-count*
  308. Reports the total number of lines in the buffer.
  309. $buf delcmd {cmd} *tcl-buffer-delcmd*
  310. Registers the Tcl command {cmd} as a deletion callback for the buffer.
  311. This command is executed (in the global scope) just before the buffer
  312. is deleted. Complex commands should be built with "list": >
  313. $buf delcmd [list puts vimerr "buffer [$buf number] gone"]
  314. < See also |tcl-window-delcmd|.
  315. $buf delete {n} *tcl-buffer-delete*
  316. $buf delete {n} {m}
  317. Deletes line {n} or lines {n} through {m} from the buffer.
  318. This example deletes everything except the last line: >
  319. $buf delete first [expr [$buf last] - 1]
  320. <
  321. $buf get {n} *tcl-buffer-get*
  322. $buf get {n} {m}
  323. Gets one or more lines from the buffer. For a single line, the result
  324. is a string; for several lines, a list of strings.
  325. Example: >
  326. set topline [$buf get top]
  327. <
  328. $buf last *tcl-buffer-last*
  329. Reports the line number of the last line. This value depends on the
  330. "::vim::lbase" variable. See |tcl-var-lbase|.
  331. $buf mark {mark} *tcl-buffer-mark*
  332. Reports the position of the named mark as a string, similar to the
  333. cursor position of the "cursor" option of a window command (see
  334. |tcl-window-cursor|). This can be converted to a Tcl array variable: >
  335. array set mpos [$buf mark "a"]
  336. < "mpos(column)" and "mpos(row)" now contain the position of the mark.
  337. If the mark is not set, a standard Tcl error results.
  338. $buf name
  339. Reports the name of the file in the buffer. For a buffer without a
  340. file, this is an empty string.
  341. $buf number
  342. Reports the number of this buffer. See |:buffers|.
  343. This example deletes a buffer from vim: >
  344. ::vim::command "bdelete [$buf number]"
  345. <
  346. $buf set {n} {string} *tcl-buffer-set*
  347. $buf set {n} {m} {list}
  348. Replace one or several lines in the buffer. If the list contains more
  349. elements than there are lines to replace, they are inserted into the
  350. buffer. If the list contains fewer elements, any unreplaced line is
  351. deleted from the buffer.
  352. $buf windows *tcl-buffer-windows*
  353. Creates a window command for each window that displays this buffer, and
  354. returns a list of the command names as the result.
  355. Example: >
  356. set winlist [$buf windows]
  357. foreach win $winlist { $win height 4 }
  358. < See |tcl-window-cmds| for the available options.
  359. $buf command [-quiet] {cmd} *tcl-buffer-command*
  360. $buf expr {expr} *tcl-buffer-expr*
  361. $buf option {opt} [val] *tcl-buffer-option*
  362. These are similar to "::vim::command" etc., except that everything is
  363. done in the context of the buffer represented by $buf, instead of the
  364. current buffer. For example, setting an option that is marked 'local
  365. to buffer' affects the buffer $buf. Anything that affects or queries
  366. a window uses the first window in vim's window list that displays this
  367. buffer (i.e. the first entry in the list returned by "$buf windows").
  368. See |tcl-command|, |tcl-expr| and |tcl-option| for more information.
  369. Example: >
  370. if { [$buf option modified] } { $buf command "w" }
  371. ==============================================================================
  372. 6. Miscellaneous; Output from Tcl *tcl-misc* *tcl-output*
  373. The standard Tcl commands "exit" and "catch" are replaced by custom versions.
  374. "exit" terminates the current Tcl script and returns to vim, which deletes the
  375. Tcl interpreter. Another call to ":tcl" then creates a new Tcl interpreter.
  376. "exit" does NOT terminate vim! "catch" works as before, except that it does
  377. not prevent script termination from "exit". An exit code != 0 causes the ex
  378. command that invoked the Tcl script to return an error.
  379. Two new I/O streams are available in Tcl, "vimout" and "vimerr". All output
  380. directed to them is displayed in the vim message area, as information messages
  381. and error messages, respectively. The standard Tcl output streams stdout and
  382. stderr are mapped to vimout and vimerr, so that a normal "puts" command can be
  383. used to display messages in vim.
  384. ==============================================================================
  385. 7. Known bugs & problems *tcl-bugs*
  386. Calling one of the Tcl Ex commands from inside Tcl (via "::vim::command") may
  387. have unexpected side effects. The command creates a new interpreter, which
  388. has the same abilities as the standard interpreter - making "::vim::command"
  389. available in a safe child interpreter therefore makes the child unsafe. (It
  390. would be trivial to block nested :tcl* calls or ensure that such calls from a
  391. safe interpreter create only new safe interpreters, but quite pointless -
  392. depending on vim's configuration, "::vim::command" may execute arbitrary code
  393. in any number of other scripting languages.) A call to "exit" within this new
  394. interpreter does not affect the old interpreter; it only terminates the new
  395. interpreter, then script processing continues normally in the old interpreter.
  396. Input from stdin is currently not supported.
  397. ==============================================================================
  398. 8. Examples: *tcl-examples*
  399. Here are a few small (and maybe useful) Tcl scripts.
  400. This script sorts the lines of the entire buffer (assume it contains a list
  401. of names or something similar):
  402. set buf $::vim::current(buffer)
  403. set lines [$buf get top bottom]
  404. set lines [lsort -dictionary $lines]
  405. $buf set top bottom $lines
  406. This script reverses the lines in the buffer. Note the use of "::vim::lbase"
  407. and "$buf last" to work with any line number setting.
  408. set buf $::vim::current(buffer)
  409. set t $::vim::lbase
  410. set b [$buf last]
  411. while { $t < $b } {
  412. set tl [$buf get $t]
  413. set bl [$buf get $b]
  414. $buf set $t $bl
  415. $buf set $b $tl
  416. incr t
  417. incr b -1
  418. }
  419. This script adds a consecutive number to each line in the current range:
  420. set buf $::vim::current(buffer)
  421. set i $::vim::range(start)
  422. set n 1
  423. while { $i <= $::vim::range(end) } {
  424. set line [$buf get $i]
  425. $buf set $i "$n\t$line"
  426. incr i ; incr n
  427. }
  428. The same can also be done quickly with two Ex commands, using ":tcldo":
  429. :tcl set n 1
  430. :[range]tcldo set line "$n\t$line" ; incr n
  431. This procedure runs an Ex command on each buffer (idea stolen from Ron Aaron):
  432. proc eachbuf { cmd } {
  433. foreach b [::vim::buffer list] {
  434. $b command $cmd
  435. }
  436. }
  437. Use it like this:
  438. :tcl eachbuf %s/foo/bar/g
  439. Be careful with Tcl's string and backslash substitution, tough. If in doubt,
  440. surround the Ex command with curly braces.
  441. If you want to add some Tcl procedures permanently to vim, just place them in
  442. a file (e.g. "~/.vimrc.tcl" on Unix machines), and add these lines to your
  443. startup file (usually "~/.vimrc" on Unix):
  444. if has("tcl")
  445. tclfile ~/.vimrc.tcl
  446. endif
  447. ==============================================================================
  448. 9. Dynamic loading *tcl-dynamic*
  449. On MS-Windows and Unix the Tcl library can be loaded dynamically. The
  450. |:version| output then includes |+tcl/dyn|.
  451. This means that Vim will search for the Tcl DLL or shared library file only
  452. when needed. When you don't use the Tcl interface you don't need it, thus you
  453. can use Vim without this file.
  454. MS-Windows ~
  455. To use the Tcl interface the Tcl DLL must be in your search path. In a
  456. console window type "path" to see what directories are used. The 'tcldll'
  457. option can be also used to specify the Tcl DLL.
  458. The name of the DLL must match the Tcl version Vim was compiled with.
  459. Currently the name is "tcl86.dll". That is for Tcl 8.6. To know for sure
  460. edit "gvim.exe" and search for "tcl\d*.dll\c".
  461. Unix ~
  462. The 'tcldll' option can be used to specify the Tcl shared library file instead
  463. of DYNAMIC_TCL_DLL file what was specified at compile time. The version of
  464. the shared library must match the Tcl version Vim was compiled with.
  465. ==============================================================================
  466. vim:tw=78:ts=8:noet:ft=help:norl: