diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-06 18:20:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-06 18:20:10 +0000 |
commit | 86b4816766d976a7ecd4403eca1f8bf6b4105800 (patch) | |
tree | c638eb1843971d9f57efec56e8ba445209f1e10e /runtime | |
parent | 5e0c004f0cef949d0933d2bfaa8fd0e86d675846 (diff) |
Update runtime files
Diffstat (limited to 'runtime')
41 files changed, 1132 insertions, 185 deletions
diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim index c40e0c84d5..e6f18617cd 100644 --- a/runtime/autoload/dist/ft.vim +++ b/runtime/autoload/dist/ft.vim @@ -3,7 +3,7 @@ vim9script # Vim functions for file type detection # # Maintainer: Bram Moolenaar <Bram@vim.org> -# Last Change: 2022 Apr 13 +# Last Change: 2022 Nov 24 # These functions are moved here from runtime/filetype.vim to make startup # faster. diff --git a/runtime/autoload/dist/script.vim b/runtime/autoload/dist/script.vim index 8c5441cc82..f86c42898b 100644 --- a/runtime/autoload/dist/script.vim +++ b/runtime/autoload/dist/script.vim @@ -4,7 +4,7 @@ vim9script # Invoked from "scripts.vim" in 'runtimepath' # # Maintainer: Bram Moolenaar <Bram@vim.org> -# Last Change: 2022 Feb 13 +# Last Change: 2022 Nov 24 export def DetectFiletype() var line1 = getline(1) diff --git a/runtime/compiler/dotnet.vim b/runtime/compiler/dotnet.vim new file mode 100644 index 0000000000..ac64084663 --- /dev/null +++ b/runtime/compiler/dotnet.vim @@ -0,0 +1,39 @@ +" Vim compiler file +" Compiler: dotnet build (.NET CLI) +" Maintainer: Nick Jensen <nickspoon@gmail.com> +" Last Change: 2022-12-06 +" License: Vim (see :h license) +" Repository: https://github.com/nickspoons/vim-cs + +if exists("current_compiler") + finish +endif +let current_compiler = "dotnet" + +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal <args> +endif + +let s:cpo_save = &cpo +set cpo&vim + +if get(g:, "dotnet_errors_only", v:false) + CompilerSet makeprg=dotnet\ build\ -nologo + \\ -consoleloggerparameters:NoSummary + \\ -consoleloggerparameters:ErrorsOnly +else + CompilerSet makeprg=dotnet\ build\ -nologo\ -consoleloggerparameters:NoSummary +endif + +if get(g:, "dotnet_show_project_file", v:true) + CompilerSet errorformat=%E%f(%l\\,%c):\ %trror\ %m, + \%W%f(%l\\,%c):\ %tarning\ %m, + \%-G%.%# +else + CompilerSet errorformat=%E%f(%l\\,%c):\ %trror\ %m\ [%.%#], + \%W%f(%l\\,%c):\ %tarning\ %m\ [%.%#], + \%-G%.%# +endif + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/compiler/zig.vim b/runtime/compiler/zig.vim new file mode 100644 index 0000000000..2cc6831329 --- /dev/null +++ b/runtime/compiler/zig.vim @@ -0,0 +1,28 @@ +" Vim compiler file +" Compiler: Zig Compiler +" Upstream: https://github.com/ziglang/zig.vim + +if exists("current_compiler") + finish +endif +let current_compiler = "zig" + +let s:save_cpo = &cpo +set cpo&vim + +if exists(":CompilerSet") != 2 + command -nargs=* CompilerSet setlocal <args> +endif + +" a subcommand must be provided for the this compiler (test, build-exe, etc) +if has('patch-7.4.191') + CompilerSet makeprg=zig\ \$*\ \%:S +else + CompilerSet makeprg=zig\ \$*\ \"%\" +endif + +" TODO: improve errorformat as needed. + +let &cpo = s:save_cpo +unlet s:save_cpo +" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab diff --git a/runtime/compiler/zig_build.vim b/runtime/compiler/zig_build.vim new file mode 100644 index 0000000000..0441267b64 --- /dev/null +++ b/runtime/compiler/zig_build.vim @@ -0,0 +1,29 @@ +" Vim compiler file +" Compiler: Zig Compiler (zig build) +" Upstream: https://github.com/ziglang/zig.vim + +if exists('current_compiler') + finish +endif +runtime compiler/zig.vim +let current_compiler = 'zig_build' + +let s:save_cpo = &cpo +set cpo&vim + + +if exists(':CompilerSet') != 2 + command -nargs=* CompilerSet setlocal <args> +endif + +if exists('g:zig_build_makeprg_params') + execute 'CompilerSet makeprg=zig\ build\ '.escape(g:zig_build_makeprg_params, ' \|"').'\ $*' +else + CompilerSet makeprg=zig\ build\ $* +endif + +" TODO: anything to add to errorformat for zig build specifically? + +let &cpo = s:save_cpo +unlet s:save_cpo +" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab diff --git a/runtime/compiler/zig_build_exe.vim b/runtime/compiler/zig_build_exe.vim new file mode 100644 index 0000000000..20f0bb3366 --- /dev/null +++ b/runtime/compiler/zig_build_exe.vim @@ -0,0 +1,27 @@ +" Vim compiler file +" Compiler: Zig Compiler (zig build-exe) +" Upstream: https://github.com/ziglang/zig.vim + +if exists('current_compiler') + finish +endif +runtime compiler/zig.vim +let current_compiler = 'zig_build_exe' + +let s:save_cpo = &cpo +set cpo&vim + + +if exists(':CompilerSet') != 2 + command -nargs=* CompilerSet setlocal <args> +endif + +if has('patch-7.4.191') + CompilerSet makeprg=zig\ build-exe\ \%:S\ \$* +else + CompilerSet makeprg=zig\ build-exe\ \"%\"\ \$* +endif + +let &cpo = s:save_cpo +unlet s:save_cpo +" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab diff --git a/runtime/compiler/zig_test.vim b/runtime/compiler/zig_test.vim new file mode 100644 index 0000000000..a82d2a6378 --- /dev/null +++ b/runtime/compiler/zig_test.vim @@ -0,0 +1,27 @@ +" Vim compiler file +" Compiler: Zig Compiler (zig test) +" Upstream: https://github.com/ziglang/zig.vim + +if exists('current_compiler') + finish +endif +runtime compiler/zig.vim +let current_compiler = 'zig_test' + +let s:save_cpo = &cpo +set cpo&vim + + +if exists(':CompilerSet') != 2 + command -nargs=* CompilerSet setlocal <args> +endif + +if has('patch-7.4.191') + CompilerSet makeprg=zig\ test\ \%:S\ \$* +else + CompilerSet makeprg=zig\ test\ \"%\"\ \$* +endif + +let &cpo = s:save_cpo +unlet s:save_cpo +" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 7ae3082205..7ff969d7cb 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.0. Last change: 2022 Nov 21 +*builtin.txt* For Vim version 9.0. Last change: 2022 Dec 05 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index 111a56d949..535c17546f 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 9.0. Last change: 2022 Jun 23 +*channel.txt* For Vim version 9.0. Last change: 2022 Dec 01 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index c22b3d0328..b2863d02f4 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 9.0. Last change: 2022 Nov 22 +*eval.txt* For Vim version 9.0. Last change: 2022 Dec 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -633,6 +633,10 @@ This removes all entries from "dict" with a value not matching 'x'. This can also be used to remove all entries: > call filter(dict, 0) +In some situations it is not allowed to remove or add entries to a Dictionary. +Especially when iterating over all the entries. You will get *E1313* or +another error in that case. + Dictionary function ~ *Dictionary-function* *self* *E725* *E862* @@ -646,7 +650,8 @@ special way with a dictionary. Example: > This is like a method in object oriented programming. The entry in the Dictionary is a |Funcref|. The local variable "self" refers to the dictionary -the function was invoked from. +the function was invoked from. When using |Vim9| script you can use classes +and objects, see `:class`. It is also possible to add a function without the "dict" attribute as a Funcref to a Dictionary, but the "self" variable is not available then. diff --git a/runtime/doc/fold.txt b/runtime/doc/fold.txt index 7c702ff2d4..6da244d5aa 100644 --- a/runtime/doc/fold.txt +++ b/runtime/doc/fold.txt @@ -1,4 +1,4 @@ -*fold.txt* For Vim version 9.0. Last change: 2022 Oct 01 +*fold.txt* For Vim version 9.0. Last change: 2022 Nov 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -598,6 +598,11 @@ line is folded, it cannot be displayed there. Many movement commands handle a sequence of folded lines like an empty line. For example, the "w" command stops once in the first column. +When starting a search in a closed fold it will not find a match in the +current fold. It's like a forward search always starts from the end of the +closed fold, while a backwards search starts from the start of the closed +fold. + When in Insert mode, the cursor line is never folded. That allows you to see what you type! diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt index d1af85eff1..e4e25ab0d9 100644 --- a/runtime/doc/help.txt +++ b/runtime/doc/help.txt @@ -1,4 +1,4 @@ -*help.txt* For Vim version 9.0. Last change: 2022 May 13 +*help.txt* For Vim version 9.0. Last change: 2022 Dec 03 VIM - main help file k @@ -153,6 +153,7 @@ Special issues ~ |terminal.txt| Terminal window support |popup.txt| popup window support |vim9.txt| using Vim9 script +|vim9class.txt| using Vim9 script classes Programming language support ~ |indent.txt| automatic indenting for C and other languages diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 3f4a37190f..5c7b4f8a6a 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 9.0. Last change: 2022 Nov 23 +*map.txt* For Vim version 9.0. Last change: 2022 Dec 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1695,7 +1695,7 @@ Possible attributes are: number. -count=N A count (default N) which is specified either in the line number position, or as an initial argument (like |:Next|). - -count acts like -count=0 + -count Acts like -count=0 Note that -range=N and -count=N are mutually exclusive - only one should be specified. @@ -1713,7 +1713,7 @@ Possible values are (second column is the short name used in listing): -addr=windows win Range for windows -addr=tabs tab Range for tab pages -addr=quickfix qf Range for quickfix entries - -addr=other ? other kind of range; can use ".", "$" and "%" + -addr=other ? Other kind of range; can use ".", "$" and "%" as with "lines" (this is the default for -count) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index e9404478f2..73409b7893 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.0. Last change: 2022 Nov 23 +*options.txt* For Vim version 9.0. Last change: 2022 Nov 30 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/os_unix.txt b/runtime/doc/os_unix.txt index f875f160d3..9908b154cf 100644 --- a/runtime/doc/os_unix.txt +++ b/runtime/doc/os_unix.txt @@ -1,4 +1,4 @@ -*os_unix.txt* For Vim version 9.0. Last change: 2005 Mar 29 +*os_unix.txt* For Vim version 9.0. Last change: 2022 Nov 25 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/os_vms.txt b/runtime/doc/os_vms.txt index 8ba12baa74..619f4e409e 100644 --- a/runtime/doc/os_vms.txt +++ b/runtime/doc/os_vms.txt @@ -1,4 +1,4 @@ -*os_vms.txt* For Vim version 9.0. Last change: 2022 Sep 30 +*os_vms.txt* For Vim version 9.0. Last change: 2022 Nov 25 VIM REFERENCE MANUAL diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 619fc18ed2..5993f65574 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 9.0. Last change: 2022 Jun 14 +*starting.txt* For Vim version 9.0. Last change: 2022 Nov 30 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 483c46e318..cd3dbca531 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.0. Last change: 2022 Nov 15 +*syntax.txt* For Vim version 9.0. Last change: 2022 Nov 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3621,6 +3621,14 @@ highlighting is to put the following line in your |vimrc|: > < +WDL *wdl.vim* *wdl-syntax* + +The Workflow Description Language is a way to specify data processing workflows +with a human-readable and writeable syntax. This is used a lot in +bioinformatics. More info on the spec can be found here: +https://github.com/openwdl/wdl + + XF86CONFIG *xf86conf.vim* *ft-xf86conf-syntax* The syntax of XF86Config file differs in XFree86 v3.x and v4.x. Both diff --git a/runtime/doc/tags b/runtime/doc/tags index 617dd56924..2fe27d4d65 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -1061,6 +1061,7 @@ $quote eval.txt /*$quote* 't_RC' term.txt /*'t_RC'* 't_RF' term.txt /*'t_RF'* 't_RI' term.txt /*'t_RI'* +'t_RK' term.txt /*'t_RK'* 't_RS' term.txt /*'t_RS'* 't_RT' term.txt /*'t_RT'* 't_RV' term.txt /*'t_RV'* @@ -2164,7 +2165,7 @@ $quote eval.txt /*$quote* :abclear map.txt /*:abclear* :abo windows.txt /*:abo* :aboveleft windows.txt /*:aboveleft* -:abstract vim9.txt /*:abstract* +:abstract vim9class.txt /*:abstract* :addd quickfix.txt /*:addd* :al windows.txt /*:al* :all windows.txt /*:all* @@ -2324,7 +2325,7 @@ $quote eval.txt /*$quote* :chistory quickfix.txt /*:chistory* :cl quickfix.txt /*:cl* :cla quickfix.txt /*:cla* -:class vim9.txt /*:class* +:class vim9class.txt /*:class* :clast quickfix.txt /*:clast* :cle motion.txt /*:cle* :clearjumps motion.txt /*:clearjumps* @@ -2501,15 +2502,15 @@ $quote eval.txt /*$quote* :emenu gui.txt /*:emenu* :en eval.txt /*:en* :end eval.txt /*:end* -:endclass vim9.txt /*:endclass* +:endclass vim9class.txt /*:endclass* :enddef vim9.txt /*:enddef* -:endenum vim9.txt /*:endenum* +:endenum vim9class.txt /*:endenum* :endf userfunc.txt /*:endf* :endfo eval.txt /*:endfo* :endfor eval.txt /*:endfor* :endfunction userfunc.txt /*:endfunction* :endif eval.txt /*:endif* -:endinterface vim9.txt /*:endinterface* +:endinterface vim9class.txt /*:endinterface* :endt eval.txt /*:endt* :endtry eval.txt /*:endtry* :endw eval.txt /*:endw* @@ -2518,7 +2519,7 @@ $quote eval.txt /*$quote* :ene! editing.txt /*:ene!* :enew editing.txt /*:enew* :enew! editing.txt /*:enew!* -:enum vim9.txt /*:enum* +:enum vim9class.txt /*:enum* :eval eval.txt /*:eval* :ex editing.txt /*:ex* :exe eval.txt /*:exe* @@ -2648,7 +2649,7 @@ $quote eval.txt /*$quote* :inoreme gui.txt /*:inoreme* :inoremenu gui.txt /*:inoremenu* :insert insert.txt /*:insert* -:interface vim9.txt /*:interface* +:interface vim9class.txt /*:interface* :intro starting.txt /*:intro* :is tagsrch.txt /*:is* :isearch tagsrch.txt /*:isearch* @@ -3285,7 +3286,7 @@ $quote eval.txt /*$quote* :startgreplace insert.txt /*:startgreplace* :startinsert insert.txt /*:startinsert* :startreplace insert.txt /*:startreplace* -:static vim9.txt /*:static* +:static vim9class.txt /*:static* :stj tagsrch.txt /*:stj* :stjump tagsrch.txt /*:stjump* :stop starting.txt /*:stop* @@ -3463,7 +3464,7 @@ $quote eval.txt /*$quote* :tunma map.txt /*:tunma* :tunmap map.txt /*:tunmap* :tunmenu gui.txt /*:tunmenu* -:type vim9.txt /*:type* +:type vim9class.txt /*:type* :u undo.txt /*:u* :un undo.txt /*:un* :una map.txt /*:una* @@ -4365,6 +4366,8 @@ E131 userfunc.txt /*E131* E1310 gui.txt /*E1310* E1311 map.txt /*E1311* E1312 windows.txt /*E1312* +E1313 eval.txt /*E1313* +E1314 vim9class.txt /*E1314* E132 userfunc.txt /*E132* E133 userfunc.txt /*E133* E134 change.txt /*E134* @@ -5583,7 +5586,14 @@ VMS os_vms.txt /*VMS* Vi intro.txt /*Vi* View starting.txt /*View* Vim9 vim9.txt /*Vim9* +Vim9-abstract-class vim9class.txt /*Vim9-abstract-class* +Vim9-class vim9class.txt /*Vim9-class* +Vim9-class-overview vim9class.txt /*Vim9-class-overview* +Vim9-enum vim9class.txt /*Vim9-enum* Vim9-script vim9.txt /*Vim9-script* +Vim9-simple-class vim9class.txt /*Vim9-simple-class* +Vim9-type vim9class.txt /*Vim9-type* +Vim9-using-interface vim9class.txt /*Vim9-using-interface* VimEnter autocmd.txt /*VimEnter* VimLeave autocmd.txt /*VimLeave* VimLeavePre autocmd.txt /*VimLeavePre* @@ -6254,6 +6264,8 @@ cino-w indent.txt /*cino-w* cino-{ indent.txt /*cino-{* cino-} indent.txt /*cino-}* cinoptions-values indent.txt /*cinoptions-values* +class-member vim9class.txt /*class-member* +class-method vim9class.txt /*class-method* clear-undo undo.txt /*clear-undo* clearmatches() builtin.txt /*clearmatches()* client-server remote.txt /*client-server* @@ -6827,6 +6839,7 @@ expression-syntax eval.txt /*expression-syntax* exrc starting.txt /*exrc* extend() builtin.txt /*extend()* extendnew() builtin.txt /*extendnew()* +extends vim9class.txt /*extends* extension-removal cmdline.txt /*extension-removal* extensions-improvements todo.txt /*extensions-improvements* f motion.txt /*f* @@ -6968,6 +6981,7 @@ form.vim syntax.txt /*form.vim* format-bullet-list tips.txt /*format-bullet-list* format-comments change.txt /*format-comments* format-formatexpr change.txt /*format-formatexpr* +formatOtherKeys map.txt /*formatOtherKeys* formatting change.txt /*formatting* forth.vim syntax.txt /*forth.vim* fortran.vim syntax.txt /*fortran.vim* @@ -8000,6 +8014,7 @@ if_sniff.txt if_sniff.txt /*if_sniff.txt* if_tcl.txt if_tcl.txt /*if_tcl.txt* ignore-errors eval.txt /*ignore-errors* ignore-timestamp editing.txt /*ignore-timestamp* +implements vim9class.txt /*implements* import-autoload vim9.txt /*import-autoload* import-legacy vim9.txt /*import-legacy* import-map vim9.txt /*import-map* @@ -9586,6 +9601,7 @@ spec_chglog_format pi_spec.txt /*spec_chglog_format* spec_chglog_prepend pi_spec.txt /*spec_chglog_prepend* spec_chglog_release_info pi_spec.txt /*spec_chglog_release_info* special-buffers windows.txt /*special-buffers* +specifies vim9class.txt /*specifies* speed-up tips.txt /*speed-up* spell spell.txt /*spell* spell-ACCENT spell.txt /*spell-ACCENT* @@ -9800,6 +9816,7 @@ swap-file recover.txt /*swap-file* swapchoice-variable eval.txt /*swapchoice-variable* swapcommand-variable eval.txt /*swapcommand-variable* swapfile-changed version4.txt /*swapfile-changed* +swapfilelist() builtin.txt /*swapfilelist()* swapinfo() builtin.txt /*swapinfo()* swapname() builtin.txt /*swapname()* swapname-variable eval.txt /*swapname-variable* @@ -9910,6 +9927,7 @@ t_RB term.txt /*t_RB* t_RC term.txt /*t_RC* t_RF term.txt /*t_RF* t_RI term.txt /*t_RI* +t_RK term.txt /*t_RK* t_RS term.txt /*t_RS* t_RT term.txt /*t_RT* t_RV term.txt /*t_RV* @@ -10774,6 +10792,7 @@ vim9-unpack-ignore vim9.txt /*vim9-unpack-ignore* vim9-user-command vim9.txt /*vim9-user-command* vim9-variable-arguments vim9.txt /*vim9-variable-arguments* vim9.txt vim9.txt /*vim9.txt* +vim9class.txt vim9class.txt /*vim9class.txt* vim9script vim9.txt /*vim9script* vim: options.txt /*vim:* vim_announce intro.txt /*vim_announce* @@ -10865,6 +10884,8 @@ w:quickfix_title quickfix.txt /*w:quickfix_title* w:var eval.txt /*w:var* waittime channel.txt /*waittime* warningmsg-variable eval.txt /*warningmsg-variable* +wdl-syntax syntax.txt /*wdl-syntax* +wdl.vim syntax.txt /*wdl.vim* white-space pattern.txt /*white-space* whitespace pattern.txt /*whitespace* wildcard editing.txt /*wildcard* diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt index 77d1ed388a..f7b65ea744 100644 --- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -1,4 +1,4 @@ -*term.txt* For Vim version 9.0. Last change: 2022 Oct 21 +*term.txt* For Vim version 9.0. Last change: 2022 Dec 01 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index f251781c43..558553f5ac 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -1,4 +1,4 @@ -*testing.txt* For Vim version 9.0. Last change: 2022 May 16 +*testing.txt* For Vim version 9.0. Last change: 2022 Nov 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -135,9 +135,9 @@ test_gui_event({event}, {args}) Inject either a mouse button click, or a mouse move, event. The supported items in {args} are: button: mouse button. The supported values are: - 0 right mouse button + 0 left mouse button 1 middle mouse button - 2 left mouse button + 2 right mouse button 3 mouse button release 4 scroll wheel down 5 scroll wheel up diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index f08f5721b2..39961a177c 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 9.0. Last change: 2022 Nov 23 +*todo.txt* For Vim version 9.0. Last change: 2022 Dec 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -38,26 +38,6 @@ browser use: https://github.com/vim/vim/issues/1234 *known-bugs* -------------------- Known bugs and current work ----------------------- -Keyboard protocol (also see below): -- Use the kitty_protocol_state value, similar to seenModifyOtherKeys -- When kitty_protocol_state is set then reset seenModifyOtherKeys. - Do not set seenModifyOtherKeys for kitty-protocol sequences in - handle_key_with_modifier(). - -virtual text issues: -- #11520 `below` cannot be placed below empty lines - James Alvarado looks into it -- virtual text `below` highlighted incorrectly when `cursorline` enabled - (Issue #11588) - -'smoothscroll': -- CTRL-E and gj in long line with 'scrolloff' 5 not working well yet. -- computing 'scrolloff' position row use w_skipcol -- Check this list: https://github.com/vim/vim/pulls?q=is%3Apr+is%3Aopen+smoothscroll+author%3Aychin -- Long line spanning multiple pages: After a few CTRL-E then gj causes a - scroll. (Ernie Rael, 18 Nov) Also pressing space or "l" - - Upcoming larger works: - Make spell checking work with recent .dic/.aff files, e.g. French. #4916 Make Vim understand the format somehow? Search for "spell" below. @@ -67,32 +47,16 @@ Upcoming larger works: - Other mechanism than group and cluster to nest syntax items, to be used for grammars. - Possibly keeping the parsed syntax tree and incremental updates. + - tree-sitter doesn't handle incorrect syntax (while typing) properly. - Make clear how it relates to LSP. - example plugin: https://github.com/uga-rosa/dps-vsctm.vim -- Better support for detecting terminal emulator behavior (esp. special key - handling) and taking away the need for users to tweak their config. - > In the table of names pointing to the list of entries, with an additional - one. So that "xterm-kitty" can first load "xterm" and then add "kitty" - entries. - > Add an "expectKittyEsc" flag (Esc is always sent as a sequence, not one - character) and always wait after an Esc for more to come, don't leave - Insert mode. - -> Request code for Esc after outputting t_KI, use "k!" value. - Use response to set "expectKittyEsc". - -> Add ESC[>1uESC[?u to t_KI, parse flag response. - -> May also send t_RV and delay starting a shell command until the - response has been seen, to make sure the other responses don't get read - by a shell command. - > Can we use the req_more_codes_from_term() mechanism with more terminals? - Should we repeat it after executing a shell command? - Can also add this to the 'keyprotocol' option: "mok2+tcap" Further Vim9 improvements, possibly after launch: -- Use Vim9 for more runtime files. +- implement :class and :interface: See |vim9-classes| #11544 - implement :type - implement :enum -- implement :class and :interface: See |vim9-classes| #11544 +- Use Vim9 for more runtime files. - Inline call to map() and filter(), better type checking. - When evaluating constants for script variables, some functions could work: has(featureName), len(someString) @@ -222,9 +186,6 @@ Add BufDeletePost. #11041 Add winid arg to col() and charcol() #11466 (request #11461) -Make the default for 'ttyfast' on, checking $TERM names doesn't make much -sense right now, most terminals are fast. #11549 - Can we make 'noendofline' and 'endoffile' visible? Should show by default, since it's an unusual situation. - Show 'noendofline' when it would be used for writing ('fileformat' "dos") @@ -241,6 +202,11 @@ entered. (#11151) Add 'keywordprg' to various ftplugin files: https://github.com/vim/vim/pull/5566 |