Skip to content

Commit

Permalink
Merge pull request #4 from Cian911/missing-keywords/aug-updates
Browse files Browse the repository at this point in the history
Add missing resource keywords
  • Loading branch information
Cian911 authored Aug 22, 2021
2 parents 2dc1610 + ef4e0c4 commit d2217bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions indent/cadence.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
" Vim syntax file
" Language: Cadence
" Maintainer: Cian911
" Latest Revision: 22 August 2021

if exists("b:did_indent")
finish
endif
Expand Down
6 changes: 3 additions & 3 deletions syntax/cadence.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Cadence
" Maintainer: Cian Gallagher
" Latest Revision: 05 May 2021
" Maintainer: Cian911
" Latest Revision: 22 August 2021

if exists("b:current_syntax")
finish
Expand All @@ -13,7 +13,7 @@ syn keyword celBlockSelf self
syn keyword celBlockVar let var nextgroup=celVarStr skipwhite
syn keyword celBlockFun fun
syn keyword celBlockVariables true false nil
syn keyword celBlockCmd for emit execute resource create do while if do destroy pre post
syn keyword celBlockCmd for emit execute resource create do while if do destroy pre post prepare transaction from

" Types
syn keyword celBlockInt Int Int8 Int16 Int32 Int64 Int128 Int256
Expand Down

0 comments on commit d2217bb

Please sign in to comment.