Giter Club home page Giter Club logo

leaf-keywords.el's Introduction

leaf-keywords.el's People

Contributors

conao3 avatar leotaku avatar nasyxx avatar rocktakey avatar toyboot4e avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

leaf-keywords.el's Issues

Feature request: straight package manager support

I noticed leaf already has el-get support through the :el-get keyword, however I prefer to use the straight package manager.

Would you be willing to add support for straight to leaf?

The straight's interface works as follows:

;; fetch the "package-name" package from a set of predefined repos
(straight-use-package 'package-name)
;; fetch a package defined by a recipe
(straight-use-package '(package-name keywords))

If you want I can gladly open a PR myself, but with this being a pretty small addition you might just prefer to add it yourself to avoid future FSF licensing woes.

Package version using straight.el

Regards,

What a great job with leaf.el, I have migrated all my settings from use-package to leaf.el, and it's great.

Since I use leaf.el + straight.el, and the latter has the possibility of using specific versions of the packages to be installed, this feature could be included in leaf.el through leaf-keywords.el.

Thank you

Fix :diminish expansion

Description

Currently, the expansion relates :diminish keyword is wrong.

Issue leaf-block

(leaf abbrev
  :diminish abbrev-mode
  :config
  (if (file-exists-p abbrev-file-name)
      (quietly-read-abbrev-file)))

Current expansion

(prog1 'abbrev
  (eval-after-load 'diminish
    '(progn
       (diminish . abbrev-mode)))
  (if (file-exists-p abbrev-file-name)
      (quietly-read-abbrev-file)))

Expected output from macroexpand-1 of the leaf-block

(prog1 'abbrev
  (eval-after-load 'diminish
    '(progn
       (diminish 'abbrev-mode)))
  (if (file-exists-p abbrev-file-name)
      (quietly-read-abbrev-file)))

Refactoring :el-get handler

#35, :straight keyword added, and normalizer is very simple.
Since :el-get is expected the same input, both normalizer can be shared.

:diminish does not work

I'm trying to use: diminish to hide some minor modes, but it doesn't work as you can see in the attached image, for example ivy-mode

img-2019-09-09-214515

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.