-
-
Notifications
You must be signed in to change notification settings - Fork 139
Syntax Loading Error #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is my namespace (ns caisha.controllers.register-test I belive midje is the culprite because I've noticed this happening mostly with files that contain midje.sweet. |
This definitely isn't fireplace. Maybe some dynamic highlighter. |
Edit: It looks like its vim-clojure-highlight which only works when fireplace is enabled. Sorry. I can confirm that this problem stops immediately once I move vim fireplace out of my .bundle. I'm not sure in what way fireplace interacts with syntax files from other plugins, but it is certainly causing this error. I only have about 6 or 7 vim plugins so I tested by added/removing them one at a time until the behavior stopped. The problem is the combination of vim clojure static and fireplace, certain files or inclusion in my namespace cause this to happen, and it breaks syntax, hightlight and other things no only for clojure but perhaps other syntaxes as well. (I'm seeing weird behavior after this error happens with some html files, where files I've opened prior to getting this error will have the usual html highlighting/indentation and others won't. For example after this happens and I open and html file and try to fix indentation with gg=G I get ever line indendented a tab from the one above it.). |
FYI @debetimi it is the |
For some reason certain namespaces cause errors with vim-clojure-static when I have fireplaced enabled.
I get this error below, after which all the highlight is completed messed up. Also when this happens something weird happens with buffers because I get an "file already exists" warning and I'm forced to save with w!:
"test/clj/caisha/controllers/register_test.clj" 62L, 3304C
Error detected while processing function 68_syntax_keyword:
line 2:
E395: contains argument not accepted here
E475: Invalid argument: clojureFunc +' decimal? restart-agent sort-by macroexpand ensure chunk-first tree-seq unchecked-remainder-int seq reduce find-ns get-thread-bindings co
ntains? every? proxy-mappings keep-indexed subs ref-min-history set one-of take-last bit-set FALSEY butlast satisfies? line-seq unchecked-subtract-int take-nth first re-groups
seq? dec' ns-unmap println-str with-bindings* iterator-seq iterate slurp newline body nine-of short-array fn? doall prefers enumeration-seq dissoc atom bit-shift-right query-
string print-method anything peek aget last pr namespace push-thread-bindings bases = remove-ns take vector? thread-bound? send-via boolean bit-shift-left find-var rand-int ac
lone chunk dec future-call resultset-seq struct map juxt ns-publics < test rest ex-data compile isa? munge set-error-mode! re-seq char? make-hierarchy set-agent-send-executor!
keep char mapcat unchecked-long aset-long some? unchecked-negate reverse range sort -cache-protocol-fn unchecked-inc-int map-indexed rand-nth comp a
E395: contains argument not accepted here
E475: Invalid argument: clojureFunc +' decimal? restart-agent sort-by macroexpand ensure chunk-first tree-seq unchecked-remainder-int seq reduce find-ns get-thread-bindings co
ntains? every? proxy-mappings keep-indexed subs ref-min-history set one-of take-last bit-set FALSEY butlast satisfies? line-seq unchecked-subtract-int take-nth first re-groups
seq? dec' ns-unmap println-str with-bindings* iterator-seq iterate slurp newline body nine-of short-array fn? doall prefers enumeration-seq dissoc atom bit-shift-right query-
string print-method anything peek aget last pr namespace push-thread-bindings bases = remove-ns take vector? thread-bound? send-via boolean bit-shift-left find-var rand-int ac
lone chunk dec future-call resultset-seq struct map juxt ns-publics < test rest ex-data compile isa? munge set-error-mode! re-seq char? make-hierarchy set-agent-send-executor!
keep char mapcat unchecked-long aset-long some? unchecked-negate reverse range sort -cache-protocol-fn unchecked-inc-int map-indexed rand-nth comp a
The text was updated successfully, but these errors were encountered: