From e612a0a76a5c990220113e76ec6a07fe49c28618 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 27 Apr 2021 21:48:38 -0400 Subject: vim-patch:d1caa941d876 Update runtime files https://github.com/vim/vim/commit/d1caa941d876181aae0ebebc6ea954045bf0da24 Cherry-pick error E452 from patch v8.2.0486. --- runtime/autoload/ccomplete.vim | 4 +++- runtime/autoload/dist/ft.vim | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'runtime/autoload') diff --git a/runtime/autoload/ccomplete.vim b/runtime/autoload/ccomplete.vim index 156b3af025..971e7367ce 100644 --- a/runtime/autoload/ccomplete.vim +++ b/runtime/autoload/ccomplete.vim @@ -1,7 +1,7 @@ " Vim completion script " Language: C " Maintainer: Bram Moolenaar -" Last Change: 2018 Aug 20 +" Last Change: 2020 Apr 08 let s:cpo_save = &cpo set cpo&vim @@ -635,3 +635,5 @@ endfunc let &cpo = s:cpo_save unlet s:cpo_save + +" vim: noet sw=2 sts=2 diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim index d9632ffdc7..91f9585669 100644 --- a/runtime/autoload/dist/ft.vim +++ b/runtime/autoload/dist/ft.vim @@ -1,7 +1,7 @@ " Vim functions for file type detection " " Maintainer: Bram Moolenaar -" Last Change: 2020 Jan 02 +" Last Change: 2020 Mar 30 " These functions are moved here from runtime/filetype.vim to make startup " faster. @@ -325,7 +325,7 @@ endfunc func dist#ft#FTmm() let n = 1 - while n < 10 + while n < 20 let line = getline(n) if line =~ '^\s*\(#\s*\(include\|import\)\>\|@import\>\|/\*\)' setf objcpp -- cgit