-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
autocmd BufNewFile,BufReadPost *.proof set filetype=proof |
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,2 @@ | ||
setlocal foldmethod=indent | ||
setlocal foldignore= |
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,24 @@ | ||
" Vim syntax file | ||
" Language: Structured Proof Markup Language | ||
" Maintainer: Izaak Meckler | ||
|
||
if exists("b:current_syntax") | ||
finish | ||
end | ||
|
||
" proof is case sensitive | ||
syn case match | ||
|
||
" Keywords | ||
syn keyword proofKeywords theorem definition claim cases let take assume prove macros comment because suppose then | ||
syn match proofKeywords /such that/ | ||
|
||
syn include @LATEX syntax/tex.vim | ||
syn region proofTexBlock start="\v\[\|" end="\v\|\]" keepend contains=@LATEX | ||
" syn region proofTexBlock start="begintex" end="endtex" keepend contains=@LATEX | ||
|
||
let b:current_syntax = "proof" | ||
|
||
hi def link proofKeywords Constant | ||
|
||
|