Skip to content

Commit

Permalink
Merge pull request #101 from monkoose/syntax
Browse files Browse the repository at this point in the history
Highlight new syntax forms
  • Loading branch information
Olical authored Mar 21, 2022
2 parents 4242b56 + b834c93 commit 9bf15df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/fennel.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ setlocal formatoptions-=t
setlocal comments=n:;
setlocal commentstring=;\ %s

setlocal lispwords+=collect,icollect,with-open,module
setlocal lispwords+=collect,icollect,with-open,module,accumulate

let &cpo = s:cpo_save
3 changes: 3 additions & 0 deletions syntax/fennel.vim
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ syn keyword FennelSpecialForm while
syn keyword FennelSpecialForm ~=
syn keyword FennelSpecialForm with-open
syn keyword FennelSpecialForm λ
syn keyword FennelSpecialForm collect
syn keyword FennelSpecialForm icollect
syn keyword FennelSpecialForm accumulate

" Aniseed macros
syn keyword FennelSpecialForm module
Expand Down

0 comments on commit 9bf15df

Please sign in to comment.