PHP 8.5.2
Preview: scripts.vim Size: 866 B
//usr/share/vim/vim91/scripts.vim

" Vim support file to detect file types in scripts
"
" Maintainer:	The Vim Project <https://github.com/vim/vim>
" Last Change:	2023 Aug 27
" Former Maintainer:	Bram Moolenaar <Bram@vim.org>

" This file is called by an autocommand for every file that has just been
" loaded into a buffer.  It checks if the type of file can be recognized by
" the file contents.  The autocommand is in $VIMRUNTIME/filetype.vim.


" Bail out when a FileType autocommand has already set the filetype.
if did_filetype()
  finish
endif

" Load the user defined scripts file first
" Only do this when the FileType autocommand has not been triggered yet
if exists("myscriptsfile") && filereadable(expand(myscriptsfile))
  execute "source " . myscriptsfile
  if did_filetype()
    finish
  endif
endif

" The main code is in a compiled function for speed.
call dist#script#DetectFiletype()

Directory Contents

Dirs: 16 × Files: 18

Name Size Perms Modified Actions
autoload DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
colors DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
compiler DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
doc DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
ftplugin DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
import DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
indent DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
keymap DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
lang DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
macros DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
pack DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
plugin DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
print DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
spell DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
syntax DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
tutor DIR
- drwxr-xr-x 2026-01-08 12:55:55
Edit Download
1.95 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
1.76 KB lrw-r--r-- 2024-08-27 04:05:12
Edit Download
4.74 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
1.25 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
2.23 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
76.64 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
346 B lrw-r--r-- 2025-09-05 19:44:46
Edit Download
1.17 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
419 B lrw-r--r-- 2025-09-05 19:44:46
Edit Download
1.67 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
820 B lrw-r--r-- 2025-09-05 19:44:46
Edit Download
348 B lrw-r--r-- 2025-09-05 19:44:46
Edit Download
41.16 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
3.41 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
67.38 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
866 B lrw-r--r-- 2025-09-05 19:44:46
Edit Download
39.39 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download
1.40 KB lrw-r--r-- 2025-09-05 19:44:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).