Add kivy layer

Removed the kivy package from the major-modes layer.
This commit is contained in:
Ryota Kayanuma 2019-08-21 18:05:30 +09:00 committed by duianto
parent 09af9fc40b
commit 57baa4ba4a
5 changed files with 48 additions and 5 deletions

View File

@ -308,6 +308,7 @@ sane way, here is the complete list of changed key bindings
- json (thanks to Sylvain Benner, Boris Buliga and Tommi Komulainen)
- jsonnet (thanks to liztio and Robby O'Connor)
- julia (thanks to Adam Beckmeyer and Guido Kraemer)
- kivy (thanks to Ryota Kayanuma)
- kotlin (thanks to Shanavas M)
- pact (thanks to Colin Woodbury)
- perl5 (thanks to Troy Hinckley, Jinseop Kim and Michael Rohleder)
@ -1849,6 +1850,8 @@ Other:
- Improved support for workman keyboard layout (thanks to Benjamin Reynolds)
- Added =after-config= hooks for lazy-loaded packages (thanks to CharlesHD)
- Added undo-tree visualizer mapping (thanks to CharlesHD)
**** Kivy
- Added the =kivy= package (thanks to Nasser Alshammari and Ryota Kayanuma)
**** LaTeX
- New package =magic-latex-buffer= (thanks to benquebec)
- New layer variable =latex-enable-magic= to enable =magic= symbols in latex
@ -1949,7 +1952,6 @@ Other:
- Added ebuild-mode (thanks to Kai Wohlfahrt)
- Added the vala programming language (thanks to Steven Allen)
- Added hoon (thanks to Hunter Haugen)
- Added kivy (thanks to Nasser Alshammari)
**** Mu4e
- Added custom Spacemacs layout for =mu4e= buffers (thanks to Benjamin Reynolds)
- Key bindings:

View File

@ -0,0 +1,18 @@
#+TITLE: Kivy layer
#+TAGS: dsl|layer|programming
* Table of Contents :TOC_5_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
* Description
This layer adds support for Kivy, cross-platform GUI framework for Python.
** Features:
- Syntax Highlighting
* Install
To use this configuration layer, add it to your =~/.spacemacs=.
You will need to add =kivy= to the existing =dotspacemacs-configuration-layers= list in this file.

View File

@ -0,0 +1,27 @@
;;; packages.el --- kivy layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
;;
;; Author: Ryota Kayanuma <picosushi12@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defconst kivy-packages
'(
kivy-mode
)
"The list of Lisp packages required by the kivy layer.")
(defun kivy/init-kivy-mode ()
(use-package kivy-mode
:defer t
:init
(progn
;; config goes here.
)))
;;; packages.el ends here

View File

@ -19,7 +19,6 @@ This layer adds a number of packages for less common languages and major modes.
- Android Logcat (not associated with any file types by default)
- Gentoo ebuilds
- Hoon
- Kivy
- MATLAB
- QML
- OpenScad

View File

@ -14,7 +14,6 @@
arduino-mode
(ebuild-mode :location (recipe :fetcher github :repo "emacsmirror/ebuild-mode"))
(hoon-mode :location (recipe :fetcher github :repo "urbit/hoon-mode.el"))
kivy-mode
(logcat :location (recipe :fetcher github :repo "dcolascione/logcat-mode"))
matlab-mode
pkgbuild-mode
@ -46,8 +45,6 @@
(use-package logcat
:commands (logcat logcat-mode)))
(defun major-modes/init-kivy-mode ())
(defun major-modes/init-matlab-mode ()
(use-package matlab-mode
:defer t