Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ftdetect/maude.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
au BufNewFile,BufRead *.maude set filetype=maude
au BufNewFile,BufRead *.fm set filetype=maude
4 changes: 2 additions & 2 deletions syntax/maude.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ command! -nargs=+ MaudeHiLink hi def link <args>

syn keyword maudeModule mod fmod omod endm endfm endm is
syn keyword maudeImports protecting including extending
syn keyword maudeSorts sorts subsorts
syn keyword maudeSorts sort sorts subsort subsorts
syn keyword maudeStatements op ops var vars eq ceq
syn match maudeFlags "\[.*\]"
syn keyword maudeCommands reduce
Expand Down Expand Up @@ -76,7 +76,7 @@ syn match maudeSorts "MatchPair\?"
syn match maudeSorts "Substitution\?"

" From the BOOL module
syn keyword maudeStatements and or xor not implies
syn keyword maudeStatements if and or xor not implies

syn keyword maudeLiteral true false
syn match maudeLiteral "\<\(0[0-7]*\|0[xX]\x\+\|\d\+\)[lL]\=\>"
Expand Down