Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/vim-8.2.3635/src/
H A Duninstall.c199 batfile_thisversion(char *path) in batfile_thisversion() argument
206 fd = fopen(path, "r"); in batfile_thisversion()
274 char path[BUFSIZE]; in remove_icons() local
285 char path[BUFSIZE]; in remove_start_menu() local
293 remove_if_exists(path, "uninstall.lnk"); in remove_start_menu()
294 remove_if_exists(path, "Help.lnk"); in remove_start_menu()
299 if (stat(path, &st) == 0) in remove_start_menu()
301 printf("removing %s\n", path); in remove_start_menu()
302 rmdir(path); in remove_start_menu()
321 char path[MAX_PATH]; in main() local
[all …]
H A Dfindfile.c301 char_u *path, in vim_findfile_init() argument
361 && (vim_ispathsep(path[1]) || path[1] == NUL) in vim_findfile_init()
378 ++path; in vim_findfile_init()
380 else if (*path == NUL || !vim_isAbsName(path)) in vim_findfile_init()
384 if (*path != NUL && path[1] == ':') in vim_findfile_init()
393 path += 2; in vim_findfile_init()
407 if ((*path == '/' || *path == '\\') in vim_findfile_init()
408 && path[1] != path[0] in vim_findfile_init()
487 search_ctx->ffsc_fix_path = vim_strnsave(path, wc_part - path); in vim_findfile_init()
2478 is_in_curdir = fnamencmp(curdir, path, dir_end - path) == 0 in uniquefy_paths()
[all …]
H A Ddosinst.h434 mch_chdir(char *path) in mch_chdir() argument
436 if (path[0] == NUL) // just checking... in mch_chdir()
438 if (path[1] == ':') // has a drive name in mch_chdir()
440 if (change_drive(mytoupper(path[0]) - 'A' + 1)) in mch_chdir()
442 path += 2; in mch_chdir()
444 if (*path == NUL) // drive name only in mch_chdir()
446 return chdir(path); // let the normal chdir() do the rest in mch_chdir()
467 remove_tail(char *path) in remove_tail() argument
471 for (i = strlen(path) - 1; i > 0; --i) in remove_tail()
472 if (path[i] == '/' || path[i] == '\\') in remove_tail()
[all …]
H A Dfilepath.c973 path = p; in findfilendir()
991 0, first, path, in findfilendir()
1633 char_u *path; in f_readdir() local
1687 char_u *path; in f_readdirex() local
2873 if (isalpha(path[0]) && path[1] == ':') in get_past_head()
2876 retval = path; in get_past_head()
2882 retval = path; in get_past_head()
2884 retval = path; in get_past_head()
3336 char_u *path, in dos_expandpath() argument
3551 char_u *path, in mch_expandpath() argument
[all …]
/vim-8.2.3635/src/testdir/
H A Dtest_find_complete.vim17 set path=
22 set path=.
27 set path=.,,
32 set path=./**
46 set path=Xfind/**
67 set path+=Xfind/**
78 set path=.
85 set path=,,
142 set path=./path
150 set path=.,,
[all …]
H A Dtest_findfile.vim32 let save_path = &path
41 set path=,,
50 set path=.
118 let &path = save_path
132 let save_path = &path
135 set path=,,
175 let &path = save_path
190 let save_path = &path
192 set path=.,./**/*
223 let &path = save_path
[all …]
H A Dtest_checkpath.vim12 set path=Xdir1/dir2
15 \ '--- Included files in path ---',
27 set path&
46 set path=Xdir1/dir2
49 \ '--- Included files in path ---',
61 set path&
86 set path=Xdir1/dir2
89 \ '--- Included files in path ---',
101 set path&
H A Dtest_cd.vim12 let path = getcwd()
14 call assert_notequal(path, getcwd())
15 exe 'cd ' .. fnameescape(path)
16 call assert_equal(path, getcwd())
22 let path = getcwd()
25 call assert_notequal(path, getcwd())
26 exe 'cd ' .. fnameescape(path)
27 call assert_equal(path, getcwd())
36 let path = getcwd()
41 call assert_equal(path, getcwd())
[all …]
H A Dtest_visual.vim1153 call setline(1, ['/path;text', '/path;text', '/path;text', '',
1159 …call assert_equal(['/path/subdir;text', '/path/longsubdir;text', '/path/longlongsubdir;text'], get…
1162 call setline(1, ['/path;text', '/path;text', '/path;text', '',
1168 …call assert_equal(['/path/subdir;text', '/path/longsubdir;text', '/path/longlongsubdir;text'], get…
1176 call setline(1, ['/path;text', '/path;text', '/path;text', '',
1182 …call assert_equal(['/path/subdir;text', '/path/longsubdir;text', '/path/longlongsubdir;text'], get…
1186 call setline(1, ['/path;text', '/path;text', '/path;text', '',
1192 …call assert_equal(['/path/subdir;text', '/path/longsubdir;text', '/path/longlongsubdir;text'], get…
1196 call setline(1, ['/path;text', '/path;text', '/path;text', '',
1206 call setline(1, ['/path;text', '/path;text', '/path;text', '',
[all …]
H A Dtest_filetype.vim625 \ 'zsh': [['#!/path/zsh']],
626 \ 'tcl': [['#!/path/tclsh'],
627 \ ['#!/path/wish'],
634 \ 'pike': [['#!/path/pike'],
637 \ 'lua': [['#!/path/lua']],
640 \ 'php': [['#!/path/php']],
650 \ 'bc': [['#!/path/bc']],
651 \ 'sed': [['#!/path/sed']],
653 \ 'awk': [['#!/path/awk'],
654 \ ['#!/path/gawk']],
[all …]
/vim-8.2.3635/runtime/autoload/
H A Dcontext.vim84 function! context#callback(path, job, status) argument
88 call s:callback(a:path, a:job, a:status)
95 function! s:typeset(path) argument
100 \ [a:path]),
115 function! context#callback(path, job, status) argument
116 call s:callback(a:path, a:job, a:status)
119 function! s:typeset(path) argument
122 \ [a:path, 0, v:shell_error])
127 function! s:callback(path, job, status) abort argument
167 " the path of the current buffer.
[all …]
H A Drust.vim211 " 'path' - The path to the file
218 " {dict.path} may be a path to a file inside of {dict.tmpdir} or it may be the
219 " existing path of the current buffer. If the path is inside of {dict.tmpdir}
228 let dict.path = expand('%')
229 let pathisempty = empty(dict.path)
244 let dict.path = dict.tmpdir.'/'.filename
341 function! s:RmDir(path) argument
343 if empty(a:path)
344 echoerr 'Attempted to delete empty path'
346 elseif a:path == '/' || a:path == $HOME
[all …]
/vim-8.2.3635/runtime/ftplugin/
H A Dperl.vim59 " If we can't call perl to get its path, just default to using the
65 " Append perlpath to the existing path value, if it is set. Since we don't
68 if &l:path == ""
69 if &g:path == ""
70 let &l:path=perlpath
72 let &l:path=&g:path.",".perlpath
75 let &l:path=&l:path.",".perlpath
80 let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isk< isf< kp< path<" .
H A Dawk.vim40 let path = system("gawk 'BEGIN { printf ENVIRON[\"AWKPATH\"] }'") variable
41 let path = substitute(path, '^\.\=:\|:\.\=$\|:\.\=:', ',,', 'g') " POSIX cwd variable
42 let path = substitute(path, ':', ',', 'g') variable
44 let &l:path = path
45 let b:undo_ftplugin .= " | setl inc< path<"
H A Dgit.vim29 let &l:path = escape(fnamemodify(b:git_dir,':h'),'\, ').','.&l:path
31 let &l:path = escape(b:git_dir,'\, ').','.&l:path
41 let b:undo_ftplugin = "setl keywordprg< path< includeexpr<"
H A Draku.vim51 let &l:path = "lib,."
53 let &l:path = &l:path . "," . $RAKULIB
55 let &l:path = &l:path . "," . join(
122 let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isf< isk< kp< path<" .
H A Deruby.vim82 let s:path = &l:path
102 let &l:path = s:path . (s:path =~# ',$\|^$' ? '' : ',') . &l:path
106 unlet s:cfilemap s:ctagmap s:include s:path s:suffixesadd
H A Dchangelog.vim100 function! s:try_reading_file(path) argument
102 return readfile(a:path)
260 let path = expand('%:p:h')
269 while isdirectory(path)
270 let changelog = path . '/' . name
274 let parent = substitute(path, '/\+[^/]*$', "", "")
275 if path == parent
278 let path = parent
288 let prefix = substitute(strpart(expand('%:p'), strlen(path)), '^/\+', "", "")
H A Djava.vim20 " name to / and append .java to the name, then search the path.
24 let &l:path=g:ftplugin_java_source_path . ',' . &l:path
46 \ " formatoptions< comments< commentstring< path< includeexpr<" .
/vim-8.2.3635/runtime/spell/en/
H A Dmain.aap4 @if os.path.exists('../../../src/vim'):
71 @if not os.path.exists('en_US.orig.aff'):
73 @if not os.path.exists('en_US.orig.dic'):
75 @if os.path.exists('en_US.diff'):
83 @if not os.path.exists('en_AU.orig.aff'):
85 @if not os.path.exists('en_AU.orig.dic'):
87 @if os.path.exists('en_AU.diff'):
95 @if not os.path.exists('en_CA.orig.aff'):
99 @if os.path.exists('en_CA.diff'):
112 @if os.path.exists('en_GB.diff'):
[all …]
/vim-8.2.3635/runtime/spell/ru/
H A Dmain.aap4 @if os.path.exists('../../../src/vim'):
46 @if not os.path.exists('ru_RU.orig.aff'):
48 @if not os.path.exists('ru_RU.orig.dic'):
50 @if os.path.exists('ru_RU.diff'):
61 @if not os.path.exists('ru_YO.orig.aff'):
63 @if not os.path.exists('ru_YO.orig.dic'):
65 @if os.path.exists('ru_YO.diff'):
/vim-8.2.3635/runtime/spell/es/
H A Dmain.aap4 @if os.path.exists('../../../src/vim'):
53 @if not os.path.exists('es_ES.orig.aff'):
55 @if not os.path.exists('es_ES.orig.dic'):
57 @if os.path.exists('es_ES.diff'):
67 @if not os.path.exists('es_MX.orig.aff'):
69 @if not os.path.exists('es_MX.orig.dic'):
71 @if os.path.exists('es_MX.diff'):
/vim-8.2.3635/runtime/doc/
H A Dos_mac.txt38 Starting with Vim version 7 you can just use the unix path separators with
43 If the path start by a "/", the path is absolute
44 If the path start by a ":", the path is relative
45 If the path doesn't start by neither a "/" nor ":",
46 and a ":" is found before a "/" then the path is absolute
107 let s:path = system("echo echo VIMPATH'${PATH}' | $SHELL -l")
108 let $PATH = matchstr(s:path, 'VIMPATH\zs.\{-}\ze\n')
/vim-8.2.3635/runtime/spell/sr/
H A Dmain.aap4 @if os.path.exists('../../../src/vim'):
57 @if not os.path.exists('sr_RS.orig.aff'):
59 @if not os.path.exists('sr_RS.orig.dic'):
61 @if os.path.exists('sr_RS.diff'):
81 @if not os.path.exists('[email protected]'):
83 @if not os.path.exists('[email protected]'):
85 @if os.path.exists('[email protected]'):
/vim-8.2.3635/runtime/spell/pt/
H A Dmain.aap5 @if os.path.exists('../../../src/vim'):
65 @if not os.path.exists('pt_PT.orig.aff'):
67 @if not os.path.exists('pt_PT.orig.dic'):
69 @if os.path.exists('pt_PT.diff'):
88 @if not os.path.exists('pt_BR.orig.aff'):
90 @if not os.path.exists('pt_BR.orig.dic'):
92 @if os.path.exists('pt_BR.diff'):

12345678910>>...14