

GitHub - hylang/hy-mode: Hy mode for Emacs
source link: https://github.com/hylang/hy-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

An Emacs major mode for Hy, a lisp embedded in python.
Provides autocompletion, documentation lookup, and all features required to make developing in Hy enjoyable and productive.
Installation
hy-mode
is available in MELPA.
IDE components like autocompletion via company-mode rely on jedhy
, which can
be installed as standard with pip install jedhy
in your virtual environment of
choice, see https://github.com/ekaschalk/jedhy.
Jedhy should auto-start whenever it finds it.
Currently, completing imported packages requires sending the
imports/requires/sys.path.extend manually in the current buffer with M-x
hy-jedhy-update-imports
.
The precise features enabled are: company-mode
, eldoc-mode
, and
hy-describe-thing-at-point
for looking up docs of the symbol at point.
Spacemacs users - Hy has its own layer in its dev branch.
Configuring
Company/Eldoc support is enabled by default with hy-jedhy--enable?
.
Indentation can be customized with hy-indent--exactly
and hy-indent--fuzzily
.
See hy-shell.el
for configuring the shell.
Raising Issues
Please provide the version of Hy you are using. The last confirmed version of Hy
jedhy is compatible with is: 0.16.0
.
The IDE features and management is feature-full but nascent. If you encounter issues please provide as much details as you can.
Contributing
hy-mode
is well-tested. It uses buttercup rather than ert
.
Execute tests after running cask install
with the command: cask exec buttercup -L .
Process-based tests currently rely on setting hy-test--pyvenv-name
to the name
of a virtual environment containing Hy, see hy-test.el
. If not set, then
a warning will be given and process-based tests will be skipped.
Recommend
-
176
vim-hy A syntax file for Hy. Requires a Vim built with Python support and Hy installed so that Vim can load it. You can verify this with :python import hy ...
-
153
Emacs support for Stan 2021-01-30 Version 10.2.1 bugfix for #64 2020-08-30 Version 10.2.0 update for Stan version 2.24 Packages an...
-
160
Haskell Mode for Emacs This is an Emacs mode for editing, developing and debugging Haskell programs. Home page. I just want to thank everybody invol...
-
102
elm-mode Elm mode for Emacs. Features Syntax highlighting. Intelligent indentation. Integration with elm-make Integration with elm-repl Integration with
-
98
Emacs mode for GNU APL Author contact information Elias Mårtenson Email: [email protected] Installing gnu-apl-mode To install, add the f...
-
96
README.md fsharp-mode Provides support for the F# language in Emacs. Includes the following features: Support for F# Interactive Displays type signatures and tooltips...
-
98
README.md Pig mode for Emacs pig-mode is an Emacs major mode for editing Pig scripts. Currently it supports syntax highlighting and indentation for Pi...
-
143
README.md PHP Mode for GNU Emacs
-
48
Join GitHub today GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
-
41
Join GitHub today GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software togethe...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK