Add support for highlighting non-aliased public namespace members.#7
Add support for highlighting non-aliased public namespace members.#7jrdoane wants to merge 6 commits intoguns:masterfrom
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/conjto get highlighted based on namespaces described in(all-ns).