summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/CODEOWNERS502
-rw-r--r--.github/FUNDING.yml1
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml57
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md22
-rw-r--r--.github/dependabot.yml6
-rw-r--r--.github/workflows/ci.yml618
-rw-r--r--.github/workflows/codeql-analysis.yml76
-rw-r--r--.github/workflows/coverity.yml84
8 files changed, 1366 insertions, 0 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 0000000..0963685
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1,502 @@
+# Lines starting with '#' are comments.
+# Each line is a file pattern followed by one or more owners.
+# You can use github users with @user or email addresses
+
+# These owners will be the default owners for everything in the repo.
+#* @brammool
+
+# Order is important. The last matching pattern has the most precedence.
+# So if a pull request only touches javascript files, only these owners
+# will be requested to review.
+
+runtime/autoload/freebasic.vim @dkearns
+runtime/autoload/getscript.vim @cecamp
+runtime/autoload/haskell.vim @alx741
+runtime/autoload/javascript.vim @jsit
+runtime/autoload/netrw.vim @cecamp
+runtime/autoload/netrwFileHandlers.vim @cecamp
+runtime/autoload/netrwSettings.vim @cecamp
+runtime/autoload/php.vim @david-szabo97
+runtime/autoload/rubycomplete.vim @segfault @dkearns
+runtime/autoload/tar.vim @cecamp
+runtime/autoload/vimball.vim @cecamp
+runtime/autoload/xmlformat.vim @chrisbra
+runtime/autoload/zip.vim @cecamp
+runtime/colors/blue.vim @habamax @romainl @neutaaaaan
+runtime/colors/darkblue.vim @habamax @romainl @neutaaaaan
+runtime/colors/default.vim @habamax @romainl @neutaaaaan
+runtime/colors/delek.vim @habamax @romainl @neutaaaaan
+runtime/colors/desert.vim @habamax @romainl @neutaaaaan
+runtime/colors/elflord.vim @habamax @romainl @neutaaaaan
+runtime/colors/evening.vim @habamax @romainl @neutaaaaan
+runtime/colors/industry.vim @habamax @romainl @neutaaaaan
+runtime/colors/koehler.vim @habamax @romainl @neutaaaaan
+runtime/colors/morning.vim @habamax @romainl @neutaaaaan
+runtime/colors/murphy.vim @habamax @romainl @neutaaaaan
+runtime/colors/pablo.vim @habamax @romainl @neutaaaaan
+runtime/colors/peachpuff.vim @habamax @romainl @neutaaaaan
+runtime/colors/ron.vim @habamax @romainl @neutaaaaan
+runtime/colors/shine.vim @habamax @romainl @neutaaaaan
+runtime/colors/slate.vim @habamax @romainl @neutaaaaan
+runtime/colors/tools @habamax @romainl @neutaaaaan
+runtime/colors/torte.vim @habamax @romainl @neutaaaaan
+runtime/colors/zellner.vim @habamax @romainl @neutaaaaan
+runtime/compiler/checkstyle.vim @dkearns
+runtime/compiler/cm3.vim @dkearns
+runtime/compiler/cucumber.vim @tpope
+runtime/compiler/dart.vim @dkearns
+runtime/compiler/dart2js.vim @dkearns
+runtime/compiler/dart2native.vim @dkearns
+runtime/compiler/dartanalyser.vim @dkearns
+runtime/compiler/dartdevc.vim @dkearns
+runtime/compiler/dartdoc.vim @dkearns
+runtime/compiler/dartfmt.vim @dkearns
+runtime/compiler/dotnet.vim @nickspoons
+runtime/compiler/eruby.vim @dkearns
+runtime/compiler/fbc.vim @dkearns
+runtime/compiler/gawk.vim @dkearns
+runtime/compiler/gjs.vim @dkearns
+runtime/compiler/go.vim @dbarnett
+runtime/compiler/haml.vim @tpope
+runtime/compiler/hare.vim @rsaihe
+runtime/compiler/icon.vim @dkearns
+runtime/compiler/javac.vim @dkearns
+runtime/compiler/jest.vim @dkearns
+runtime/compiler/jjs.vim @dkearns
+runtime/compiler/jshint.vim @dkearns
+runtime/compiler/jsonlint.vim @dkearns
+runtime/compiler/lazbuild.vim @dkearns
+runtime/compiler/perl.vim @petdance @heptite
+runtime/compiler/perlcritic.vim @petdance @dkearns
+runtime/compiler/php.vim @dkearns
+runtime/compiler/podchecker.vim @petdance @dkearns
+runtime/compiler/powershell.vim @heaths
+runtime/compiler/raco.vim @benknoble
+runtime/compiler/racomake.vim @benknoble
+runtime/compiler/racosetup.vim @benknoble
+runtime/compiler/racotest.vim @benknoble
+runtime/compiler/rake.vim @tpope @dkearns
+runtime/compiler/rhino.vim @dkearns
+runtime/compiler/rspec.vim @tpope @dkearns
+runtime/compiler/rubocop.vim @dkearns
+runtime/compiler/ruby.vim @tpope @dkearns
+runtime/compiler/rubyunit.vim @dkearns
+runtime/compiler/sass.vim @tpope
+runtime/compiler/sdoc.vim @gpanders
+runtime/compiler/se.vim @dkearns
+runtime/compiler/shellcheck.vim @dkearns
+runtime/compiler/sml.vim @dkearns
+runtime/compiler/spectral.vim @romainl
+runtime/compiler/stylelint.vim @dkearns
+runtime/compiler/tcl.vim @dkearns
+runtime/compiler/tidy.vim @dkearns
+runtime/compiler/ts-node.vim @dkearns
+runtime/compiler/tsc.vim @dkearns
+runtime/compiler/typedoc.vim @dkearns
+runtime/compiler/xmllint.vim @dkearns
+runtime/compiler/xo.vim @dkearns
+runtime/compiler/yamllint.vim @romainl
+runtime/compiler/zsh.vim @dkearns
+runtime/doc/pi_getscript.txt @cecamp
+runtime/doc/pi_logipat.txt @cecamp
+runtime/doc/pi_netrw.txt @cecamp
+runtime/doc/pi_tar.txt @cecamp
+runtime/doc/pi_vimball.txt @cecamp
+runtime/doc/pi_zip.txt @cecamp
+runtime/doc/ps1.txt @heaths
+runtime/ftplugin/abaqus.vim @costerwi
+runtime/ftplugin/apache.vim @dubgeiser
+runtime/ftplugin/awk.vim @dkearns
+runtime/ftplugin/basic.vim @dkearns
+runtime/ftplugin/bst.vim @tpope
+runtime/ftplugin/cfg.vim @chrisbra
+runtime/ftplugin/chatito.vim @ObserverOfTime
+runtime/ftplugin/clojure.vim @axvr
+runtime/ftplugin/cs.vim @nickspoons
+runtime/ftplugin/csh.vim @dkearns
+runtime/ftplugin/css.vim @dkearns
+runtime/ftplugin/cucumber.vim @tpope
+runtime/ftplugin/desktop.vim @e-kwsm
+runtime/ftplugin/dosbatch.vim @mrdubya
+runtime/ftplugin/eiffel.vim @dkearns
+runtime/ftplugin/elixir.vim @mhanberg
+runtime/ftplugin/erlang.vim @hcs42
+runtime/ftplugin/eruby.vim @tpope @dkearns
+runtime/ftplugin/expect.vim @dkearns
+runtime/ftplugin/fennel.vim @gpanders
+runtime/ftplugin/fetchmail.vim @dkearns
+runtime/ftplugin/fpcmake.vim @dkearns
+runtime/ftplugin/freebasic.vim @dkearns
+runtime/ftplugin/fstab.vim @rid9
+runtime/ftplugin/gdb.vim @xeyownt
+runtime/ftplugin/gdscript.vim @habamax
+runtime/ftplugin/gdshader.vim @habamax
+runtime/ftplugin/git.vim @tpope
+runtime/ftplugin/gitattributes.vim @ObserverOfTime
+runtime/ftplugin/gitcommit.vim @tpope
+runtime/ftplugin/gitconfig.vim @tpope
+runtime/ftplugin/gitignore.vim @ObserverOfTime
+runtime/ftplugin/gitrebase.vim @tpope
+runtime/ftplugin/gitsendemail.vim @tpope
+runtime/ftplugin/gyp.vim @ObserverOfTime
+runtime/ftplugin/go.vim @dbarnett
+runtime/ftplugin/gprof.vim @dpelle
+runtime/ftplugin/haml.vim @tpope
+runtime/ftplugin/hare.vim @rsaihe
+runtime/ftplugin/hgcommit.vim @k-takata
+runtime/ftplugin/html.vim @dkearns
+runtime/ftplugin/i3config.vim @hiqua
+runtime/ftplugin/icon.vim @dkearns
+runtime/ftplugin/indent.vim @dkearns
+runtime/ftplugin/j.vim @glts
+runtime/ftplugin/javascript.vim @dkearns
+runtime/ftplugin/javascriptreact.vim @dkearns
+runtime/ftplugin/jsonc.vim @izhakjakov
+runtime/ftplugin/julia.vim @carlobaldassi
+runtime/ftplugin/kconfig.vim @chrisbra
+runtime/ftplugin/less.vim @genoma
+runtime/ftplugin/liquid.vim @tpope
+runtime/ftplugin/lua.vim @dkearns
+runtime/ftplugin/lynx.vim @dkearns
+runtime/ftplugin/m3build.vim @dkearns
+runtime/ftplugin/m3quake.vim @dkearns
+runtime/ftplugin/markdown.vim @tpope
+runtime/ftplugin/matlab.vim @cecamp
+runtime/ftplugin/meson.vim @Liambeguin
+runtime/ftplugin/modula3.vim @dkearns
+runtime/ftplugin/nginx.vim @chr4
+runtime/ftplugin/nroff.vim @a-vrma
+runtime/ftplugin/nsis.vim @k-takata
+runtime/ftplugin/octave.vim @dkearns
+runtime/ftplugin/openvpn.vim @ObserverOfTime
+runtime/ftplugin/pascal.vim @dkearns
+runtime/ftplugin/pbtxt.vim @lakshayg
+runtime/ftplugin/pdf.vim @tpope
+runtime/ftplugin/perl.vim @petdance @dkearns
+runtime/ftplugin/pod.vim @petdance @dkearns
+runtime/ftplugin/poefilter.vim @ObserverOfTime
+runtime/ftplugin/postscr.vim @mrdubya
+runtime/ftplugin/ps1.vim @heaths
+runtime/ftplugin/ps1xml.vim @heaths
+runtime/ftplugin/python.vim @tpict
+runtime/ftplugin/qb64.vim @dkearns
+runtime/ftplugin/r.vim @jalvesaq
+runtime/ftplugin/racket.vim @benknoble
+runtime/ftplugin/readline.vim @dkearns
+runtime/ftplugin/rhelp.vim @jalvesaq
+runtime/ftplugin/rmd.vim @jalvesaq
+runtime/ftplugin/rnoweb.vim @jalvesaq
+runtime/ftplugin/routeros.vim @zainin
+runtime/ftplugin/rrst.vim @jalvesaq
+runtime/ftplugin/rst.vim @marshallward
+runtime/ftplugin/ruby.vim @tpope @dkearns
+runtime/ftplugin/sass.vim @tpope
+runtime/ftplugin/scala.vim @derekwyatt
+runtime/ftplugin/scss.vim @tpope
+runtime/ftplugin/sdoc.vim @gpanders
+runtime/ftplugin/sh.vim @dkearns
+runtime/ftplugin/solution.vim @dkearns
+runtime/ftplugin/spec.vim @ignatenkobrain
+runtime/ftplugin/ssa.vim @ObserverOfTime
+runtime/ftplugin/swayconfig.vim @jamespeapen
+runtime/ftplugin/systemverilog.vim @Kocha
+runtime/ftplugin/tap.vim @petdance
+runtime/ftplugin/tcsh.vim @dkearns
+runtime/ftplugin/tidy.vim @dkearns
+runtime/ftplugin/tmux.vim @ericpruitt
+runtime/ftplugin/toml.vim @averms
+runtime/ftplugin/tt2html.vim @petdance
+runtime/ftplugin/typescript.vim @dkearns
+runtime/ftplugin/typescriptreact.vim @dkearns
+runtime/ftplugin/vdf.vim @ObserverOfTime
+runtime/ftplugin/wast.vim @rhysd
+runtime/ftplugin/wget.vim @dkearns
+runtime/ftplugin/wget2.vim @dkearns
+runtime/ftplugin/xml.vim @chrisbra
+runtime/ftplugin/xs.vim @petdance
+runtime/ftplugin/zsh.vim @chrisbra
+runtime/indent/basic.vim @dkearns
+runtime/indent/bst.vim @tpope
+runtime/indent/cdl.vim @dkearns
+runtime/indent/chatito.vim @ObserverOfTime
+runtime/indent/clojure.vim @axvr
+runtime/indent/config.vim @dkearns
+runtime/indent/cs.vim @nickspoons
+runtime/indent/css.vim @dkearns
+runtime/indent/cucumber.vim @tpope
+runtime/indent/d.vim @dkearns
+runtime/indent/dosbatch.vim @k-takata
+runtime/indent/dtd.vim @dkearns
+runtime/indent/dylan.vim @dkearns
+runtime/indent/eiffel.vim @jocelyn
+runtime/indent/elm.vim @andys8
+runtime/indent/erlang.vim @hcs42
+runtime/indent/eruby.vim @tpope @dkearns
+runtime/indent/eterm.vim @dkearns
+runtime/indent/falcon.vim @steveno
+runtime/indent/framescript.vim @dkearns
+runtime/indent/freebasic.vim @dkearns
+runtime/indent/gdscript.vim @habamax
+runtime/indent/gitconfig.vim @tpope
+runtime/indent/gitolite.vim @sitaramc
+runtime/indent/go.vim @dbarnett
+runtime/indent/gyp.vim @ObserverOfTime
+runtime/indent/haml.vim @tpope
+runtime/indent/hare.vim @rsaihe
+runtime/indent/idlang.vim @dkearns
+runtime/indent/j.vim @glts
+runtime/indent/java.vim @xuhdev
+runtime/indent/javascript.vim @bounceme
+runtime/indent/json.vim @elzr
+runtime/indent/jsonc.vim @izhakjakov
+runtime/indent/julia.vim @carlobaldassi
+runtime/indent/ld.vim @dkearns
+runtime/indent/less.vim @genoma
+runtime/indent/liquid.vim @tpope
+runtime/indent/make.vim @dkearns
+runtime/indent/meson.vim @Liambeguin
+runtime/indent/mma.vim @dkearns
+runtime/indent/nginx.vim @chr4
+runtime/indent/nsis.vim @k-takata
+runtime/indent/occam.vim @dkearns
+runtime/indent/perl.vim @petdance
+runtime/indent/php.vim @2072
+runtime/indent/postscr.vim @mrdubya
+runtime/indent/prolog.vim @dkearns
+runtime/indent/ps1.vim @heaths
+runtime/indent/qb64.vim @dkearns
+runtime/indent/r.vim @jalvesaq
+runtime/indent/racket.vim @benknoble
+runtime/indent/readline.vim @dkearns
+runtime/indent/rhelp.vim @jalvesaq
+runtime/indent/rmd.vim @jalvesaq
+runtime/indent/rnoweb.vim @jalvesaq
+runtime/indent/rrst.vim @jalvesaq
+runtime/indent/ruby.vim @AndrewRadev @dkearns
+runtime/indent/sass.vim @tpope
+runtime/indent/scala.vim @derekwyatt
+runtime/indent/scss.vim @tpope
+runtime/indent/sh.vim @chrisbra
+runtime/indent/systemverilog.vim @Kocha
+runtime/indent/tcl.vim @dkearns
+runtime/indent/tcsh.vim @dkearns
+runtime/indent/teraterm.vim @k-takata
+runtime/indent/typescript.vim @HerringtonDarkholme
+runtime/indent/vroom.vim @dbarnett
+runtime/indent/wast.vim @rhysd
+runtime/indent/xml.vim @chrisbra
+runtime/indent/zsh.vim @chrisbra
+runtime/keymap/armenian-eastern_utf-8.vim @blinskey
+runtime/keymap/armenian-western_utf-8.vim @blinskey
+runtime/keymap/tamil_tscii.vim @yegappan
+runtime/lang/menu_en_gb.latin1.vim @mrdubya
+runtime/pack/dist/opt/cfilter/plugin/cfilter.vim @yegappan
+runtime/pack/dist/opt/matchit/ @chrisbra
+runtime/plugin/getscriptPlugin.vim @cecamp
+runtime/plugin/logiPat.vim @cecamp
+runtime/plugin/netrwPlugin.vim @cecamp
+runtime/plugin/tarPlugin.vim @cecamp
+runtime/plugin/vimballPlugin.vim @cecamp
+runtime/plugin/zipPlugin.vim @cecamp
+runtime/plugin/manpager.vim @Konfekt
+runtime/syntax/shared/hgcommitDiff.vim @vegerot
+runtime/syntax/abaqus.vim @costerwi
+runtime/syntax/aidl.vim @dpelle
+runtime/syntax/amiga.vim @cecamp
+runtime/syntax/arduino.vim @johshoff
+runtime/syntax/asciidoc.vim @aerostitch
+runtime/syntax/asm.vim @dkearns
+runtime/syntax/asmh8300.vim @dkearns
+runtime/syntax/asterisk.vim @jaunis
+runtime/syntax/autohotkey.vim @mmikeww
+runtime/syntax/awk.vim @dkearns
+runtime/syntax/basic.vim @dkearns
+runtime/syntax/bst.vim @tpope
+runtime/syntax/bzl.vim @dbarnett
+runtime/syntax/bzr.vim @hdima
+runtime/syntax/cabal.vim @coot
+runtime/syntax/cabalconfig.vim @coot
+runtime/syntax/cabalproject.vim @coot
+runtime/syntax/cf.vim @ernstvanderlinden
+runtime/syntax/chatito.vim @ObserverOfTime
+runtime/syntax/clojure.vim @axvr
+runtime/syntax/cs.vim @nickspoons
+runtime/syntax/csh.vim @cecamp
+runtime/syntax/cucumber.vim @tpope
+runtime/syntax/d.vim @JesseKPhillips
+runtime/syntax/dart.vim @pr3d4t0r
+runtime/syntax/datascript.vim @dpelle
+runtime/syntax/dcl.vim @cecamp
+runtime/syntax/desktop.vim @e-kwsm
+runtime/syntax/dosbatch.vim @mrdubya
+runtime/syntax/dosini.vim @xuhdev
+runtime/syntax/dot.vim @mmottl
+runtime/syntax/doxygen.vim @frogonwheels
+runtime/syntax/dtd.vim @chrisbra
+runtime/syntax/dts.vim @zonque
+runtime/syntax/editorconfig.vim @gpanders
+runtime/syntax/eiffel.vim @jocelyn
+runtime/syntax/elmfilt.vim @cecamp
+runtime/syntax/erlang.vim @hcs42
+runtime/syntax/eruby.vim @tpope @dkearns
+runtime/syntax/expect.vim @dkearns
+runtime/syntax/exports.vim @cecamp
+runtime/syntax/falcon.vim @steveno
+runtime/syntax/fennel.vim @gpanders
+runtime/syntax/fetchmail.vim @dkearns
+runtime/syntax/forth.vim @jkotlinski
+runtime/syntax/fpcmake.vim @dkearns
+runtime/syntax/freebasic.vim @dkearns
+runtime/syntax/fstab.vim @rid9
+runtime/syntax/gdresource.vim @habamax
+runtime/syntax/gdscript.vim @habamax
+runtime/syntax/gdshader.vim @habamax
+runtime/syntax/git.vim @tpope
+runtime/syntax/gitattributes.vim @ObserverOfTime
+runtime/syntax/gitcommit.vim @tpope
+runtime/syntax/gitconfig.vim @tpope
+runtime/syntax/gitignore.vim @ObserverOfTime
+runtime/syntax/gitolite.vim @sitaramc
+runtime/syntax/gitrebase.vim @tpope
+runtime/syntax/go.vim @bhcleek
+runtime/syntax/godoc.vim @dbarnett
+runtime/syntax/gprof.vim @dpelle
+runtime/syntax/groff.vim @jmarshall
+runtime/syntax/gyp.vim @ObserverOfTime
+runtime/syntax/haml.vim @tpope
+runtime/syntax/hare.vim @rsaihe
+runtime/syntax/haskell.vim @coot
+runtime/syntax/hgcommit.vim @k-takata
+runtime/syntax/hollywood.vim @sodero
+runtime/syntax/html.vim @dkearns
+runtime/syntax/i3config.vim @hiqua
+runtime/syntax/icon.vim @dkearns
+runtime/syntax/indent.vim @dkearns
+runtime/syntax/j.vim @glts
+runtime/syntax/jargon.vim @h3xx
+runtime/syntax/java.vim @fleiner
+runtime/syntax/javascript.vim @fleiner
+runtime/syntax/jsonc.vim @izhakjakov
+runtime/syntax/julia.vim @carlobaldassi
+runtime/syntax/kconfig.vim @chrisbra
+runtime/syntax/less.vim @genoma
+runtime/syntax/lex.vim @cecamp
+runtime/syntax/liquid.vim @tpope
+runtime/syntax/lisp.vim @cecamp
+runtime/syntax/lyrics.vim @ObserverOfTime
+runtime/syntax/lynx.vim @dkearns
+runtime/syntax/m3build.vim @dkearns
+runtime/syntax/m3quake.vim @dkearns
+runtime/syntax/mailcap.vim @dkearns
+runtime/syntax/make.vim @rohieb
+runtime/syntax/mallard.vim @jhradilek
+runtime/syntax/maple.vim @cecamp
+runtime/syntax/markdown.vim @tpope
+runtime/syntax/mason.vim @petdance
+runtime/syntax/meson.vim @Liambeguin
+runtime/syntax/modula3.vim @dkearns
+runtime/syntax/n1ql.vim @pr3d4t0r
+runtime/syntax/netrw.vim @cecamp
+runtime/syntax/nginx.vim @chr4
+runtime/syntax/ninja.vim @nico
+runtime/syntax/nix.vim @equill
+runtime/syntax/nroff.vim @jmarshall
+runtime/syntax/nsis.vim @k-takata
+runtime/syntax/openvpn.vim @ObserverOfTime
+runtime/syntax/pascal.vim @dkearns
+runtime/syntax/pbtxt.vim @lakshayg
+runtime/syntax/pdf.vim @tpope
+runtime/syntax/perl.vim @petdance
+runtime/syntax/php.vim @TysonAndre
+runtime/syntax/plsql.vim @lee-lindley
+runtime/syntax/pod.vim @petdance
+runtime/syntax/poefilter.vim @ObserverOfTime
+runtime/syntax/postscr.vim @mrdubya
+runtime/syntax/privoxy.vim @dkearns
+runtime/syntax/prolog.vim @XVilka
+runtime/syntax/ps1.vim @heaths
+runtime/syntax/ps1xml.vim @heaths
+runtime/syntax/psl.vim @danielkho
+runtime/syntax/qb64.vim @dkearns
+runtime/syntax/r.vim @jalvesaq
+runtime/syntax/racket.vim @benknoble
+runtime/syntax/raml.vim @in3d
+runtime/syntax/ratpoison.vim @trapd00r
+runtime/syntax/rc.vim @chrisbra
+runtime/syntax/rcs.vim @hdima
+runtime/syntax/rebol.vim @mrdubya
+runtime/syntax/rego.vim @zenmatic
+runtime/syntax/resolv.vim @rid9
+runtime/syntax/rmd.vim @jalvesaq
+runtime/syntax/rng.vim @jhradilek
+runtime/syntax/routeros.vim @zainin
+runtime/syntax/rpcgen.vim @cecamp
+runtime/syntax/rrst.vim @jalvesaq
+runtime/syntax/rst.vim @marshallward
+runtime/syntax/ruby.vim @dkearns
+runtime/syntax/sass.vim @tpope
+runtime/syntax/scala.vim @derekwyatt
+runtime/syntax/scss.vim @tpope
+runtime/syntax/sdoc.vim @gpanders
+runtime/syntax/sed.vim @dkearns
+runtime/syntax/sh.vim @cecamp
+runtime/syntax/sm.vim @cecamp
+runtime/syntax/spec.vim @ignatenkobrain
+runtime/syntax/sqloracle.vim @chrisbra
+runtime/syntax/squirrel.vim @zenmatic
+runtime/syntax/srt.vim @ObserverOfTime
+runtime/syntax/ssa.vim @ObserverOfTime
+runtime/syntax/sshconfig.vim @Jakuje
+runtime/syntax/sshdconfig.vim @Jakuje
+runtime/syntax/sudoers.vim @e-kwsm
+runtime/syntax/svn.vim @hdima
+runtime/syntax/swayconfig.vim @jamespeapen
+runtime/syntax/systemverilog.vim @Kocha
+runtime/syntax/tags.vim @cecamp
+runtime/syntax/tap.vim @petdance
+runtime/syntax/tcsh.vim @dkearns
+runtime/syntax/teraterm.vim @k-takata
+runtime/syntax/tex.vim @cecamp
+runtime/syntax/tidy.vim @dkearns
+runtime/syntax/tmux.vim @ericpruitt
+runtime/syntax/toml.vim @averms
+runtime/syntax/tt2.vim @petdance
+runtime/syntax/tt2html.vim @petdance
+runtime/syntax/tt2js.vim @petdance
+runtime/syntax/typescript.vim @HerringtonDarkholme
+runtime/syntax/typescriptcommon.vim @HerringtonDarkholme
+runtime/syntax/typescriptreact.vim @HerringtonDarkholme
+runtime/syntax/vdf.vim @ObserverOfTime
+runtime/syntax/vim.vim @cecamp
+runtime/syntax/vroom.vim @dbarnett
+runtime/syntax/wast.vim @rhysd
+runtime/syntax/wdl.vim @zenmatic
+runtime/syntax/wget.vim @dkearns
+runtime/syntax/wget2.vim @dkearns
+runtime/syntax/xbl.vim @dkearns
+runtime/syntax/xmath.vim @cecamp
+runtime/syntax/xml.vim @chrisbra
+runtime/syntax/xs.vim @petdance
+runtime/syntax/xslt.vim @Boobies
+runtime/syntax/xxd.vim @cecamp
+runtime/syntax/yacc.vim @cecamp
+runtime/syntax/zsh.vim @chrisbra
+runtime/tutor/tutor.eo @dpelle
+runtime/tutor/tutor.eo.utf-8 @dpelle
+runtime/tutor/tutor.fr @dpelle
+runtime/tutor/tutor.fr.utf-8 @dpelle
+src/iscygpty.* @k-takata
+src/libvterm/ @leonerd
+src/po/ca.po @nfdisco
+src/po/de.po @chrisbra
+src/po/eo.po @dpelle
+src/po/es.po @victorhck
+src/po/fi.po @flammie
+src/po/fr.po @dpelle
+src/po/ga.po @kscanne
+src/po/it.po @azc100
+src/po/ja.po @k-takata
+src/po/sr.po @eevan78
+src/po/tr.po @bitigchi
+src/po/uk.po @sakhnik
+src/xxd/ @jnweiger
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 0000000..1d7ad39
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1 @@
+custom: https://www.vim.org/sponsor/index.php
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..6e4af6d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,57 @@
+---
+name: Bug report
+description: Create a report to help us improve Vim.
+labels: [bug]
+
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for reporting issues of Vim!
+
+ If you want to report a security issue, instead of reporting it here
+ you can alternatively disclose it on
+ [huntr.dev](https://huntr.dev/bounties/disclose/?utm_campaign=vim%2Fvim&utm_medium=social&utm_source=github&target=https%3A%2F%2Fgithub.com%2Fvim%2Fvim).
+ They have rewards in the form of money, swag and CVEs.
+
+ To make it easier for us to help you please enter detailed information below.
+ - type: textarea
+ attributes:
+ label: Steps to reproduce
+ placeholder: |
+ 1.
+ 2.
+ 3.
+ 4.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Expected behaviour
+ placeholder: A clear and concise description of what you expected to happen.
+ validations:
+ required: true
+ - type: input
+ attributes:
+ label: Version of Vim
+ description: >
+ Including patch level, use ":version" to see it [e.g. 8.2.1234]
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Environment
+ description: >
+ OS [e.g. Ubuntu 21.10], terminal [e.g. GNOME Terminal 3.38.1], value of $TERM, shell [e.g. bash 5.1.8]; anything that might matter
+ placeholder: |
+ Operating system:
+ Terminal:
+ Value of $TERM:
+ Shell:
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Logs and stack traces
+ placeholder: Insert log or other text here (if necessary)
+ render: shell
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000..8fa535d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,22 @@
+---
+name: Feature request
+about: Suggest an enhancement for Vim
+title: ''
+labels: enhancement
+
+---
+
+_Instructions: Replace the template text and remove irrelevant text (including this line)_
+
+**Is your feature request about something that is currently impossible or hard to do? Please describe the problem.**
+A clear and concise description of what is hard to do. Ex. It is difficult to [...] when [...]
+(If it is related to runtime files, please check their header for where to discuss enhancements.)
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..5ace460
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..c8c4875
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,618 @@
+name: GitHub CI
+
+on:
+ push:
+ branches: ['**']
+ pull_request:
+
+# Cancels all previous workflow runs for pull requests that have not completed.
+concurrency:
+ # The concurrency group contains the workflow name and the branch name for
+ # pull requests or the commit hash for any other events.
+ group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
+ cancel-in-progress: true
+
+permissions:
+ contents: read # to fetch code (actions/checkout)
+
+jobs:
+ linux:
+ runs-on: ubuntu-20.04
+
+ env:
+ CC: ${{ matrix.compiler }}
+ TEST: test
+ SRCDIR: ./src
+ LEAK_CFLAGS: -DEXITFREE
+ CFLAGS: -Wno-deprecated-declarations
+ LOG_DIR: ${{ github.workspace }}/logs
+ TERM: xterm
+ DISPLAY: ':99'
+ DEBIAN_FRONTEND: noninteractive
+
+ strategy:
+ fail-fast: false
+ matrix:
+ features: [tiny, normal, huge]
+ compiler: [clang, gcc]
+ extra: [none]
+ include:
+ - features: tiny
+ compiler: clang
+ extra: nogui
+ - features: tiny
+ compiler: gcc
+ extra: nogui
+ - features: normal
+ shadow: ./src/shadow
+ - features: huge
+ coverage: true
+ - features: huge
+ compiler: gcc
+ coverage: true
+ extra: testgui
+ uchar: true
+ - features: huge
+ compiler: clang
+ extra: asan
+ - features: huge
+ compiler: gcc
+ coverage: true
+ extra: unittests
+ - features: normal
+ compiler: gcc
+ extra: vimtags
+
+ steps:
+ - name: Checkout repository from github
+ uses: actions/checkout@v3
+
+ - name: Install packages
+ run: |
+ PKGS=( \
+ gettext \
+ libgtk2.0-dev \
+ desktop-file-utils \
+ libtool-bin \
+ )
+ if ${{ matrix.features == 'huge' }}; then
+ PKGS+=( \
+ autoconf \
+ lcov \
+ libcanberra-dev \
+ libperl-dev \
+ python-dev \
+ python3-dev \
+ liblua5.3-dev \
+ lua5.3 \
+ ruby-dev \
+ tcl-dev \
+ cscope \
+ libsodium-dev \
+ )
+ fi
+ sudo apt update && sudo apt install -y "${PKGS[@]}"
+
+ - name: Install gcc-11
+ if: matrix.compiler == 'gcc'
+ run: |
+ sudo apt install -y gcc-11
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100
+ sudo update-alternatives --set gcc /usr/bin/gcc-11
+
+ - name: Install clang-16
+ if: matrix.compiler == 'clang'
+ run: |
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
+ . /etc/lsb-release
+ sudo add-apt-repository -y "deb http://apt.llvm.org/${DISTRIB_CODENAME}/ llvm-toolchain-${DISTRIB_CODENAME}-16 main"
+ sudo apt install -y clang-16 llvm-16
+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100
+ sudo update-alternatives --set clang /usr/bin/clang-16
+ sudo update-alternatives --install /usr/bin/llvm-cov llvm-cov /usr/bin/llvm-cov-16 100
+ sudo update-alternatives --install /usr/bin/asan_symbolize asan_symbolize /usr/bin/asan_symbolize-16 100
+
+ - name: Set up environment
+ run: |
+ mkdir -p "${LOG_DIR}"
+ mkdir -p "${HOME}/bin"
+ echo "${HOME}/bin" >> $GITHUB_PATH
+ (
+ echo "LINUX_VERSION=$(uname -r)"
+ echo "NPROC=$(getconf _NPROCESSORS_ONLN)"
+ echo "SND_DUMMY_DIR=${HOME}/snd-dummy"
+ echo "TMPDIR=${{ runner.temp }}"
+
+ case "${{ matrix.features }}" in
+ tiny)
+ echo "TEST=testtiny"
+ if ${{ contains(matrix.extra, 'nogui') }}; then
+ echo "CONFOPT=--disable-gui"
+ fi
+ ;;
+ normal)
+ ;;
+ huge)
+ echo "TEST=scripttests test_libvterm"
+ echo "CONFOPT=--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
+ ;;
+ esac
+
+ if ${{ matrix.coverage == true }}; then
+ CFLAGS="$CFLAGS --coverage -DUSE_GCOV_FLUSH"
+ echo "LDFLAGS=--coverage"
+ fi
+ if ${{ matrix.uchar == true }}; then
+ CFLAGS="$CFLAGS -funsigned-char"
+ fi
+ if ${{ contains(matrix.extra, 'testgui') }}; then
+ echo "TEST=-C src testgui"
+ fi
+ if ${{ contains(matrix.extra, 'unittests') }}; then
+ echo "TEST=unittests"
+ fi
+ if ${{ contains(matrix.extra, 'asan') }}; then
+ echo "SANITIZER_CFLAGS=-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize-recover=all -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer"
+ echo "ASAN_OPTIONS=print_stacktrace=1 log_path=${LOG_DIR}/asan"
+ echo "UBSAN_OPTIONS=print_stacktrace=1 log_path=${LOG_DIR}/ubsan"
+ echo "LSAN_OPTIONS=suppressions=${GITHUB_WORKSPACE}/src/testdir/lsan-suppress.txt"
+ fi
+ if ${{ contains(matrix.extra, 'vimtags') }}; then
+ echo "TEST=-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"
+ fi
+ echo "CFLAGS=$CFLAGS"
+ ) >> $GITHUB_ENV
+
+ - name: Set up system
+ run: |
+ if [[ ${CC} = clang ]]; then
+ # Use llvm-cov instead of gcov when compiler is clang.
+ ln -fs /usr/bin/llvm-cov ${HOME}/bin/gcov
+ fi
+ sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
+ sudo usermod -a -G audio "${USER}"
+ sudo bash ci/setup-xvfb.sh
+
+ # FIXME: Temporarily disabled because of build errors
+ #- name: Cache snd-dummy
+ # uses: actions/cache@v3
+ # with:
+ # path: ${{ env.SND_DUMMY_DIR }}
+ # key: linux-${{ env.LINUX_VERSION }}-snd-dummy
+
+ #- name: Set up snd-dummy
+ # run: |
+ # if [[ ! -e ${SND_DUMMY_DIR}/snd-dummy.ko ]]; then
+ # bash ci/build-snd-dummy.sh
+ # fi
+ # cd "${SND_DUMMY_DIR}"
+ # sudo insmod soundcore.ko
+ # sudo insmod snd.ko
+ # sudo insmod snd-pcm.ko
+ # sudo insmod snd-dummy.ko
+
+ - name: Check autoconf
+ if: contains(matrix.extra, 'unittests')
+ run: |
+ make -C src autoconf
+
+ - name: Set up shadow dir
+ if: matrix.shadow
+ run: |
+ make -C src shadow
+ echo "SRCDIR=${{ matrix.shadow }}" >> $GITHUB_ENV
+ echo "SHADOWOPT=-C ${{ matrix.shadow }}" >> $GITHUB_ENV
+
+ - name: Configure
+ run: |
+ ./configure --with-features=${{ matrix.features }} ${CONFOPT} --enable-fail-if-missing
+ # Append various warning flags to CFLAGS.
+ sed -i -f ci/config.mk.sed ${SRCDIR}/auto/config.mk
+ sed -i -f ci/config.mk.${CC}.sed ${SRCDIR}/auto/config.mk
+ if [[ ${CC} = clang ]]; then
+ # Suppress some warnings produced by clang 12 and later.
+ sed -i -f ci/config.mk.clang-12.sed ${SRCDIR}/auto/config.mk
+ fi
+
+ - name: Build
+ if: (!contains(matrix.extra, 'unittests'))
+ run: |
+ make ${SHADOWOPT} -j${NPROC}
+
+ - name: Check version
+ if: (!contains(matrix.extra, 'unittests'))
+ run: |
+ "${SRCDIR}"/vim --version
+ "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
+ "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
+
+ - name: Test
+ timeout-minutes: 20
+ run: |
+ do_test() { sg audio "sg $(id -gn) '$*'"; }
+ do_test make ${SHADOWOPT} ${TEST}
+
+ # - name: Coveralls
+ # if: matrix.coverage && github.event_name != 'pull_request'
+ # env:
+ # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
+ # COVERALLS_PARALLEL: true
+ # TRAVIS_JOB_ID: ${{ github.run_id }}
+ # run: |
+ # sudo apt-get install -y python3-setuptools python3-wheel
+ # sudo -H pip3 install pip -U
+ # # needed for https support for coveralls building cffi only works with gcc, not with clang
+ # CC=gcc pip3 install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
+ # ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
+
+ - name: Generate gcov files
+ if: matrix.coverage
+ run: |
+ cd "${SRCDIR}"
+ find . -type f -name '*.gcno' -exec gcov -pb {} + || true
+
+ - name: Codecov
+ if: matrix.coverage
+ uses: codecov/codecov-action@v3
+ with:
+ flags: linux,${{ matrix.features }}-${{ matrix.compiler }}-${{ matrix.extra }}
+
+ - name: ASan logs
+ if: contains(matrix.extra, 'asan') && !cancelled()
+ run: |
+ for f in $(grep -lR '#[[:digit:]]* *0x[[:xdigit:]]*' "${LOG_DIR}"); do
+ asan_symbolize -l "$f"
+ false # in order to fail a job
+ done
+
+ # coveralls:
+ # runs-on: ubuntu-20.04
+ #
+ # needs: linux
+ # if: always() && github.event_name != 'pull_request'
+ #
+ # steps:
+ # - name: Parallel finished
+ # env:
+ # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
+ # run: |
+ # curl -k "https://coveralls.io/webhook?repo_token=${COVERALLS_REPO_TOKEN}" -d "payload[build_num]=${GITHUB_RUN_ID}&payload[status]=done"
+
+ macos:
+ runs-on: macos-latest
+
+ env:
+ CC: clang
+ TEST: test
+ SRCDIR: ./src
+ LEAK_CFLAGS: -DEXITFREE
+ TERM: xterm
+
+ strategy:
+ fail-fast: false
+ matrix:
+ features: [tiny, normal, huge]
+
+ steps:
+ - name: Checkout repository from github
+ uses: actions/checkout@v3
+
+ - name: Install packages
+ if: matrix.features == 'huge'
+ env:
+ HOMEBREW_NO_AUTO_UPDATE: 1
+ run: |
+ brew install lua
+ echo "LUA_PREFIX=/usr/local" >> $GITHUB_ENV
+ brew uninstall perl
+
+ - name: Set up environment
+ run: |
+ (
+ echo "NPROC=$(getconf _NPROCESSORS_ONLN)"
+ case "${{ matrix.features }}" in
+ tiny)
+ echo "TEST=testtiny"
+ echo "CONFOPT=--disable-gui"
+ ;;
+ normal)
+ ;;
+ huge)
+ echo "CONFOPT=--enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
+ ;;
+ esac
+ ) >> $GITHUB_ENV
+
+ - name: Configure
+ run: |
+ ./configure --with-features=${{ matrix.features }} ${CONFOPT} --enable-fail-if-missing
+ # Append various warning flags to CFLAGS.
+ # BSD sed needs backup extension specified.
+ sed -i.bak -f ci/config.mk.sed ${SRCDIR}/auto/config.mk
+ # On macOS, the entity of gcc is clang.
+ sed -i.bak -f ci/config.mk.clang.sed ${SRCDIR}/auto/config.mk
+ # Suppress some warnings produced by clang 12 and later.
+ if clang --version | grep -qs 'Apple clang version \(1[3-9]\|[2-9]\)\.'; then
+ sed -i.bak -f ci/config.mk.clang-12.sed ${SRCDIR}/auto/config.mk
+ fi
+
+ - name: Build
+ env:
+ LC_ALL: C
+ run: |
+ make -j${NPROC}
+
+ - name: Check version
+ run: |
+ "${SRCDIR}"/vim --version
+ "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
+ "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
+
+ - name: Test
+ timeout-minutes: 20
+ run: |
+ make ${TEST}
+
+ windows:
+ runs-on: windows-2022
+
+ env:
+ # Interfaces
+ # Lua
+ LUA_VER: 54
+ LUA_VER_DOT: '5.4'
+ LUA_RELEASE: 5.4.2
+ LUA32_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win32_dllw6_lib.zip
+ LUA64_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win64_dllw6_lib.zip
+ LUA_DIR: D:\Lua
+ # do not want \L to end up in pathdef.c and compiler complaining about unknown escape sequences \l
+ LUA_DIR_SLASH: D:/Lua
+ # Python 2
+ PYTHON_VER: 27
+ PYTHON_VER_DOT: '2.7'
+ PYTHON_DIR: 'C:\Python27'
+ # Python 3
+ PYTHON3_VER: 311
+ PYTHON3_VER_DOT: '3.11'
+ # Other dependencies
+ # winpty
+ WINPTY_URL: https://github.com/rprichard/winpty/releases/download/0.4.3/winpty-0.4.3-msvc2015.zip
+ # Escape sequences
+ COL_RED: "\x1b[31m"
+ COL_GREEN: "\x1b[32m"
+ COL_YELLOW: "\x1b[33m"
+ COL_RESET: "\x1b[m"
+
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - { features: HUGE, toolchain: msvc, VIMDLL: no, GUI: no, arch: x64 }
+ - { features: HUGE, toolchain: mingw, VIMDLL: yes, GUI: yes, arch: x86, coverage: yes }
+ - { features: HUGE, toolchain: msvc, VIMDLL: no, GUI: yes, arch: x86 }
+ - { features: HUGE, toolchain: mingw, VIMDLL: yes, GUI: no, arch: x64, coverage: yes }
+ - { features: NORMAL, toolchain: msvc, VIMDLL: yes, GUI: no, arch: x86 }
+ - { features: NORMAL, toolchain: mingw, VIMDLL: no, GUI: yes, arch: x64 }
+ - { features: TINY, toolchain: msvc, VIMDLL: yes, GUI: yes, arch: x64 }
+ - { features: TINY, toolchain: mingw, VIMDLL: no, GUI: no, arch: x86 }
+
+ steps:
+ - name: Initialize
+ id: init
+ shell: bash
+ run: |
+ # Show Windows version
+ cmd /c ver
+
+ git config --global core.autocrlf input
+
+ if [ "${{ matrix.arch }}" = "x64" ]; then
+ cygreg=registry
+ pyreg=
+ echo "VCARCH=amd64" >> $GITHUB_ENV
+ echo "WARCH=x64" >> $GITHUB_ENV
+ echo "BITS=64" >> $GITHUB_ENV
+ echo "MSYSTEM=MINGW64" >> $GITHUB_ENV
+ else
+ cygreg=registry32
+ pyreg=-32
+ echo "VCARCH=x86" >> $GITHUB_ENV
+ echo "WARCH=ia32" >> $GITHUB_ENV
+ echo "BITS=32" >> $GITHUB_ENV
+ echo "MSYSTEM=MINGW32" >> $GITHUB_ENV
+ fi
+
+ echo "VCVARSALL=$(vswhere -products \* -latest -property installationPath)\\VC\\Auxiliary\\Build\\vcvarsall.bat" >> $GITHUB_ENV
+ if [ "${{ matrix.features }}" != "TINY" ]; then
+ if [ "${{ matrix.arch }}" = "x86" ]; then
+ choco install python2 --no-progress --forcex86
+ else
+ choco install python2 --no-progress
+ fi
+ fi
+ python3_dir=$(cat "/proc/$cygreg/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON3_VER_DOT}$pyreg/InstallPath/@")
+ echo "PYTHON3_DIR=$python3_dir" >> $GITHUB_ENV
+
+ - uses: msys2/setup-msys2@v2
+ if: matrix.toolchain == 'mingw'
+ with:
+ update: true
+ install: tar
+ pacboy: >-
+ make:p gcc:p
+ msystem: ${{ env.MSYSTEM }}
+ release: false
+
+ - name: Checkout repository from github
+ uses: actions/checkout@v3
+
+ - name: Create a list of download URLs
+ shell: cmd
+ run: |
+ type NUL > urls.txt
+ echo %LUA_RELEASE%>> urls.txt
+ echo %WINPTY_URL%>> urls.txt
+
+ - name: Cache downloaded files
+ uses: actions/cache@v3
+ with:
+ path: downloads
+ key: ${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('urls.txt') }}
+
+ - name: Download dependencies
+ shell: cmd
+ run: |
+ path C:\Program Files\7-Zip;%path%
+ if not exist downloads mkdir downloads
+
+ echo %COL_GREEN%Download Lua%COL_RESET%
+ call :downloadfile %LUA${{ env.BITS }}_URL% downloads\lua.zip
+ 7z x downloads\lua.zip -o%LUA_DIR% > nul || exit 1
+
+ echo %COL_GREEN%Download winpty%COL_RESET%
+ call :downloadfile %WINPTY_URL% downloads\winpty.zip
+ 7z x -y downloads\winpty.zip -oD:\winpty > nul || exit 1
+ copy /Y D:\winpty\%WARCH%\bin\winpty.dll src\winpty%BITS%.dll
+ copy /Y D:\winpty\%WARCH%\bin\winpty-agent.exe src\
+
+ goto :eof
+
+ :downloadfile
+ :: call :downloadfile <URL> <localfile>
+ if not exist %2 (
+ curl -f -L %1 -o %2
+ )
+ if ERRORLEVEL 1 (
+ rem Retry once.
+ curl -f -L %1 -o %2 || exit 1
+ )
+ goto :eof
+
+ - name: Build (MSVC)
+ if: matrix.toolchain == 'msvc'
+ shell: cmd
+ run: |
+ call "%VCVARSALL%" %VCARCH%
+ cd src
+ if "${{ matrix.VIMDLL }}"=="yes" (
+ set GUI=yes
+ ) else (
+ set GUI=${{ matrix.GUI }}
+ )
+ if "${{ matrix.features }}"=="HUGE" (
+ nmake -nologo -f Make_mvc.mak ^
+ FEATURES=${{ matrix.features }} ^
+ GUI=%GUI% IME=yes ICONV=yes VIMDLL=${{ matrix.VIMDLL }} ^
+ DYNAMIC_LUA=yes LUA=%LUA_DIR% ^
+ DYNAMIC_PYTHON=yes PYTHON=%PYTHON_DIR% ^
+ DYNAMIC_PYTHON3=yes PYTHON3=%PYTHON3_DIR%
+ ) else (
+ nmake -nologo -f Make_mvc.mak ^
+ FEATURES=${{ matrix.features }} ^
+ GUI=%GUI% IME=yes ICONV=yes VIMDLL=${{ matrix.VIMDLL }}
+ )
+
+ - name: Build (MinGW)
+ if: matrix.toolchain == 'mingw'
+ shell: msys2 {0}
+ run: |
+ cd src
+ if [ "${{ matrix.VIMDLL }}" = "yes" ]; then
+ GUI=yes
+ else
+ GUI=${{ matrix.GUI }}
+ fi
+ if [ "${{ matrix.features }}" = "HUGE" ]; then
+ mingw32-make -f Make_ming.mak -j2 \
+ FEATURES=${{ matrix.features }} \
+ GUI=$GUI IME=yes ICONV=yes VIMDLL=${{ matrix.VIMDLL }} \
+ DYNAMIC_LUA=yes LUA=${LUA_DIR_SLASH} \
+ DYNAMIC_PYTHON=yes PYTHON=${PYTHON_DIR} \
+ DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \
+ STATIC_STDCPLUS=yes COVERAGE=${{ matrix.coverage }}
+ else
+ mingw32-make -f Make_ming.mak -j2 \
+ FEATURES=${{ matrix.features }} \
+ GUI=$GUI IME=yes ICONV=yes VIMDLL=${{ matrix.VIMDLL }} \
+ STATIC_STDCPLUS=yes
+ fi
+
+ - name: Check version
+ shell: cmd
+ run: |
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PATH%;%PYTHON3_DIR%
+ if "${{ matrix.GUI }}"=="yes" (
+ start /wait src\gvim -u NONE -i NONE -c "redir > version.txt | ver | q" || exit 1
+ type version.txt
+ echo.
+ start /wait src\gvim -u NONE -i NONE -c "redir! > version.txt | so ci\if_ver-1.vim | q"
+ start /wait src\gvim -u NONE -i NONE -c "redir >> version.txt | so ci\if_ver-2.vim | q"
+ type version.txt
+ del version.txt
+ ) else (
+ src\vim --version || exit 1
+ src\vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
+ src\vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
+ )
+
+ #- name: Prepare Artifact
+ # shell: cmd
+ # run: |
+ # mkdir artifacts
+ # copy src\*vim.exe artifacts
+ # copy src\vim*.dll artifacts
+ #
+ #- name: Upload Artifact
+ # uses: actions/upload-artifact@v1
+ # with:
+ # name: vim${{ matrix.bits }}-${{ matrix.toolchain }}
+ # path: ./artifacts
+
+ - name: Test and show the result of testing gVim
+ if: matrix.GUI == 'yes' || matrix.VIMDLL == 'yes'
+ shell: cmd
+ timeout-minutes: 15
+ run: |
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PATH%;%PYTHON3_DIR%
+ call "%VCVARSALL%" %VCARCH%
+
+ echo %COL_GREEN%Test gVim:%COL_RESET%
+ cd src\testdir
+ if "${{ matrix.GUI }}"=="yes" (
+ nmake -nologo -f Make_mvc.mak VIMPROG=..\gvim || exit 1
+ ) else (
+ @rem Run only tiny tests.
+ nmake -nologo -f Make_mvc.mak tiny VIMPROG=..\gvim || exit 1
+ )
+
+ - name: Test and show the result of testing Vim
+ if: matrix.GUI == 'no' || matrix.VIMDLL == 'yes'
+ shell: cmd
+ timeout-minutes: 15
+ run: |
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PATH%;%PYTHON3_DIR%
+ call "%VCVARSALL%" %VCARCH%
+
+ echo %COL_GREEN%Test Vim:%COL_RESET%
+ cd src\testdir
+ nmake -nologo -f Make_mvc.mak clean
+ if "${{ matrix.GUI }}"=="no" (
+ nmake -nologo -f Make_mvc.mak VIMPROG=..\vim || exit 1
+ ) else (
+ @rem Run only tiny tests.
+ nmake -nologo -f Make_mvc.mak tiny VIMPROG=..\vim || exit 1
+ )
+
+ - name: Generate gcov files
+ if: matrix.coverage
+ shell: msys2 {0}
+ run: |
+ cd src
+ find . -type f -name '*.gcno' -exec gcov -pb {} + || true
+
+ - name: Codecov
+ if: matrix.coverage
+ uses: codecov/codecov-action@v3
+ with:
+ directory: src
+ flags: windows,${{ matrix.toolchain }}-${{ matrix.arch }}-${{ matrix.features }}
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..efd91a4
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,76 @@
+# For most projects, this workflow file will not need changing; you simply need
+# to commit it to your repository.
+#
+# You may wish to alter this file to override the set of languages analyzed,
+# or to provide custom queries or build logic.
+name: "CodeQL"
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ # The branches below must be a subset of the branches above
+ branches: [master]
+ schedule:
+ - cron: '0 18 * * 1'
+
+# Cancels all previous workflow runs for pull requests that have not completed.
+concurrency:
+ # The concurrency group contains the workflow name and the branch name for
+ # pull requests or the commit hash for any other events.
+ group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
+ cancel-in-progress: true
+
+permissions:
+ contents: read # to fetch code (actions/checkout)
+
+jobs:
+ analyze:
+ permissions:
+ contents: read # to fetch code (actions/checkout)
+ security-events: write # (github/codeql-action/autobuild)
+
+ name: Analyze
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ # Override automatic language detection by changing the below list
+ # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
+ language: ['cpp', 'python']
+ # Learn more...
+ # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
+
+ steps:
+ - name: Checkout repository from github
+ uses: actions/checkout@v3
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: ${{ matrix.language }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
+
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v2
+
+ # ℹī¸ Command-line programs to run using the OS shell.
+ # 📚 https://git.io/JvXDl
+
+ # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines
+ # and modify them (or add more) to build your code if your project
+ # uses a compiled language
+
+ #- run: |
+ # make bootstrap
+ # make release
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
new file mode 100644
index 0000000..e399170
--- /dev/null
+++ b/.github/workflows/coverity.yml
@@ -0,0 +1,84 @@
+name: Coverity
+on:
+ schedule:
+ - cron: '42 0 * * *' # Run once per day, to avoid Coverity's submission limits
+ workflow_dispatch:
+
+permissions:
+ contents: read # to fetch code (actions/checkout)
+
+jobs:
+ scan:
+ runs-on: ubuntu-20.04
+
+ env:
+ CC: gcc
+ CFLAGS: -Wno-deprecated-declarations
+ DEBIAN_FRONTEND: noninteractive
+ TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
+
+ steps:
+ - name: Checkout repository from github
+ if: env.TOKEN
+ uses: actions/checkout@v3
+
+ - name: Download Coverity
+ if: env.TOKEN
+ run: |
+ wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=vim" -O coverity_tool.tgz
+ mkdir cov-scan
+ tar ax -f coverity_tool.tgz --strip-components=1 -C cov-scan
+
+ - name: Install packages
+ if: env.TOKEN
+ run: |
+ sudo apt update && sudo apt install -y \
+ autoconf \
+ gettext \
+ libcanberra-dev \
+ libperl-dev \
+ python-dev \
+ python3-dev \
+ liblua5.3-dev \
+ lua5.3 \
+ ruby-dev \
+ tcl-dev \
+ libgtk2.0-dev \
+ desktop-file-utils \
+ libtool-bin \
+ libsodium-dev
+
+ - name: Set up environment
+ if: env.TOKEN
+ run: |
+ echo "$(pwd)/cov-scan/bin" >> $GITHUB_PATH
+ (
+ echo "NPROC=$(getconf _NPROCESSORS_ONLN)"
+ echo "CONFOPT=--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
+ ) >> $GITHUB_ENV
+
+ - name: Configure
+ if: env.TOKEN
+ run: |
+ ./configure --with-features=huge ${CONFOPT} --enable-fail-if-missing
+ # Append various warning flags to CFLAGS.
+ sed -i -f ci/config.mk.sed src/auto/config.mk
+ sed -i -f ci/config.mk.${CC}.sed src/auto/config.mk
+
+ - name: Build/scan vim
+ if: env.TOKEN
+ run: |
+ cov-build --dir cov-int make -j${NPROC}
+
+ - name: Submit results
+ if: env.TOKEN
+ run: |
+ tar zcf cov-scan.tgz cov-int
+ curl --form token=$TOKEN \
+ --form email=$EMAIL \
+ --form file=@cov-scan.tgz \
+ --form version="$(git rev-parse HEAD)" \
+ --form description="Automatic GHA scan" \
+ 'https://scan.coverity.com/builds?project=vim'
+ env:
+ EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}