Files
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
..
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2017-11-06 05:26:16 +01:00
2023-09-13 17:23:45 +02:00
2021-04-29 21:08:09 -04:00
2021-05-02 12:44:04 -04:00
2017-04-29 01:47:36 +02:00
2019-08-02 16:20:23 +02:00
2017-04-30 22:10:21 +02:00
2017-04-28 21:13:55 +02:00
2021-04-29 23:35:37 -04:00
2021-04-29 23:35:37 -04:00
2021-04-29 23:35:37 -04:00
2021-04-29 23:35:37 -04:00
2021-04-29 23:35:37 -04:00
2021-04-29 23:35:37 -04:00
2021-04-29 23:35:37 -04:00
2014-07-29 02:12:31 +00:00
2022-12-08 16:33:38 +01:00
2019-08-02 16:20:23 +02:00
2019-07-29 20:50:07 +02:00
2021-04-29 21:56:34 -04:00
2021-05-01 23:19:58 -04:00
2019-08-02 16:20:23 +02:00
2021-09-13 16:33:41 +02:00
2014-07-29 02:12:31 +00:00
2021-04-29 21:08:09 -04:00
2019-08-02 16:20:22 +02:00
2017-04-30 22:16:30 +02:00
2021-04-29 21:08:09 -04:00
2014-12-30 13:51:39 +01:00
2017-04-28 21:13:55 +02:00
2022-09-28 12:48:36 +02:00
2014-07-29 02:12:31 +00:00
2022-06-17 20:38:21 +02:00
2021-04-29 23:35:37 -04:00
2019-08-02 16:20:23 +02:00
2021-04-29 21:08:09 -04:00
2021-04-29 21:08:09 -04:00
2021-04-29 21:08:09 -04:00
2014-07-29 02:12:31 +00:00
2023-08-13 13:25:10 +01:00
2021-05-01 22:29:03 -04:00
2019-08-02 16:20:23 +02:00
2014-07-29 02:12:31 +00:00
2022-06-15 09:20:32 +02:00
2022-06-15 09:20:32 +02:00
2014-07-29 02:12:31 +00:00
2022-06-15 09:20:32 +02:00
2021-05-02 12:03:34 -04:00
2017-04-30 22:10:21 +02:00
2022-08-31 08:08:51 +02:00
2022-08-31 08:08:51 +02:00
2022-08-31 08:08:51 +02:00
2022-08-31 08:08:51 +02:00
2019-07-29 20:50:07 +02:00
2023-08-13 13:25:10 +01:00
2021-04-29 23:35:37 -04:00
2019-07-29 20:50:07 +02:00
2017-11-07 01:16:42 +01:00
2021-04-29 21:08:09 -04:00
2019-07-29 20:50:07 +02:00
2019-07-29 20:50:07 +02:00
2023-09-13 17:23:45 +02:00
2017-04-28 21:13:55 +02:00
2014-07-29 02:12:31 +00:00
2021-05-01 02:01:25 -04:00
2019-08-02 16:20:23 +02:00
2018-10-29 23:55:45 +01:00
2021-04-29 21:56:34 -04:00
2021-04-29 21:08:09 -04:00
2014-07-29 02:12:31 +00:00
2021-09-13 16:33:41 +02:00
2021-05-01 23:19:58 -04:00
2021-04-29 21:08:09 -04:00
2019-08-02 16:20:23 +02:00
2022-12-08 16:33:38 +01:00
2022-12-08 16:33:38 +01:00
2022-12-08 16:33:38 +01: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>