aboutsummaryrefslogtreecommitdiff
path: root/runtime/scripts.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-02 23:18:26 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-04-02 23:59:49 +0200
commitb982f0e654662588053cc7c9b53b7841adf5cf5c (patch)
tree20a04f46ebec715f59adf6122151898cb12de783 /runtime/scripts.vim
parent411d57813740328dbdce3ae237cf68a90ce7ac0e (diff)
downloadrneovim-b982f0e654662588053cc7c9b53b7841adf5cf5c.tar.gz
rneovim-b982f0e654662588053cc7c9b53b7841adf5cf5c.tar.bz2
rneovim-b982f0e654662588053cc7c9b53b7841adf5cf5c.zip
vim-patch:8.0.1285
https://github.com/vim/vim/commit/d09a206ee94ccb653707ce9b6e536d4d58886e04 vim-patch:8.0.0564: cannot detect Bazel BUILD files on some systems
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r--runtime/scripts.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index 24799c4287..18263e2842 100644
--- a/runtime/scripts.vim
+++ b/runtime/scripts.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types in scripts
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2017 Nov 09
+" Last change: 2017 Nov 11
" 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
@@ -66,19 +66,19 @@ if s:line1 =~# "^#!"
" Bourne-like shell scripts: bash bash2 ksh ksh93 sh
if s:name =~# '^\(bash\d*\|\|ksh\d*\|sh\)\>'
- call filetype#SetFileTypeSH(s:line1) " defined in filetype.vim
+ call dist#ft#SetFileTypeSH(s:line1) " defined in filetype.vim
" csh scripts
elseif s:name =~# '^csh\>'
if exists("g:filetype_csh")
- call filetype#SetFileTypeShell(g:filetype_csh)
+ call dist#ft#SetFileTypeShell(g:filetype_csh)
else
- call filetype#SetFileTypeShell("csh")
+ call dist#ft#SetFileTypeShell("csh")
endif
" tcsh scripts
elseif s:name =~# '^tcsh\>'
- call filetype#SetFileTypeShell("tcsh")
+ call dist#ft#SetFileTypeShell("tcsh")
" Z shell scripts
elseif s:name =~# '^zsh\>'
@@ -185,7 +185,7 @@ else
" Bourne-like shell scripts: sh ksh bash bash2
if s:line1 =~# '^:$'
- call filetype#SetFileTypeSH(s:line1) " defined in filetype.vim
+ call dist#ft#SetFileTypeSH(s:line1) " defined in filetype.vim
" Z shell scripts
elseif s:line1 =~# '^#compdef\>' || s:line1 =~# '^#autoload\>' ||