diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/autoload/detect_indent.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/autoload/detect_indent.vim b/vim/autoload/detect_indent.vim index 28d379c3..71a43e87 100644 --- a/vim/autoload/detect_indent.vim +++ b/vim/autoload/detect_indent.vim @@ -1,10 +1,10 @@ " Numeric comparison function to sort in a Vim v7.0 compatible way -function s:CompareNumeric(a, b) +function! s:CompareNumeric(a, b) abort return a:a > a:b ? 1 : -1 endfunction " Entry point for plugin -function detect_indent#() abort +function! detect_indent#() abort " For spaces, we count both the total space-indented lines, and also the " count of lines indexed by space count, so that if we need to, we can |