Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 9318c0e

Browse files
committed
Add packages.el for flycheck-joker
0 parents  commit 9318c0e

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Christian Meter
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.org

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#+TITLE: clojure-lint layer
2+
3+
# The maximum height of the logo should be 200 pixels.
4+
[[img/clojure-lint.png]]
5+
6+
# TOC links should be GitHub style anchors.
7+
* Table of Contents :TOC_4_gh:noexport:
8+
- [[#description][Description]]
9+
- [[#install][Install]]
10+
- [[#key-bindings][Key bindings]]
11+
12+
* Description
13+
This layer does wonderful things:
14+
- thing01
15+
16+
* Install
17+
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
18+
add =clojure-lint= to the existing =dotspacemacs-configuration-layers= list in this
19+
file.
20+
21+
* Key bindings
22+
23+
| Key Binding | Description |
24+
|-------------+----------------|
25+
| ~SPC x x x~ | Does thing01 |
26+
# Use GitHub URLs if you wish to link a Spacemacs documentation file or its heading.
27+
# Examples:
28+
# [[https://github.com/syl20bnr/spacemacs/blob/master/doc/VIMUSERS.org#sessions]]
29+
# [[https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Bfun/emoji/README.org][Link to Emoji layer README.org]]
30+
# If space-doc-mode is enabled, Spacemacs will open a local copy of the linked file.

packages.el

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
;;; packages.el --- clojure-dev layer packages file for Spacemacs.
2+
3+
(defconst clojure-dev-packages
4+
'(flycheck
5+
flycheck-joker
6+
clojure-mode))
7+
8+
(defun clojure-dev/init-flycheck-joker ()
9+
(use-package flycheck-joker))
10+
11+
(defun clojure-dev/post-init-flycheck ()
12+
(add-hook 'clojure-mode-hook 'flycheck-mode))
13+
14+
(defun clojure-dev/post-init-clojure-mode ()
15+
(add-hook 'clojure-mode-hook 'turn-on-smartparens-strict-mode)
16+
(global-set-key (kbd "C-k") 'sp-kill-sexp))

0 commit comments

Comments
 (0)