neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

modula2.vim (535B)


      1 " Vim syntax file
      2 " Language:		Modula-2
      3 " Maintainer:		Doug Kearns <dougkearns@gmail.com>
      4 " Previous Maintainer:	pf@artcom0.north.de (Peter Funk)
      5 " Last Change:		2024 Jan 04
      6 " 2025 Apr 16 by Vim Project (set 'cpoptions' for line continuation, #17121)
      7 
      8 if exists("b:current_syntax")
      9  finish
     10 endif
     11 
     12 let s:cpo_save = &cpo
     13 set cpo&vim
     14 
     15 let dialect = modula2#GetDialect()
     16 exe "runtime! syntax/modula2/opt/" .. dialect .. ".vim"
     17 
     18 let b:current_syntax = "modula2"
     19 
     20 let &cpo = s:cpo_save
     21 unlet s:cpo_save
     22 
     23 " vim: nowrap sw=2 sts=2 ts=8 noet: