Skip to content

Commit

Permalink
style: sort lispwords according to Fennel reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mnacamura committed Feb 7, 2024
1 parent ce986e2 commit 1fa54e0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ftplugin/fennel.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
" Vim filetype plugin file
" Language: Fennel
" Last Change: 2021-07-07
" Last Change: 2024-02-07
" Original Maintainer: Calvin Rose
" Maintainer: Mitsuhiro Nakamura <m.nacamura@gmail.com>
" URL: https://github.com/mnacamura/vim-fennel-syntax
Expand Down Expand Up @@ -45,10 +45,13 @@ setl comments=n:;
setl commentstring=;\ %s

setl lisp
setl lispwords=fn,lambda,let,match,when,each,for,while,doto,macro
setl lispwords+=λ
setl lispwords+=with-open,collect,icollect

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

if strlen(&omnifunc) == 0
setl omnifunc=syntaxcomplete#Complete
Expand Down

0 comments on commit 1fa54e0

Please sign in to comment.