aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 21:48:38 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 22:40:39 -0400
commite612a0a76a5c990220113e76ec6a07fe49c28618 (patch)
tree0831806a26fe7f5a14f3691745dde2c8cc397041 /runtime/autoload
parentd894b3da1e4bc0fbb3baf319ca3071cc1d7b7f6c (diff)
downloadrneovim-e612a0a76a5c990220113e76ec6a07fe49c28618.tar.gz
rneovim-e612a0a76a5c990220113e76ec6a07fe49c28618.tar.bz2
rneovim-e612a0a76a5c990220113e76ec6a07fe49c28618.zip
vim-patch:d1caa941d876
Update runtime files https://github.com/vim/vim/commit/d1caa941d876181aae0ebebc6ea954045bf0da24 Cherry-pick error E452 from patch v8.2.0486.
Diffstat (limited to 'runtime/autoload')
-rw-r--r--runtime/autoload/ccomplete.vim4
-rw-r--r--runtime/autoload/dist/ft.vim4
2 files changed, 5 insertions, 3 deletions
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 <Bram@vim.org>
-" 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 <Bram@vim.org>
-" 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