Files
neovim/runtime/lua/vim
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
..
2023-09-20 13:42:41 +01:00
2024-01-15 08:45:30 +00:00
2023-12-30 17:40:53 +01:00
2024-01-16 09:33:10 +00:00
2024-01-16 09:33:10 +00:00
2023-09-14 08:23:01 -05:00
2023-09-20 13:42:41 +01:00
2024-01-02 14:32:43 +01:00
2024-01-03 19:17:52 +00:00
2023-12-30 17:40:53 +01:00
2023-09-23 23:46:45 +01:00
2023-12-30 17:40:53 +01:00
2023-09-23 23:46:45 +01:00
2024-01-03 19:17:52 +00:00