mirror of
https://github.com/vim/vim
synced 2025-03-15 14:27:53 +01:00
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: #6796 closes: #8115 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Benjamin Kowarsch <trijezdci@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
16 lines
383 B
VimL
16 lines
383 B
VimL
" Vim syntax file
|
|
" Language: Modula-2
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
|
" Previous Maintainer: pf@artcom0.north.de (Peter Funk)
|
|
" Last Change: 2024 Jan 04
|
|
|
|
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
let dialect = modula2#GetDialect()
|
|
exe "runtime! syntax/modula2/opt/" .. dialect .. ".vim"
|
|
|
|
let b:current_syntax = "modula2"
|
|
|
|
" vim: nowrap sw=2 sts=2 ts=8 noet:
|