Skip to content

Commit

Permalink
Add support for TimL
Browse files Browse the repository at this point in the history
New Clojure-like language atop VimL. Only differences for vim-sexp is
the lack of the #= EvalReader and the addition of the #* reader macro.

https://github.com/tpope/timl
  • Loading branch information
guns committed Apr 1, 2014
1 parent 2626182 commit b0878de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion autoload/sexp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ let s:delimiter = s:bracket . '|\s'
let s:string_region = '\vstring|regex|pattern'
let s:ignored_region = s:string_region . '|comment|character'
let s:macro_filetype_characters = {
\ 'clojure': "#'`~@^_=",
\ 'clojure': "#'`~@^_="
\ 'scheme': "#'`,@",
\ 'lisp': "#'`,@",
\ 'timl': "#'`~@^_*"
\ }
let s:default_macro_characters = s:macro_filetype_characters['scheme']
let s:pairs = {
Expand Down
2 changes: 1 addition & 1 deletion doc/vim-sexp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ A string representing an |autocmd-pattern| for the |FileType|s in which you
wish to activate vim-sexp mappings.
>
" Default
let g:sexp_filetypes = 'clojure,scheme,lisp'
let g:sexp_filetypes = 'clojure,scheme,lisp,timl'
<
*g:sexp_enable_insert_mode_mappings*
Toggle insert mode mappings in |g:sexp_filetypes|.
Expand Down
2 changes: 1 addition & 1 deletion plugin/sexp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let g:sexp_loaded = 1
""" Global State {{{1

if !exists('g:sexp_filetypes')
let g:sexp_filetypes = 'clojure,scheme,lisp'
let g:sexp_filetypes = 'clojure,scheme,lisp,timl'
endif

if !exists('g:sexp_enable_insert_mode_mappings')
Expand Down

0 comments on commit b0878de

Please sign in to comment.