Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Link lisp urules to clojure #43

Closed
wants to merge 1 commit into from

2 participants

@bjeanes

I imagine you'd like tests around these rules based on https://github.com/kana/vim-smartinput/blob/master/t/api.vim#L1027-1055, but I couldn't make sense of what should go there.

I thought I'd start this pull request as a place to start a discussion or get input

@kana
Owner

Thank you for the suggestion. It's better to define the rules also for Clojure. I'll include your patch and write tests for them later.

But runtime files for Clojure are not officially bundled with the latest version of Vim (7.3.487, at the moment) yet. Some of the rules depends on how the current buffer are syntax highlighted. And I don't know much about Vim configuration for Clojure. What runtime files for Clojure are the de facto standard? This one? http://www.vim.org/scripts/script.php?script_id=2501

@bjeanes
@kana kana closed this pull request from a commit
@kana Merge branch 'support-for-clojure'
Close gh-43.
895fc9a
@kana kana closed this in 895fc9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2012
  1. @bjeanes

    Link lisp urules to clojure

    bjeanes authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  autoload/smartinput.vim
View
3  autoload/smartinput.vim
@@ -167,6 +167,9 @@ function! smartinput#define_default_rules() "{{{2
\ urules.table['```'],
\ urules.table['English'],
\ ],
+ \ 'clojure': [
+ \ urules.table['Lisp quote'],
+ \ ],
\ 'csh': [
\ urules.table[''''' as strong quote'],
\ ],
Something went wrong with that request. Please try again.