Home
last modified time | relevance | path

Searched refs:import (Results 1 – 25 of 181) sorted by relevance

12345678

/vim-8.2.3635/src/testdir/
H A Dtest_vim9_script.vim1199 import {
1315 import *
1331 import * from './Xexport.vim'
1339 import name from './Xexport.vim'
1374 import CONST from './Xexport.vim'
1405 import name './Xexport.vim'
1412 import name from Xexport.vim
1449 import CONST from './Xexport.vim'
1492 import {G} from './Xlib.vim'
2114 mkdir('import', 'p')
[all …]
H A Dtest_pyx3.vim19 import sys
28 pyx import sys
36 pyx import sys
H A Dtest_pyx2.vim19 import sys
28 pyx import sys
36 pyx import sys
H A Dtest_channel.vim1716 let g:job = job_start([s:python, '-c', 'import time;time.sleep(10)'])
1834 let arg = 'import sys;sys.stdout.write("1\n2\n3")'
1848 let arg = 'import sys;sys.stdout.write("1\n2\n3")'
1858 let arg = 'import os,sys;os.close(1);sys.stderr.write("test\n")'
1959 call s:test_list_args('import sys;sys.stdout.write("hello world")', "hello world", 0)
1960 call s:test_list_args('import sys;sys.stdout.write("hello\nworld")', "hello\nworld", 0)
1962 call s:test_list_args('import sys;sys.stdout.write(''hello"world'')', "hello\"world", 0)
1963 call s:test_list_args('import sys;sys.stdout.write(''hello^world'')', "hello^world", 0)
1964 call s:test_list_args('import sys;sys.stdout.write("hello&&world")', "hello&&world", 0)
1971 call s:test_list_args('import sys;sys.stdout.write("hello\tworld")', "hello\tworld", 0)
[all …]
/vim-8.2.3635/runtime/autoload/
H A Dpython3complete.vim13 " Complete basic syntax along with import statements
14 " i.e. "import url<c-x,c-o>"
39 " * Fixed import handling when flattening scope
94 import sys, tokenize, io, types
95 from token import NAME, DEDENT, NEWLINE, STRING
106 import vim
301 if l.startswith('import'): str += l+'\n'
306 if not l.startswith('import'): str += l+'\n'
557 elif token == 'import':
560 loc = "import %s" % mod
[all …]
H A Dpythoncomplete.vim11 " Complete basic syntax along with import statements
12 " i.e. "import url<c-x,c-o>"
37 " * Fixed import handling when flattening scope
92 import sys, tokenize, cStringIO, types
93 from token import NAME, DEDENT, NEWLINE, STRING
104 import vim
319 if l.startswith('import'): str += l+'\n'
324 if not l.startswith('import'): str += l+'\n'
575 elif token == 'import':
578 loc = "import %s" % mod
[all …]
/vim-8.2.3635/runtime/syntax/
H A Dgpg.vim29 \ export-secret-subkeys fast-import fingerprint
30 \ gen-prime gen-random import import-ownertrust
48 \ export-options group homedir import-options
60 \ allow-secret-key-import always-trust
H A Dgo.vim24 return get(g:, 'go_fold_enable', ['block', 'import', 'varconst', 'package_comment'])
98 syn keyword goImport import contained
224 " import
225 if s:FoldEnable('import')
226 …syn region goImport start='import (' end=')' transparent fold contains=goImport,goSt…
228 …syn region goImport start='import (' end=')' transparent contains=goImport,goString,…
244 " Single-line var, const, and import.
245 syn match goSingleDecl /\%(import\|var\|const\) [^(]\@=/ contains=goImport,goVar,goCon…
H A Dxslt.vim43 syn match xslElement '\%(xsl:\)\@<=import'
44 syn match xslElement '\%(xsl:\)\@<=import-schema'
H A Dclean.vim26 syn region cleanIncludeRegion start="^\s*\(from\|import\|\s\+\(as\|qualified\)\)" end="\n" contains…
27 syn keyword cleanIncludeKeyword contained from import as qualified
H A Delm.vim17 syn keyword elmImport exposing as import module where
33 syn match elmModule "^\(module\|import\)\s\+[A-Z][0-9A-Za-z_'-\.]*\(\s\+as\s\+[A-Z][0-9A-Za-z_'-\.]…
/vim-8.2.3635/runtime/autoload/xml/
H A Dxsl.vim18 \ 'import' : [[], {'href' : []}],
31 …\ 'stylesheet' : [['import', 'attribute-set', 'decimal-format', 'include', 'key', 'namespace-alias…
34 …\ 'transform' : [['import', 'attribute-set', 'decimal-format', 'include', 'key', 'namespace-alias'…
H A Dxsd.vim5 …\ [ 'include', 'import', 'redefine', 'annotation', 'simpleType', 'complexType', 'element', 'attrib…
13 \ 'import' : [
/vim-8.2.3635/runtime/spell/en/
H A Dmain.aap156 @import stat
175 @import stat
194 @import stat
213 @import stat
232 @import stat
/vim-8.2.3635/runtime/doc/
H A Dusr_46.txt10 modules, import and export items and keep the rest local.
31 script file. The exported items can then be used by scripts that import them.
168 best way to do this is to use `:import`. For example: >
170 import Init as NiceInit from 'myNicePlugin.vim'
174 available as script-local item "NiceInit". `:import` always uses the script
H A Dvim9.txt1346 *vim9script* *vim9-export* *vim9-import*
1426 *:import* *:imp* *E1094*
1428 import EXPORTED_CONST from "thatscript.vim"
1429 import MyClass from "myclass.vim"
1431 To import multiple items at the same time: >
1439 import * as That from 'thatscript.vim'
1452 The script name after `import` can be:
1461 Note that "after/import" is not used.
1465 *:import-cycle*
1486 import FilterFunc from "../import/someother.vim"
[all …]
H A Dif_pyth.txt64 There is no need to import sys, it's done by default.
122 :python from vim import *
123 :python from string import upper
136 methods, three constants, and one error object. You need to import the vim
138 :python import vim
346 from imp import find_module, load_module
347 import vim
348 import sys
788 :py3 import sys
811 loaded. The latter makes Python's "import" fail on libraries that expect the
[all …]
/vim-8.2.3635/runtime/indent/
H A Djulia.vim292 return JuliaMatch(a:lnum, getline(a:lnum), '\<\%(import\|using\|export\)\>', indent(a:lnum)) == -1
442 " Additional special case: multiline import/using/export statements
445 " Are we in a multiline import/using/export statement, right below the
459 " if the opening line is not a naked import/using/export statement, use
461 let iind = JuliaMatch(lnum, prevline, '\<import\|using\|export\>', indent(lnum), lim)
473 " Or did we just close a multiline import/using/export statement?
/vim-8.2.3635/runtime/ftplugin/
H A Dspec.vim29 import sys, datetime, shutil, tempfile
30 import vim
33 import rpm
H A Dzimbu.vim117 iabbr <buffer> <expr> import GCUpperSpace("import")
165 \ " | iunabbr <buffer> import" ..
H A Ddebchangelog.vim330 import vim
332 from launchpadlib.launchpad import Launchpad
333 from lazr.restfulclient.errors import HTTPError
/vim-8.2.3635/src/
H A DINSTALLx.txt81 import sys; print sys.exec_prefix
87 import sys; print sys.prefix
93 import sys; print sys.version[:3]
H A Devalvars.c2598 imported_T *import; in eval_variable() local
2601 import = find_imported(p, 0, NULL); in eval_variable()
2604 if (import != NULL) in eval_variable()
2606 if (import->imp_funcname != NULL) in eval_variable()
2615 else if (import->imp_flags & IMP_FLAGS_STAR) in eval_variable()
2628 rettv->vval.v_number = import->imp_sid; in eval_variable()
2635 scriptitem_T *si = SCRIPT_ITEM(import->imp_sid); in eval_variable()
2637 + import->imp_var_vals_idx; in eval_variable()
3256 imported_T *import = find_imported(varname, 0, NULL); in set_var_const() local
3258 if (import != NULL) in set_var_const()
[all …]
H A Dvim9compile.c2608 return import; in find_imported()
2630 return import; in find_imported_in_script()
2647 vim_free(import->imp_name); in free_imported()
3012 imported_T *import; in compile_load_scriptvar() local
3034 if (import != NULL) in compile_load_scriptvar()
3081 import->imp_sid, in compile_load_scriptvar()
3086 generate_PUSHFUNC(cctx, import->imp_funcname, import->imp_type); in compile_load_scriptvar()
3089 import->imp_sid, in compile_load_scriptvar()
3091 import->imp_type); in compile_load_scriptvar()
6370 imported_T *import = in compile_lhs() local
[all …]
/vim-8.2.3635/runtime/autoload/dist/
H A Dft.vim196 if match(lines, '^module\>\|^import\>') > -1
197 " D files often start with a module and/or import statement.
243 if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
285 if line =~ '^\s*\(#\s*\(include\|import\)\>\|@import\>\|//\)'
352 if line =~ '^\s*\(#\s*\(include\|import\)\>\|@import\>\|/\*\)'

12345678