Skip to content

Commit 9b03d3e

Browse files
committed
Update runtime files
1 parent 04c4c57 commit 9b03d3e

19 files changed

Lines changed: 1326 additions & 17 deletions

.github/CODEOWNERS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ runtime/ftplugin/fpcmake.vim @dkearns
120120
runtime/ftplugin/freebasic.vim @dkearns
121121
runtime/ftplugin/fstab.vim @rid9
122122
runtime/ftplugin/gdb.vim @xeyownt
123+
runtime/ftplugin/gdscript.vim @habamax
124+
runtime/ftplugin/gdshader.vim @habamax
123125
runtime/ftplugin/git.vim @tpope
124126
runtime/ftplugin/gitcommit.vim @tpope
125127
runtime/ftplugin/gitconfig.vim @tpope
@@ -211,6 +213,7 @@ runtime/indent/eterm.vim @dkearns
211213
runtime/indent/falcon.vim @steveno
212214
runtime/indent/framescript.vim @dkearns
213215
runtime/indent/freebasic.vim @dkearns
216+
runtime/indent/gdscript.vim @habamax
214217
runtime/indent/gitconfig.vim @tpope
215218
runtime/indent/gitolite.vim @sitaramc
216219
runtime/indent/go.vim @dbarnett
@@ -314,6 +317,9 @@ runtime/syntax/forth.vim @jkotlinski
314317
runtime/syntax/fpcmake.vim @dkearns
315318
runtime/syntax/freebasic.vim @dkearns
316319
runtime/syntax/fstab.vim @rid9
320+
runtime/syntax/gdresource.vim @habamax
321+
runtime/syntax/gdscript.vim @habamax
322+
runtime/syntax/gdshader.vim @habamax
317323
runtime/syntax/git.vim @tpope
318324
runtime/syntax/gitcommit.vim @tpope
319325
runtime/syntax/gitconfig.vim @tpope
@@ -326,7 +332,7 @@ runtime/syntax/groff.vim @jmarshall
326332
runtime/syntax/haml.vim @tpope
327333
runtime/syntax/haskell.vim @coot
328334
runtime/syntax/hgcommit.vim @k-takata
329-
runtime/syntax/html.vim @dkearns
335+
runtime/syntax/html.vim @dkearns
330336
runtime/syntax/i3config.vim @hiqua
331337
runtime/syntax/icon.vim @dkearns
332338
runtime/syntax/indent.vim @dkearns

runtime/compiler/raco.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
" Vim compiler file
2+
" Compiler: raco (Racket command-line tools)
3+
" Maintainer: D. Ben Knoble <[email protected]>
4+
" URL: https://github.com/benknoble/vim-racket
5+
" Last Change: 2022 Aug 12
6+
7+
let current_compiler = 'raco'
8+
9+
if exists(":CompilerSet") != 2
10+
command -nargs=* CompilerSet setlocal <args>
11+
endif
12+
13+
CompilerSet makeprg=raco
14+
CompilerSet errorformat=%f:%l:%c:%m

runtime/compiler/racomake.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
" Vim compiler file
2+
" Compiler: raco make (Racket command-line tools)
3+
" Maintainer: D. Ben Knoble <[email protected]>
4+
" URL: https://github.com/benknoble/vim-racket
5+
" Last Change: 2022 Aug 12
6+
7+
let current_compiler = 'racomake'
8+
9+
if exists(":CompilerSet") != 2
10+
command -nargs=* CompilerSet setlocal <args>
11+
endif
12+
13+
CompilerSet makeprg=raco\ make\ --\ %
14+
CompilerSet errorformat=%f:%l:%c:%m

runtime/compiler/racosetup.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
" Vim compiler file
2+
" Compiler: raco setup (Racket command-line tools)
3+
" Maintainer: D. Ben Knoble <[email protected]>
4+
" URL: https://github.com/benknoble/vim-racket
5+
" Last Change: 2022 Aug 12
6+
7+
let current_compiler = 'racosetup'
8+
9+
if exists(":CompilerSet") != 2
10+
command -nargs=* CompilerSet setlocal <args>
11+
endif
12+
13+
CompilerSet makeprg=raco\ setup
14+
CompilerSet errorformat=%f:%l:%c:%m

runtime/compiler/racotest.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
" Vim compiler file
2+
" Compiler: raco test (Racket command-line tools)
3+
" Maintainer: D. Ben Knoble <[email protected]>
4+
" URL: https://github.com/benknoble/vim-racket
5+
" Last Change: 2022 Aug 12
6+
7+
let current_compiler = 'racotest'
8+
9+
if exists(":CompilerSet") != 2
10+
command -nargs=* CompilerSet setlocal <args>
11+
endif
12+
13+
CompilerSet makeprg=raco\ test\ %
14+
CompilerSet errorformat=location:%f:%l:%c

runtime/doc/eval.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3608,6 +3608,9 @@ text...
36083608
iterate over. Unlike with |List|, modifying the
36093609
|Blob| does not affect the iteration.
36103610

3611+
When {object} is a |String| each item is a string with
3612+
one character, plus any combining characters.
3613+
36113614
In |Vim9| script `:endfor` cannot be shortened, to
36123615
improve script readability.
36133616

@@ -3827,7 +3830,9 @@ text...
38273830
Like |:echomsg| but when the messages popup window is
38283831
available the message is displayed there. This means
38293832
it will show for three seconds and avoid a
3830-
|hit-enter| prompt.
3833+
|hit-enter| prompt. If you want to hide it before
3834+
that, press Esc in Normal mode (when it would
3835+
otherwise beep).
38313836
The message window is available when Vim was compiled
38323837
with the +timer and the +popupwin features.
38333838

runtime/doc/syntax.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5368,7 +5368,9 @@ CursorLineFold Like FoldColumn when 'cursorline' is set for the cursor line.
53685368
*hl-MatchParen*
53695369
MatchParen Character under the cursor or just before it, if it
53705370
is a paired bracket, and its match. |pi_paren.txt|
5371-
5371+
*hl-MessageWindow*
5372+
MessageWindow Messages popup window used when 'cmdheight' is zero. If not
5373+
defined |hl-WarningMsg| is used.
53725374
*hl-ModeMsg*
53735375
ModeMsg 'showmode' message (e.g., "-- INSERT --").
53745376
*hl-MoreMsg*
@@ -5388,6 +5390,10 @@ PmenuSel Popup menu: Selected item.
53885390
PmenuSbar Popup menu: Scrollbar.
53895391
*hl-PmenuThumb*
53905392
PmenuThumb Popup menu: Thumb of the scrollbar.
5393+
*hl-PopupNotification*
5394+
PopupNotification
5395+
Popup window created with |popup_notification()|. If not
5396+
defined |hl-WarningMsg| is used.
53915397
*hl-Question*
53925398
Question |hit-enter| prompt and yes/no questions.
53935399
*hl-QuickFixLine*

runtime/doc/tags

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,6 +2469,9 @@ $quote eval.txt /*$quote*
24692469
:echom eval.txt /*:echom*
24702470
:echomsg eval.txt /*:echomsg*
24712471
:echon eval.txt /*:echon*
2472+
:echow eval.txt /*:echow*
2473+
:echowin eval.txt /*:echowin*
2474+
:echowindow eval.txt /*:echowindow*
24722475
:edit editing.txt /*:edit*
24732476
:edit! editing.txt /*:edit!*
24742477
:edit!_f editing.txt /*:edit!_f*
@@ -4324,6 +4327,7 @@ E1293 textprop.txt /*E1293*
43244327
E1294 textprop.txt /*E1294*
43254328
E1295 textprop.txt /*E1295*
43264329
E1296 textprop.txt /*E1296*
4330+
E1297 vim9.txt /*E1297*
43274331
E13 message.txt /*E13*
43284332
E131 eval.txt /*E131*
43294333
E132 eval.txt /*E132*
@@ -7735,6 +7739,7 @@ hl-LineNrAbove syntax.txt /*hl-LineNrAbove*
77357739
hl-LineNrBelow syntax.txt /*hl-LineNrBelow*
77367740
hl-MatchParen syntax.txt /*hl-MatchParen*
77377741
hl-Menu syntax.txt /*hl-Menu*
7742+
hl-MessageWindow syntax.txt /*hl-MessageWindow*
77387743
hl-ModeMsg syntax.txt /*hl-ModeMsg*
77397744
hl-MoreMsg syntax.txt /*hl-MoreMsg*
77407745
hl-NonText syntax.txt /*hl-NonText*
@@ -7743,6 +7748,7 @@ hl-Pmenu syntax.txt /*hl-Pmenu*
77437748
hl-PmenuSbar syntax.txt /*hl-PmenuSbar*
77447749
hl-PmenuSel syntax.txt /*hl-PmenuSel*
77457750
hl-PmenuThumb syntax.txt /*hl-PmenuThumb*
7751+
hl-PopupNotification syntax.txt /*hl-PopupNotification*
77467752
hl-Question syntax.txt /*hl-Question*
77477753
hl-QuickFixLine syntax.txt /*hl-QuickFixLine*
77487754
hl-Scrollbar syntax.txt /*hl-Scrollbar*
@@ -9432,6 +9438,7 @@ setbufvar() builtin.txt /*setbufvar()*
94329438
setcellwidths() builtin.txt /*setcellwidths()*
94339439
setcharpos() builtin.txt /*setcharpos()*
94349440
setcharsearch() builtin.txt /*setcharsearch()*
9441+
setcmdline() builtin.txt /*setcmdline()*
94359442
setcmdpos() builtin.txt /*setcmdpos()*
94369443
setcursorcharpos() builtin.txt /*setcursorcharpos()*
94379444
setenv() builtin.txt /*setenv()*

runtime/doc/todo.txt

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,13 @@ browser use: https://github.com/vim/vim/issues/1234
3838
*known-bugs*
3939
-------------------- Known bugs and current work -----------------------
4040

41+
cmdheight=0:
42+
- :g/pattern should not use message window #11012
43+
4144
*.sil detection with FTsil() (lacygoill, Aug 25)
4245

46+
Avoid using "Xfile" and "Xdir" in tests, use specific names.
47+
4348
Further Vim9 improvements, possibly after launch:
4449
- Use Vim9 for more runtime files.
4550
- Check performance with callgrind and kcachegrind.
@@ -178,19 +183,10 @@ Terminal emulator window:
178183
- When 'encoding' is not utf-8, or the job is using another encoding, setup
179184
conversions.
180185

181-
Patches considered for including:
182-
- use int instead of char_ for index #10818 needs a test
183-
- Add "-n" option to xxd. #10599 needs a test
184-
- allow for nesting of timeout, sketch in #10595
185-
- Add setcmdline() #10869
186-
187186
Cleanup:
188-
- Remove OLD_DIGRAPHS ?
189187
- Remove FEAT_FOOTER ?
190188

191-
Add 'splitscroll' #10682 Useful? Any trouble? Null Chilly says it's OK.
192-
suggestion: names instead of numbers for the option value
193-
problem depending on whether window is focused or not
189+
Add 'splitscroll' #10682 Useful? Any remaining trouble?
194190

195191
Autoconf: must use autoconf 2.69, later version generates lots of warnings
196192
- try using autoconf 2.71 and fix all "obsolete" warnings
@@ -882,9 +878,6 @@ The ++ options for the :edit command are also useful on the Vim command line.
882878
Overlong utf-8 sequence is displayed wrong. (Harm te Hennepe, 2017 Sep 14,
883879
#2089) Patch with possible solution by Björn Linse.
884880

885-
The change list index is local to a buffer, but it doesn't make sense using it
886-
for another buffer. (lacygoill) Copy w_changelistidx to wininfo_S and back.
887-
888881
X11: Putting more than about 262040 characters of text on the clipboard and
889882
pasting it in another Vim doesn't work. (Dominique Pelle, 2008 Aug 21-23)
890883
clip_x11_request_selection_cb() is called with zero value and length.

runtime/doc/vim9.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ type, it can not be used in Vim9 script.
16181618
*E1211* *E1217* *E1218* *E1219* *E1220* *E1221*
16191619
*E1222* *E1223* *E1224* *E1225* *E1226* *E1227*
16201620
*E1228* *E1238* *E1250* *E1251* *E1252* *E1253*
1621-
*E1256*
1621+
*E1256* *E1297*
16221622
Types are checked for most builtin functions to make it easier to spot
16231623
mistakes.
16241624

0 commit comments

Comments
 (0)