-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add support for highlighting non-aliased public namespace members. #7
base: master
Are you sure you want to change the base?
Conversation
…names continue to be highlighted.
Hi, thanks for the patch! I'll review later this week during the holiday! |
Since I made this PR I have actually made some other changes as well with respect to making |
I submitted an issue on the fireplace project and heard back from Tim Pope and he suggested a different way of doing detection for fireplace, so I've updated my fork. If it looks good to you, have at it. Just for reference: tpope/vim-fireplace#341 |
I got |
I got the same error when running diff --git a/autoload/vim_clojure_highlight.vim b/autoload/vim_clojure_highlight.vim
index 3492758..1345694 100644
--- a/autoload/vim_clojure_highlight.vim
+++ b/autoload/vim_clojure_highlight.vim
@@ -9,7 +9,7 @@ function! s:session_exists()
endfunction
function! s:require()
- if fireplace#evalparse("(find-ns 'vim-clojure-highlight)") ==# ''
+ if fireplace#evalparse("(find-ns 'vim-clojure-highlight)") ==# v:null
let buf = join(readfile(globpath(&runtimepath, 'autoload/vim_clojure_highlight.clj')), "\n")
call fireplace#session_eval('(do ' . buf . ')')
endif |
…espace to work with latest version of fireplace.
This commit adds jrdoane's fork of vim-clojure-highlight since guns/vim-clojure-highlight#7 has not yet been merged.
For example, allows full names like
clojure.core/conj
to get highlighted based on namespaces described in(all-ns)
.