/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ 'use strict'; export var conf = { brackets: [ ['{', '}'], ['[', ']'], ['(', ')'] ], autoClosingPairs: [ { open: '{', close: '}' }, { open: '[', close: ']' }, { open: '(', close: ')' }, { open: '"', close: '"' }, { open: '\'', close: '\'' }, ], surroundingPairs: [ { open: '{', close: '}' }, { open: '[', close: ']' }, { open: '(', close: ')' }, { open: '"', close: '"' }, { open: '\'', close: '\'' }, ] }; export var language = { tokenPostfix: '.tcl', specialFunctions: [ 'set', 'unset', 'rename', 'variable', 'proc', 'coroutine', 'foreach', 'incr', 'append', 'lappend', 'linsert', 'lreplace' ], mainFunctions: [ 'if', 'then', 'elseif', 'else', 'case', 'switch', 'while', 'for', 'break', 'continue', 'return', 'package', 'namespace', 'catch', 'exit', 'eval', 'expr', 'uplevel', 'upvar' ], builtinFunctions: [ 'file', 'info', 'concat', 'join', 'lindex', 'list', 'llength', 'lrange', 'lsearch', 'lsort', 'split', 'array', 'parray', 'binary', 'format', 'regexp', 'regsub', 'scan', 'string', 'subst', 'dict', 'cd', 'clock', 'exec', 'glob', 'pid', 'pwd', 'close', 'eof', 'fblocked', 'fconfigure', 'fcopy', 'fileevent', 'flush', 'gets', 'open', 'puts', 'read', 'seek', 'socket', 'tell', 'interp', 'after', 'auto_execok', 'auto_load', 'auto_mkindex', 'auto_reset', 'bgerror', 'error', 'global', 'history', 'load', 'source', 'time', 'trace', 'unknown', 'unset', 'update', 'vwait', 'winfo', 'wm', 'bind', 'event', 'pack', 'place', 'grid', 'font', 'bell', 'clipboard', 'destroy', 'focus', 'grab', 'lower', 'option', 'raise', 'selection', 'send', 'tk', 'tkwait', 'tk_bisque', 'tk_focusNext', 'tk_focusPrev', 'tk_focusFollowsMouse', 'tk_popup', 'tk_setPalette' ], symbols: /[=>