Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add improved Modula-2 runtime support (WIP)
See vim#6796.
- Loading branch information
Showing
43 changed files
with
2,300 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
" Vim filetype plugin file | ||
" Language: Modula-2 | ||
" Maintainer: Doug Kearns <dougkearns@gmail.com> | ||
" Last Change: 2022 Oct 18 | ||
|
||
" Dialect can be one of pim, iso, r10 | ||
function modula2#GetDialect() abort | ||
|
||
if exists("b:modula2.dialect") | ||
return b:modula2.dialect | ||
endif | ||
|
||
if exists("g:modula2_default_dialect") | ||
let dialect = g:modula2_default_dialect | ||
else | ||
let dialect = "pim" | ||
endif | ||
|
||
return dialect | ||
endfunction | ||
|
||
" vim: nowrap sw=2 sts=2 ts=8 noet fdm=marker: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.