aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'vim/autoload')
-rw-r--r--vim/autoload/filetype/repeat.vim (renamed from vim/autoload/filetype.vim)4
-rw-r--r--vim/autoload/mail/header.vim2
2 files changed, 3 insertions, 3 deletions
diff --git a/vim/autoload/filetype.vim b/vim/autoload/filetype/repeat.vim
index 6a66d62e..f681932b 100644
--- a/vim/autoload/filetype.vim
+++ b/vim/autoload/filetype/repeat.vim
@@ -1,6 +1,6 @@
" Helper function to run the 'filetypedetect' group on a file with its
" extension stripped off
-function! filetype#StripRepeat() abort
+function! filetype#repeat#Strip() abort
" Check we have the fnameescape() function
if !exists('*fnameescape')
@@ -33,7 +33,7 @@ endfunction
" Helper function to run the 'filetypedetect' group on a file in a temporary
" sudoedit(8) directory, modifying it with an attempt to reverse the temporary
" filename change
-function! filetype#SudoRepeat() abort
+function! filetype#repeat#Sudo() abort
" Check we have the fnameescape() function
if !exists('*fnameescape')
diff --git a/vim/autoload/mail/header.vim b/vim/autoload/mail/header.vim
index 7a360a2c..5284b84d 100644
--- a/vim/autoload/mail/header.vim
+++ b/vim/autoload/mail/header.vim
@@ -15,7 +15,7 @@ function! mail#header#Read() abort
\ 'body': matchlist[2],
\}
call add(fields, field)
- elseif line =~ '^\s' && exists('field')
+ elseif line =~# '^\s' && exists('field')
let field['body'] .= "\n" . line
elseif line ==# ''
break