comparison runtime/ftplugin/clojure.vim @ 9644:9f7bcc2c3b97

commit https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 24 14:12:38 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jul 2016 14:15:06 +0200
parents c52a655d927d
children 5b37a0bf7e3a
comparison
equal deleted inserted replaced
9643:5aee77e6b395 9644:9f7bcc2c3b97
1 " Vim filetype plugin file 1 " Vim filetype plugin file
2 " Language: Clojure 2 " Language: Clojure
3 " Author: Meikel Brandmeyer <mb@kotka.de> 3 " Author: Meikel Brandmeyer <mb@kotka.de>
4 " 4 "
5 " Maintainer: Sung Pae <self@sungpae.com> 5 " Maintainer: Sung Pae <self@sungpae.com>
6 " URL: https://github.com/guns/vim-clojure-static 6 " URL: https://github.com/guns/vim-clojure-static
7 " License: Same as Vim 7 " License: Same as Vim
8 " Last Change: 27 March 2014 8 " Last Change: 18 July 2016
9 9
10 if exists("b:did_ftplugin") 10 if exists("b:did_ftplugin")
11 finish 11 finish
12 endif 12 endif
13 let b:did_ftplugin = 1 13 let b:did_ftplugin = 1
41 " The arglists for these functions are generally in the form of [x & body]; 41 " The arglists for these functions are generally in the form of [x & body];
42 " Functions that accept a flat list of forms do not treat the first argument 42 " Functions that accept a flat list of forms do not treat the first argument
43 " specially and hence are not indented specially. 43 " specially and hence are not indented specially.
44 " 44 "
45 " -*- LISPWORDS -*- 45 " -*- LISPWORDS -*-
46 " Generated from https://github.com/guns/vim-clojure-static/blob/vim-release-010/clj/src/vim_clojure_static/generate.clj 46 " Generated from https://github.com/guns/vim-clojure-static/blob/vim-release-011/clj/src/vim_clojure_static/generate.clj
47 setlocal lispwords=as->,binding,bound-fn,case,catch,cond->,cond->>,condp,def,definline,definterface,defmacro,defmethod,defmulti,defn,defn-,defonce,defprotocol,defrecord,defstruct,deftest,deftest-,deftype,doseq,dotimes,doto,extend,extend-protocol,extend-type,fn,for,if,if-let,if-not,if-some,let,letfn,locking,loop,ns,proxy,reify,set-test,testing,when,when-first,when-let,when-not,when-some,while,with-bindings,with-in-str,with-local-vars,with-open,with-precision,with-redefs,with-redefs-fn,with-test 47 setlocal lispwords=as->,binding,bound-fn,case,catch,cond->,cond->>,condp,def,definline,definterface,defmacro,defmethod,defmulti,defn,defn-,defonce,defprotocol,defrecord,defstruct,deftest,deftest-,deftype,doseq,dotimes,doto,extend,extend-protocol,extend-type,fn,for,if,if-let,if-not,if-some,let,letfn,locking,loop,ns,proxy,reify,set-test,testing,when,when-first,when-let,when-not,when-some,while,with-bindings,with-in-str,with-local-vars,with-open,with-precision,with-redefs,with-redefs-fn,with-test
48 48
49 " Provide insert mode completions for special forms and clojure.core. As 49 " Provide insert mode completions for special forms and clojure.core. As
50 " 'omnifunc' is set by popular Clojure REPL client plugins, we also set 50 " 'omnifunc' is set by popular Clojure REPL client plugins, we also set
51 " 'completefunc' so that the user has some form of completion available when 51 " 'completefunc' so that the user has some form of completion available when
80 endif 80 endif
81 81
82 " Win32 can filter files in the browse dialog 82 " Win32 can filter files in the browse dialog
83 if has("gui_win32") && !exists("b:browsefilter") 83 if has("gui_win32") && !exists("b:browsefilter")
84 let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" . 84 let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" .
85 \ "ClojureScript Source Files (*.cljs)\t*.cljs\n" . 85 \ "ClojureScript Source Files (*.cljs)\t*.cljs\n" .
86 \ "Java Source Files (*.java)\t*.java\n" . 86 \ "Java Source Files (*.java)\t*.java\n" .
87 \ "All Files (*.*)\t*.*\n" 87 \ "All Files (*.*)\t*.*\n"
88 let b:undo_ftplugin .= ' | unlet! b:browsefilter' 88 let b:undo_ftplugin .= ' | unlet! b:browsefilter'
89 endif 89 endif
90 90
91 let &cpo = s:cpo_save 91 let &cpo = s:cpo_save
92 92