Skip to content

cursork/vim-clojure-highlight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

       _
      (_)
__   ___ _ __ ___
\ \ / / | '_ ` _ \
 \ V /| | | | | | |
  \_/ |_|_| |_| |_|


      _       _
     | |     (_)
  ___| | ___  _ _   _ _ __ ___
 / __| |/ _ \| | | | | '__/ _ \
| (__| | (_) | | |_| | | |  __/
 \___|_|\___/| |\__,_|_|  \___|
            _/ |
           |__/
 _     _       _     _ _       _     _
| |   (_)     | |   | (_)     | |   | |
| |__  _  __ _| |__ | |_  __ _| |__ | |_
| '_ \| |/ _` | '_ \| | |/ _` | '_ \| __|
| | | | | (_| | | | | | | (_| | | | | |_
|_| |_|_|\__, |_| |_|_|_|\__, |_| |_|\__|
          __/ |           __/ |
         |___/           |___/

Extend builtin syntax highlighting to referred and aliased vars in Clojure buffers.

This is essentially a re-implementation of the dynamic highlighting feature from Meikel Brandmeyer's VimClojure project.

Requires:

If you'd like this ported to another REPL plugin, please create an issue! This can be done quite easily.

Installation

Install as a normal Vim plugin. If you are unfamiliar with this process, please refer to Pathogen.

Usage

vim-clojure-highlight installs a hook that executes the relevant syntax statements when a *.clj file is loaded.

This will fail silently if fireplace is unable to connect to an nREPL server.

Reload your buffer with :e to update syntax matches.

Reference highlighting can be toggled with the following command:

:ToggleClojureHighlightReferences

and can be disabled by default:

let g:clojure_highlight_references = 0

About

Extend builtin syntax highlighting to referred and aliased vars in Clojure buffers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 57.3%
  • Vim Script 42.7%