Skip to content

Commit d34e798

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents e14eb0c + 8cb4505 commit d34e798

File tree

317 files changed

+3003
-1400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+3003
-1400
lines changed

.github/MAINTAINERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ nsis/lang/russian.nsi @RestorerZ
1313
runtime/autoload/freebasic.vim @dkearns
1414
runtime/autoload/hare.vim @selenebun
1515
runtime/autoload/hcl.vim @gpanders
16+
runtime/autoload/javascriptcomplete.vim @jsit
1617
runtime/autoload/modula2.vim @dkearns
1718
runtime/autoload/rubycomplete.vim @segfault @dkearns
1819
runtime/autoload/rust.vim @lilyball
@@ -286,6 +287,7 @@ runtime/ftplugin/sed.vim @dkearns
286287
runtime/ftplugin/sh.vim @dkearns
287288
runtime/ftplugin/shaderslang.vim @mTvare6
288289
runtime/ftplugin/slint.vim @ribru17
290+
runtime/ftplugin/sml.vim @tocariimaa
289291
runtime/ftplugin/snakemake.vim @ribru17
290292
runtime/ftplugin/solidity.vim @coti-z
291293
runtime/ftplugin/solution.vim @dkearns
@@ -462,6 +464,7 @@ runtime/syntax/chuck.vim @andreacfromtheapp
462464
runtime/syntax/clojure.vim @axvr
463465
runtime/syntax/codeowners.vim @jparise
464466
runtime/syntax/cs.vim @nickspoons
467+
runtime/syntax/css.vim @jsit
465468
runtime/syntax/csv.vim @habamax
466469
runtime/syntax/cucumber.vim @tpope
467470
runtime/syntax/d.vim @JesseKPhillips

runtime/autoload/dist/ft.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ vim9script
33
# Vim functions for file type detection
44
#
55
# Maintainer: The Vim Project <https://github.com/vim/vim>
6-
# Last Change: 2025 Oct 28
6+
# Last Change: 2025 Nov 11
77
# Former Maintainer: Bram Moolenaar <[email protected]>
88

99
# These functions are moved here from runtime/filetype.vim to make startup
@@ -1659,6 +1659,7 @@ const ft_from_ext = {
16591659
# XA65 MOS6510 cross assembler
16601660
"a65": "a65",
16611661
# Applescript
1662+
"applescript": "applescript",
16621663
"scpt": "applescript",
16631664
# Applix ELF
16641665
"am": "elf",
@@ -2570,6 +2571,8 @@ const ft_from_ext = {
25702571
"builder": "ruby",
25712572
"rxml": "ruby",
25722573
"rjs": "ruby",
2574+
# Sorbet (Ruby typechecker)
2575+
"rbi": "ruby",
25732576
# Rust
25742577
"rs": "rust",
25752578
# S-lang
@@ -2998,6 +3001,8 @@ const ft_from_name = {
29983001
"apt.conf": "aptconf",
29993002
# BIND zone
30003003
"named.root": "bindzone",
3004+
# Brewfile (uses Ruby syntax)
3005+
"Brewfile": "ruby",
30013006
# Busted (Lua unit testing framework - configuration files)
30023007
".busted": "lua",
30033008
# Bun history

runtime/autoload/sqlcomplete.vim

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
44
" Version: 16.0
55
" Last Change: 2017 Oct 15
6+
" 2025 Nov 11 by Vim project: only set 'omnifunc' if dbext script was loaded #18716
67
" Homepage: http://www.vim.org/scripts/script.php?script_id=1572
78
" Usage: For detailed help
89
" ":help sql.txt"
@@ -98,12 +99,11 @@
9899
" Set completion with CTRL-X CTRL-O to autoloaded function.
99100
" This check is in place in case this script is
100101
" sourced directly instead of using the autoload feature.
101-
if exists('&omnifunc')
102-
" Do not set the option if already set since this
103-
" results in an E117 warning.
104-
if &omnifunc == ""
105-
setlocal omnifunc=sqlcomplete#Complete
106-
endif
102+
"
103+
" Do not set the option if already set since this
104+
" results in an E117 warning.
105+
if exists('&omnifunc') && &omnifunc == "" && exists('g:loaded_dbext')
106+
setlocal omnifunc=sqlcomplete#Complete
107107
endif
108108

109109
if exists('g:loaded_sql_completion')

runtime/compiler/cppcheck.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" vim compiler file
22
" Compiler: cppcheck (C++ static checker)
33
" Maintainer: Vincent B. ([email protected])
4-
" Last Change: 2024 Nov 19 by @Konfekt
4+
" Last Change: 2025 Nov 06 by @Konfekt
55

66
if exists("current_compiler") | finish | endif
77
let current_compiler = "cppcheck"
@@ -18,14 +18,14 @@ if !exists('g:c_cppcheck_params')
1818
let s:undo_compiler = 'unlet! g:c_cppcheck_params'
1919
endif
2020

21-
let &l:makeprg = 'cppcheck --quiet'
21+
exe 'CompilerSet makeprg=' .. escape('cppcheck --quiet'
2222
\ ..' --template="{file}:{line}:{column}: {severity}: [{id}] {message} {callstack}"'
2323
\ ..' '..get(b:, 'c_cppcheck_params', get(g:, 'c_cppcheck_params', (&filetype ==# 'cpp' ? ' --language=c++' : '')))
2424
\ ..' '..get(b:, 'c_cppcheck_includes', get(g:, 'c_cppcheck_includes',
2525
\ (filereadable('compile_commands.json') ? '--project=compile_commands.json' :
2626
\ (!empty(glob('*'..s:slash..'compile_commands.json', 1, 1)) ? '--project='..glob('*'..s:slash..'compile_commands.json', 1, 1)[0] :
27-
\ (empty(&path) ? '' : '-I')..join(map(filter(split(&path, ','), 'isdirectory(v:val)'),'shellescape(v:val)'), ' -I')))))
28-
exe 'CompilerSet makeprg='..escape(&l:makeprg, ' \|"')
27+
\ (empty(&path) ? '' : '-I')..join(map(filter(split(&path, ','), 'isdirectory(v:val)'),'shellescape(v:val)'), ' -I'))))),
28+
\ ' \|"')
2929

3030
CompilerSet errorformat=
3131
\%f:%l:%c:\ %tarning:\ %m,

runtime/compiler/mypy.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim compiler file
22
" Compiler: Mypy (Python static checker)
33
" Maintainer: @Konfekt
4-
" Last Change: 2024 Nov 19
4+
" Last Change: 2025 Nov 06
55

66
if exists("current_compiler") | finish | endif
77
let current_compiler = "mypy"
@@ -10,9 +10,9 @@ let s:cpo_save = &cpo
1010
set cpo&vim
1111

1212
" CompilerSet makeprg=mypy
13-
let &l:makeprg = 'mypy --show-column-numbers '
14-
\ ..get(b:, 'mypy_makeprg_params', get(g:, 'mypy_makeprg_params', '--strict --ignore-missing-imports'))
15-
exe 'CompilerSet makeprg='..escape(&l:makeprg, ' \|"')
13+
exe 'CompilerSet makeprg=' .. escape('mypy --show-column-numbers '
14+
\ ..get(b:, 'mypy_makeprg_params', get(g:, 'mypy_makeprg_params', '--strict --ignore-missing-imports')),
15+
\ ' \|"')
1616
CompilerSet errorformat=%f:%l:%c:\ %t%*[^:]:\ %m
1717

1818
let &cpo = s:cpo_save

runtime/compiler/pylint.vim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
" Maintainer: Daniel Moch <[email protected]>
44
" Last Change: 2024 Nov 07 by The Vim Project (added params variable)
55
" 2024 Nov 19 by the Vim Project (properly escape makeprg setting)
6+
" 2025 Nov 06 by the Vim Project (do not set buffer-local makeprg)
67

78
if exists("current_compiler") | finish | endif
89
let current_compiler = "pylint"
@@ -11,10 +12,10 @@ let s:cpo_save = &cpo
1112
set cpo&vim
1213

1314
" CompilerSet makeprg=ruff
14-
let &l:makeprg = 'pylint ' .
15+
exe 'CompilerSet makeprg=' .. escape('pylint ' .
1516
\ '--output-format=text --msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}" --reports=no ' .
16-
\ get(b:, "pylint_makeprg_params", get(g:, "pylint_makeprg_params", '--jobs=0'))
17-
exe 'CompilerSet makeprg='..escape(&l:makeprg, ' \|"')
17+
\ get(b:, "pylint_makeprg_params", get(g:, "pylint_makeprg_params", '--jobs=0')),
18+
\ ' \|"')
1819
CompilerSet errorformat=%A%f:%l:%c:%t:\ %m,%A%f:%l:\ %m,%A%f:(%l):\ %m,%-Z%p^%.%#,%-G%.%#
1920

2021
let &cpo = s:cpo_save

runtime/compiler/ruff.vim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
" Maintainer: @pbnj-dragon
44
" Last Change: 2024 Nov 07
55
" 2024 Nov 19 by the Vim Project (properly escape makeprg setting)
6+
" 2025 Nov 06 by the Vim Project (do not set buffer-local makeprg)
67

78
if exists("current_compiler") | finish | endif
89
let current_compiler = "ruff"
@@ -11,9 +12,9 @@ let s:cpo_save = &cpo
1112
set cpo&vim
1213

1314
" CompilerSet makeprg=ruff
14-
let &l:makeprg= 'ruff check --output-format=concise '
15-
\ ..get(b:, 'ruff_makeprg_params', get(g:, 'ruff_makeprg_params', '--preview'))
16-
exe 'CompilerSet makeprg='..escape(&l:makeprg, ' \|"')
15+
exe 'CompilerSet makeprg=' .. escape('ruff check --output-format=concise '
16+
\ ..get(b:, 'ruff_makeprg_params', get(g:, 'ruff_makeprg_params', '--preview')),
17+
\ ' \|"')
1718
CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,%f:%l:%c\ -\ %m,%f:
1819

1920
let &cpo = s:cpo_save

runtime/compiler/tombi.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim compiler file
22
" Language: TOML
33
" Maintainer: Konfekt
4-
" Last Change: 2025 Oct 28
4+
" Last Change: 2025 Oct 29
55

66
if exists("current_compiler") | finish | endif
77
let current_compiler = "tombi"
@@ -44,7 +44,7 @@ if s:tombi_nocolor
4444
if &shell =~# '\v<%(cmd|cmd)>'
4545
CompilerSet makeprg=set\ NO_COLOR=1\ &&\ tombi\ lint
4646
elseif &shell =~# '\v<%(powershell|pwsh)>'
47-
CompilerSet makeprg=$env:NO_COLOR="1";\ tombi\ lint
47+
CompilerSet makeprg=$env:NO_COLOR=\"1\";\ tombi\ lint
4848
else
4949
echoerr "tombi compiler: Unsupported shell for Windows"
5050
endif

runtime/doc/arabic.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
*arabic.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*arabic.txt* For Vim version 9.1. Last change: 2025 Nov 09
22

33

4-
VIM REFERENCE MANUAL by Nadim Shaikli
4+
VIM REFERENCE MANUAL by Nadim Shaikli
55

66

77
Arabic Language support (options & mappings) for Vim *Arabic*

runtime/doc/autocmd.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
*autocmd.txt* For Vim version 9.1. Last change: 2025 Oct 12
1+
*autocmd.txt* For Vim version 9.1. Last change: 2025 Nov 09
22

33

4-
VIM REFERENCE MANUAL by Bram Moolenaar
4+
VIM REFERENCE MANUAL by Bram Moolenaar
55

66

77
Automatic commands *autocommand* *autocommands*

0 commit comments

Comments
 (0)