Skip to content

Commit

Permalink
fix: add new special forms to lispwords
Browse files Browse the repository at this point in the history
  • Loading branch information
mnacamura committed Feb 7, 2024
1 parent 1fa54e0 commit 6de3de2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixed

- Special forms indent: `case`, `case-try`, `match-try`, `fcollect`, `faccumulate`

## [1.0.0][v1.0.0] (2024-02-06)

### Added
Expand Down
6 changes: 3 additions & 3 deletions ftplugin/fennel.vim
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ setl commentstring=;\ %s
setl lisp

setl lispwords=fn,lambda,λ,let
setl lispwords+=match
setl lispwords+=match,match-try,case,case-try
setl lispwords+=with-open
setl lispwords+=collect,icollect
setl lispwords+=accumulate
setl lispwords+=collect,icollect,fcollect
setl lispwords+=accumulate,faccumulate
setl lispwords+=when,each,for,while,doto,macro

if strlen(&omnifunc) == 0
Expand Down

0 comments on commit 6de3de2

Please sign in to comment.