diff options
author | Guillaume Pasquet <dev@etenil.net> | 2024-02-21 09:45:02 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2024-02-21 09:45:02 +0000 |
commit | 537493917a7738b4b720e0c43ad5e0268e41b6c6 (patch) | |
tree | 91f7ce23de044011f7f4296491302fe3a9d0fecb /README.md |
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..ac2e298 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Semver.el + +Semver.el is an Emacs plugin to interpret semver constraints in an +easier to understand form, because no one wants to screw up their +version constraints! + + + +## How to install + +Download semver.el and place it in your emacs load path, then put the +following in your configuration file: + +```elisp +(require 'semver) + +(keymap-global-set "C-c C-l" #'semver--expand-at-point) +``` + +## Usage + +This package exposes two interactive functions `semver--expand` and +`semver--expand-at-point`. The first will prompt for a semver string +to expand, whereas the second will attempt to read a semver string +where your cursor is and print the version constraint in the echo +area.
\ No newline at end of file |