neovim/runtime/compiler
Sean Dewar 91dc04a5e1
vim-patch:9.1.0013: Modula2 filetype support lacking (#27020)
Problem:  Modula2 filetype support lacking
Solution: Improve the Modula-2 runtime support, add additional modula2
          dialects, add compiler plugin, update syntax highlighting,
          include syntax tests, update Makefiles (Doug Kearns)

closes: vim/vim#6796
closes: vim/vim#8115

68a8947069

- Luaify the detection script:

  - Split the `(*!m2foo*)` and `(*!m2foo+bar*)` detection into two Lua patterns,
    as Lua capture groups cannot be used with `?` and friends (as they only work
    on character classes).

  - Use `vim.api.nvim_buf_call()` (ew) to call `modula2#SetDialect()` to ensure
    `b:modula2` is set for the given bufnr.

- Skip the syntax screendump tests. (A shame as they test some of the detection
  from `(*!m2foo+bar*)` tags, but I tested this locally and it seems to work)

- Port the synmenu.vim changes from Vim9 script. (Also tested this locally)

- (And also add the missing comma for `b:browsefilter` from earlier.)

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2024-01-16 17:45:57 +00:00
..
ant.vim
bcc.vim
bdf.vim
cargo.vim vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
checkstyle.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
cm3.vim vim-patch:56994d215815 2021-05-02 12:44:04 -04:00
context.vim
cs.vim vim-patch:5477506a9f01 2019-08-02 16:20:23 +02:00
csslint.vim
cucumber.vim
dart2js.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
dart2native.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
dart.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
dartanalyser.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
dartdevc.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
dartdoc.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
dartfmt.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
decada.vim
dot.vim
dotnet.vim vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
erlang.vim vim-patch:5477506a9f01 2019-08-02 16:20:23 +02:00
eruby.vim
eslint.vim vim-patch:207f009326c8 2021-04-29 21:56:34 -04:00
fbc.vim vim-patch:e0e391755432 2021-05-01 23:19:58 -04:00
fortran_cv.vim vim-patch:5477506a9f01 2019-08-02 16:20:23 +02:00
fortran_elf90.vim
fortran_F.vim
fortran_g77.vim
fortran_lf95.vim
fpc.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
g95.vim
gawk.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
gcc.vim
gfortran.vim
ghc.vim
gjs.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
gm2.vim vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
gnat.vim
go.vim
haml.vim
hare.vim vim-patch:9fbdbb814f4a (#20376) 2022-09-28 12:48:36 +02:00
hp_acc.vim
icc.vim
icon.vim vim-patch:d592deb33652 (#19002) 2022-06-17 20:38:21 +02:00
ifort.vim
intel.vim
irix5_c.vim
irix5_cpp.vim
javac.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
jest.vim vim-patch:partial 1588bc8ebee2 (#17656) 2022-03-09 08:40:16 +01:00
jikes.vim vim-patch:5477506a9f01 2019-08-02 16:20:23 +02:00
jjs.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
jshint.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
jsonlint.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
mcs.vim
mips_c.vim
mipspro_c89.vim
mipspro_cpp.vim
modelsim_vcom.vim
msbuild.vim
msvc.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
neato.vim
ocaml.vim vim-patch:7e6a515ed14e 2021-05-01 22:29:03 -04:00
onsgmls.vim vim-patch:5477506a9f01 2019-08-02 16:20:23 +02:00
pbx.vim
perl.vim vim-patch:8c1b8cb2e0b5 (#18966) 2022-06-15 09:20:32 +02:00
perlcritic.vim vim-patch:8c1b8cb2e0b5 (#18966) 2022-06-15 09:20:32 +02:00
php.vim
podchecker.vim vim-patch:8c1b8cb2e0b5 (#18966) 2022-06-15 09:20:32 +02:00
powershell.vim vim-patch:130cbfc31235 2021-05-02 12:03:34 -04:00
pylint.vim
pyunit.vim
raco.vim vim-patch:9b03d3e75b42 (#20013) 2022-08-31 08:08:51 +02:00
racomake.vim vim-patch:9b03d3e75b42 (#20013) 2022-08-31 08:08:51 +02:00
racosetup.vim vim-patch:9b03d3e75b42 (#20013) 2022-08-31 08:08:51 +02:00
racotest.vim vim-patch:9b03d3e75b42 (#20013) 2022-08-31 08:08:51 +02:00
rake.vim
README.txt vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
rhino.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
rspec.vim
rst.vim
rubocop.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
ruby.vim
rubyunit.vim
rustc.vim vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
sass.vim
scdoc.vim vim-patch:partial:3f32a5f1601a (#18555) 2022-05-13 15:20:58 +02:00
se.vim
shellcheck.vim vim-patch:d58a3bf7dac8 2021-05-01 02:01:25 -04:00
sml.vim vim-patch:partial 1588bc8ebee2 (#17656) 2022-03-09 08:40:16 +01:00
spectral.vim vim-patch:partial 53f7fccc9413 (#15631) 2021-09-11 16:47:45 +02:00
splint.vim vim-patch:5477506a9f01 2019-08-02 16:20:23 +02:00
stack.vim
standard.vim vim-patch:207f009326c8 2021-04-29 21:56:34 -04:00
stylelint.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
tcl.vim
tex.vim vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
tidy.vim vim-patch:e0e391755432 2021-05-01 23:19:58 -04:00
ts-node.vim runtime/typescript: 3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0 2020-10-05 23:24:43 -04:00
tsc.vim runtime/typescript: 3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0 2020-10-05 23:24:43 -04:00
typedoc.vim vim-patch:3d1cde8a2f28 2021-04-29 21:08:09 -04:00
xbuild.vim
xmllint.vim xmllint.vim: patch runtime/compiler to 1c6737b20a5 2020-11-22 22:36:17 +01:00
xmlwf.vim vim-patch:5477506a9f01 2019-08-02 16:20:23 +02:00
xo.vim vim-patch:8.2.1410: adding compiler plugin requires test change 2020-08-14 18:20:30 -04:00
yamllint.vim vim-patch:partial 53f7fccc9413 (#15631) 2021-09-11 16:47:45 +02:00
zig_build_exe.vim vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
zig_build.vim vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
zig_test.vim vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
zig.vim vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
zsh.vim runtime/zsh: 23515b4ef7580af8b9d3b964a558ab2007cacda5 2021-01-30 20:50:04 +00:00

This directory contains Vim scripts to be used with a specific compiler.
They are used with the ":compiler" command.

These scripts usually set options, for example 'errorformat'.
See ":help write-compiler-plugin".

If you want to write your own compiler plugin, have a look at the other files
for how to do it, the format is simple.

If you think a compiler plugin you have written is useful for others, please
send it to the vim-dev mailing list: <vim-dev@vim.org>