mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:partial 1588bc8ebee2 (#17656)
Update runtime files
1588bc8ebe
omit: doc updates
This commit is contained in:
parent
205b3765f2
commit
a681b5eaca
2
runtime/autoload/dist/ft.vim
vendored
2
runtime/autoload/dist/ft.vim
vendored
@ -1,7 +1,7 @@
|
|||||||
" Vim functions for file type detection
|
" Vim functions for file type detection
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2022 Feb 22
|
" Last Change: 2022 Mar 05
|
||||||
|
|
||||||
" These functions are moved here from runtime/filetype.vim to make startup
|
" These functions are moved here from runtime/filetype.vim to make startup
|
||||||
" faster.
|
" faster.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: Jest
|
" Compiler: Jest
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2018 May 15
|
" Last Change: 2021 Nov 20
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@ -15,12 +15,14 @@ endif
|
|||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
" CompilerSet makeprg=npx\ jest\ --no-colors
|
" CompilerSet makeprg=npx\ --no-install\ jest\ --no-colors
|
||||||
|
|
||||||
CompilerSet makeprg=jest\ --no-colors
|
CompilerSet makeprg=jest\ --no-colors
|
||||||
CompilerSet errorformat=%E\ \ ●\ %m,
|
CompilerSet errorformat=%-A\ \ ●\ Console,
|
||||||
|
\%E\ \ ●\ %m,
|
||||||
\%Z\ %\\{4}%.%#Error:\ %f:\ %m\ (%l:%c):%\\=,
|
\%Z\ %\\{4}%.%#Error:\ %f:\ %m\ (%l:%c):%\\=,
|
||||||
\%Z\ %\\{6}at\ %\\S%#\ (%f:%l:%c),
|
\%Z\ %\\{6}at\ %\\S%#\ (%f:%l:%c),
|
||||||
|
\%Z\ %\\{6}at\ %\\S%#\ %f:%l:%c,
|
||||||
\%+C\ %\\{4}%\\w%.%#,
|
\%+C\ %\\{4}%\\w%.%#,
|
||||||
\%+C\ %\\{4}%[-+]%.%#,
|
\%+C\ %\\{4}%[-+]%.%#,
|
||||||
\%-C%.%#,
|
\%-C%.%#,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: SML/NJ Compiler
|
" Compiler: SML/NJ Compiler
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2020 Feb 10
|
" Last Change: 2022 Feb 09
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@ -16,10 +16,10 @@ let s:cpo_save = &cpo
|
|||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
CompilerSet makeprg=sml
|
CompilerSet makeprg=sml
|
||||||
CompilerSet errorformat=%f:%l.%c-%\\d%\\+.%\\d%\\+\ %trror:\ %m,
|
CompilerSet errorformat=%f:%l.%c-%e.%k\ %trror:\ %m,
|
||||||
\%f:%l.%c\ %trror:\ %m,
|
\%f:%l.%c\ %trror:\ %m,
|
||||||
\%trror:\ %m
|
\%trror:\ %m,
|
||||||
\%f:%l.%c-%\\d%\\+.%\\d%\\+\ %tarning:\ %m,
|
\%f:%l.%c-%e.%k\ %tarning:\ %m,
|
||||||
\%f:%l.%c\ %tarning:\ %m,
|
\%f:%l.%c\ %tarning:\ %m,
|
||||||
\%tarning:\ %m,
|
\%tarning:\ %m,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: ant
|
" Language: ant
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: aspvbs
|
" Language: aspvbs
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: config
|
" Language: config
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: csc
|
" Language: csc
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: csh
|
" Language: csh
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Previous Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
" Previous Maintainer: Dan Sharp
|
||||||
" Contributor: Johannes Zellner <johannes@zellner.org>
|
" Contributor: Johannes Zellner <johannes@zellner.org>
|
||||||
" Last Change: 2021 Oct 15
|
" Last Change: 2021 Oct 15
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: dtd
|
" Language: dtd
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: html
|
" Language: html
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Java
|
" Language: Java
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Change: 2012 Mar 11
|
" Last Change: 2012 Mar 11
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: jsp
|
" Language: jsp
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Pascal
|
" Language: Pascal
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Previous Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
" Previous Maintainer: Dan Sharp
|
||||||
" Last Change: 2021 Apr 23
|
" Last Change: 2021 Apr 23
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: php
|
" Language: php
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: sgml
|
" Language: sgml
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: sh
|
" Language: sh
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: svg
|
" Language: svg
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: tcsh
|
" Language: tcsh
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Previous Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
" Previous Maintainer: Dan Sharp
|
||||||
" Last Change: 2021 Oct 15
|
" Last Change: 2021 Oct 15
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: xhtml
|
" Language: xhtml
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
" Maintainer: Christian Brabandt <cb@256bit.org>
|
" Maintainer: Christian Brabandt <cb@256bit.org>
|
||||||
" Last Changed: Dec 07th, 2018
|
" Last Changed: Dec 07th, 2018
|
||||||
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
" Repository: https://github.com/chrisbra/vim-xml-ftplugin
|
||||||
" Previous Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
" Previous Maintainer: Dan Sharp
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: xsd
|
" Language: xsd
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: xslt
|
" Language: xslt
|
||||||
" Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net>
|
"
|
||||||
|
" This runtime file is looking for a new maintainer.
|
||||||
|
"
|
||||||
|
" Former maintainer: Dan Sharp
|
||||||
" Last Changed: 20 Jan 2009
|
" Last Changed: 20 Jan 2009
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/ftplugin
|
|
||||||
|
|
||||||
if exists("b:did_ftplugin") | finish | endif
|
if exists("b:did_ftplugin") | finish | endif
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: Vim script
|
" Language: Vim script
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2022 Feb 23
|
" Last Change: 2022 Mar 01
|
||||||
|
|
||||||
" Only load this indent file when no other was loaded.
|
" Only load this indent file when no other was loaded.
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
@ -105,7 +105,7 @@ function GetVimIndentIntern()
|
|||||||
" terminated dict.
|
" terminated dict.
|
||||||
" ":function" starts a block but "function(" doesn't.
|
" ":function" starts a block but "function(" doesn't.
|
||||||
if prev_text !~ '^\s*au\%[tocmd]' && prev_text !~ '^\s*{.*}'
|
if prev_text !~ '^\s*au\%[tocmd]' && prev_text !~ '^\s*{.*}'
|
||||||
let i = match(prev_text, '\(^\||\)\s*\(export\s\+\)\?\({\|\(if\|wh\%[ile]\|for\|try\|cat\%[ch]\|fina\|finall\%[y]\|def\|el\%[seif]\)\>\|fu\%[nction]\s\)')
|
let i = match(prev_text, '\(^\||\)\s*\(export\s\+\)\?\({\|\(if\|wh\%[ile]\|for\|try\|cat\%[ch]\|fina\|finall\%[y]\|def\|el\%[seif]\)\>\|fu\%[nction][! ]\)')
|
||||||
if i >= 0
|
if i >= 0
|
||||||
let ind += shiftwidth()
|
let ind += shiftwidth()
|
||||||
if strpart(prev_text, i, 1) == '|' && has('syntax_items')
|
if strpart(prev_text, i, 1) == '|' && has('syntax_items')
|
||||||
|
@ -569,9 +569,9 @@ func! s:XxdConv()
|
|||||||
%!mc vim:xxd
|
%!mc vim:xxd
|
||||||
else
|
else
|
||||||
call s:XxdFind()
|
call s:XxdFind()
|
||||||
exe '%!' . g:xxdprogram
|
exe ':%!' . g:xxdprogram
|
||||||
endif
|
endif
|
||||||
if getline(1) =~ "^0000000:" " only if it worked
|
if getline(1) =~ "^00000000:" " only if it worked
|
||||||
set ft=xxd
|
set ft=xxd
|
||||||
endif
|
endif
|
||||||
let &mod = mod
|
let &mod = mod
|
||||||
@ -583,7 +583,7 @@ func! s:XxdBack()
|
|||||||
%!mc vim:xxd -r
|
%!mc vim:xxd -r
|
||||||
else
|
else
|
||||||
call s:XxdFind()
|
call s:XxdFind()
|
||||||
exe '%!' . g:xxdprogram . ' -r'
|
exe ':%!' . g:xxdprogram . ' -r'
|
||||||
endif
|
endif
|
||||||
set ft=
|
set ft=
|
||||||
doautocmd filetypedetect BufReadPost
|
doautocmd filetypedetect BufReadPost
|
||||||
|
Loading…
Reference in New Issue
Block a user