Download binary from releases.
# Download latest vimhelp to the current working directory
curl -L https://raw.githubusercontent.com/liquidz/clj-vimhelp/main/script/download | bash
./vimhelp --helpConvert vim help file to HTML.
clojure -Sdeps '{:deps {liquidz/clj-vimhelp {:git/url "https://github.com/liquidz/clj-vimhelp" :sha "38dea58d0516f8f6bbc424da14300c831a824242"}}}' \
-m vimhelp.core <file1> <file2> ... <fileN> [OPTIONS]| Short | Long | Note | Default value |
|---|---|---|---|
-c | --css URL | CSS URL |
|
-t | --title TITLE | Help title | no title |
-s | --style STYLE | CSS style rules | |
-o | --output OUTPUT | Output directory | |
-w | --wrapper WRAPPER | Body wrapper div class | container |
--copyright COPYRIGHT | Copyright text | ||
--blob BLOB | Blob URL | ||
--index INDEX | Index file name | ||
-v | --verbose | ||
-h | --help |
Parse vim help to to Clojure data structure.
(require '[vimhelp.parser :as p]
'[clojure.java.io :as io])
(with-open [r (io/reader"/path/to/vim/help/file")]
(p/parse r))GraalVM is required.
$GRAALVM_HOMEmust be defined.Run
make native-imageto make native image.
Copyright © 2019-2020 Masashi Iizuka
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.