Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more keywords #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
7 changes: 5 additions & 2 deletions syntax/gf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ endif

" Keywords
syn keyword gfStructural abstract concrete resource interface instance
syn keyword gfStructural incomplete of with open
syn keyword gfStructural incomplete of with open in
syn keyword gfStructural cat fun lincat lin oper flags
syn keyword gfStructural def data lindef printname param
syn keyword gfType Str Type PType
syn match gfStructural "\*\*\|-"
syn keyword gfConditional case table overload
syn keyword gfConditional case table overload variants let where pre

" language
syn match gfFunction "[[:alpha:]][[:alnum:]_]*"
Expand All @@ -39,4 +41,5 @@ hi def link gfSpecialChar SpecialChar
hi def link gfDelimiter Delimiter
hi def link gfSymbols Operator
hi def link gfOperators Operator
hi def link gfType Type