Commits

Meikel Brandmeyer committed 22f47f2

Update syntax and completions for 1.3

  • Participants
  • Parent commits 8b9c61d

Comments (0)

Files changed (8)

File build.gradle

     main = "vimclojure.gencompletions/main"
     args = [
         "clojure.core",
+        "clojure.data",
         "clojure.inspector",
         "clojure.java.browse",
         "clojure.java.browse-ui",

File vim/ftplugin/clojure/completions-clojure.core.txt

 *err*
 *file*
 *flush-on-newline*
+*fn-loader*
 *in*
 *math-context*
 *ns*
 *print-readably*
 *read-eval*
 *source-path*
+*unchecked-math*
 *use-context-classloader*
+*verbose-defrecords*
 *warn-on-reflection*
 ->>
 -cache-protocol-fn
 bean
 bigdec
 bigint
+biginteger
 binding
 bit-and
 bit-and-not
 create-struct
 cycle
 dec
+dec'
 decimal?
 declare
 definline
 distinct
 distinct?
 doall
-doc
 dorun
 doseq
 dosync
 error-mode
 eval
 even?
+every-pred
 every?
 extend
 extend-protocol
 file-seq
 filter
 find
-find-doc
+find-keyword
 find-ns
 find-protocol-impl
 find-protocol-method
 import
 in-ns
 inc
+inc'
 init-proxy
 instance?
 int
 primitives-classnames
 print
 print-ctor
-print-doc
 print-dup
 print-method
-print-namespace-doc
 print-simple
-print-special-doc
 print-str
 printf
 println
 read
 read-line
 read-string
+realized?
 reduce
 reductions
 ref
 shutdown-agents
 slurp
 some
+some-fn
 sort
 sort-by
 sorted-map
 sorted-set
 sorted-set-by
 sorted?
-special-form-anchor
 special-symbol?
 spit
 split-at
 symbol
 symbol?
 sync
-syntax-symbol-anchor
 take
 take-last
 take-nth
 true?
 type
 unchecked-add
+unchecked-add-int
+unchecked-byte
+unchecked-char
 unchecked-dec
-unchecked-divide
+unchecked-dec-int
+unchecked-divide-int
+unchecked-double
+unchecked-float
 unchecked-inc
+unchecked-inc-int
+unchecked-int
+unchecked-long
 unchecked-multiply
+unchecked-multiply-int
 unchecked-negate
-unchecked-remainder
+unchecked-negate-int
+unchecked-remainder-int
+unchecked-short
 unchecked-subtract
+unchecked-subtract-int
 underive
 unquote
 unquote-splicing
 with-open
 with-out-str
 with-precision
+with-redefs
+with-redefs-fn
 xml-seq
 zero?
 zipmap

File vim/ftplugin/clojure/completions-clojure.data.txt

+diff

File vim/ftplugin/clojure/completions-clojure.main.txt

+demunge
 load-script
 main
 repl
 repl-exception
 repl-prompt
 repl-read
+root-cause
 skip-if-eol
 skip-whitespace
+stack-element-str
 with-bindings

File vim/ftplugin/clojure/completions-clojure.pprint.txt

 pprint-logical-block
 pprint-newline
 pprint-tab
+print-length-loop
+print-table
 set-pprint-dispatch
 simple-dispatch
 with-pprint-dispatch

File vim/ftplugin/clojure/completions-clojure.repl.txt

 apropos
+demunge
 dir
 dir-fn
+doc
+find-doc
+pst
+root-cause
+set-break-handler!
 source
 source-fn
+stack-element-str
+thread-stopper

File vim/ftplugin/clojure/completions-clojure.test.txt

 compose-fixtures
 deftest
 deftest-
+do-report
 file-position
 function?
 get-possibly-unbound-var

File vim/syntax/clojure.vim

 		\            . "*math-context* *unchecked-math* *print-dup* "
 		\            . "*print-level* *use-context-classloader* "
 		\            . "*source-path* *clojure-version* *read-eval* "
-		\            . "*1 *2 *3 *e",
+		\            . "*fn-loader* *1 *2 *3 *e",
 		\ "Define":    "def- defn defn- defmacro defmulti defmethod "
 		\            . "defstruct defonce declare definline definterface "
 		\            . "defprotocol defrecord deftype",
 		\ "Macro":     "and or -> assert with-out-str with-in-str with-open "
 		\            . "locking destructure ns dosync binding delay "
-		\            . "lazy-cons lazy-cat time assert doc with-precision "
+		\            . "lazy-cons lazy-cat time assert with-precision "
 		\            . "with-local-vars .. doto memfn proxy amap areduce "
 		\            . "refer-clojure future lazy-seq letfn "
 		\            . "with-loading-context bound-fn extend extend-protocol "
 		\            . "println pr-str prn-str print-str println-str newline "
 		\            . "macroexpand macroexpand-1 monitor-enter monitor-exit "
 		\            . "eval find-doc file-seq flush hash load load-file "
-		\            . "print-doc read read-line scan slurp subs sync test "
+		\            . "read read-line scan slurp subs sync test "
 		\            . "format printf loaded-libs use require load-reader "
-		\            . "load-string + - * / < <= == >= > dec inc min max neg? "
-		\            . "pos? quot rem zero? rand rand-int decimal? even? odd? "
-		\            . "float? integer? number? ratio? rational? "
+		\            . "load-string + +' -' *' /' < <= == >= > dec dec' "
+		\            . "inc inc' min max "
+		\            . "neg? pos? quot rem zero? rand rand-int decimal? even? "
+		\            . "odd? float? integer? number? ratio? rational? "
 		\            . "bit-and bit-or bit-xor bit-not bit-shift-left "
 		\            . "bit-shift-right symbol keyword gensym count conj seq "
 		\            . "first rest ffirst fnext nfirst nnext second every? "
 		\            . "not-empty ns-aliases ns-unalias num partition "
 		\            . "parents pmap prefer-method primitives-classnames "
 		\            . "print-ctor print-dup print-method print-simple "
-		\            . "print-special-doc proxy-call-with-super "
+		\            . "proxy-call-with-super "
 		\            . "proxy-super rationalize read-string remove "
 		\            . "remove-watch replace resultset-seq rsubseq "
 		\            . "seque set-validator! shutdown-agents subseq "
-		\            . "special-form-anchor syntax-symbol-anchor supers "
+		\            . "supers "
 		\            . "unchecked-add unchecked-dec unchecked-divide "
 		\            . "unchecked-inc unchecked-multiply unchecked-negate "
 		\            . "unchecked-subtract underive xml-seq trampoline "
 		\            . "release-pending-sends the-ns unquote while "
 		\            . "unchecked-remainder alter-meta! "
 		\            . "future-call methods mod pcalls prefers pvalues "
-		\            . "print-namespace-doc reset! "
+		\            . "reset! realized? some-fn "
 		\            . "reset-meta! type vary-meta unquote-splicing "
 		\            . "sequence clojure-version counted? "
 		\            . "chunk-buffer chunk-append chunk chunk-first "
 		\            . "satisfies?  set-error-handler!  set-error-mode! "
 		\            . "short-array shorts shuffle sorted-set-by take-last "
 		\            . "thread-bound? transient vector-of with-bindings* fnil "
-		\            . "spit"
+		\            . "spit biginteger every-pred find-keyword "
+		\            . "unchecked-add-int unchecked-byte unchecked-char "
+		\            . "unchecked-dec-int unchecked-divide-int "
+		\            . "unchecked-double unchecked-float "
+		\            . "unchecked-inc-int unchecked-int unchecked-long "
+		\            . "unchecked-multiply-int unchecked-negate-int "
+		\            . "unchecked-remainder-int unchecked-short "
+		\            . "unchecked-subtract-int with-redefs with-redefs-fn"
 		\ }
 
 	for category in keys(s:builtins_map)