Merge branch 'master' of https://github.com/vscosta/yap-6.3
This commit is contained in:
13
misc/editors/language-yap/snippets/language-yap.cson
Normal file
13
misc/editors/language-yap/snippets/language-yap.cson
Normal file
@@ -0,0 +1,13 @@
|
||||
".source.prolog":
|
||||
DCG:
|
||||
prefix: "dcg"
|
||||
body: "${1:clause} --> ${0:body}."
|
||||
Fact:
|
||||
prefix: "fact"
|
||||
body: "${1:functor_name}(${2:argument})."
|
||||
Rule:
|
||||
prefix: "rule"
|
||||
body: '''
|
||||
${1:functor_name}(${2:argument}) :-
|
||||
${0:%% body}
|
||||
'''
|
Reference in New Issue
Block a user