Haskell mode has been added
This commit is contained in:
parent
ceadb0c77b
commit
61f54f7e36
|
@ -28,6 +28,7 @@
|
||||||
'javascript
|
'javascript
|
||||||
'ruby
|
'ruby
|
||||||
'clojure
|
'clojure
|
||||||
|
'haskell
|
||||||
'php
|
'php
|
||||||
'python
|
'python
|
||||||
'arduino
|
'arduino
|
||||||
|
|
|
@ -38,9 +38,16 @@
|
||||||
(define-key projectile-mode-map (kbd "C-c p s r") 'pt-regexp))
|
(define-key projectile-mode-map (kbd "C-c p s r") 'pt-regexp))
|
||||||
|
|
||||||
|
|
||||||
|
(defun load-necessary-modes-and-keybindings ()
|
||||||
|
"Load the modes and keybindings which at necessary and are not part ofcourse an ability."
|
||||||
|
(which-function-mode))
|
||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun extension/development-initialize ()
|
(defun extension/development-initialize ()
|
||||||
"Development plugin initialization."
|
"Development plugin initialization."
|
||||||
|
(load-necessary-modes-and-keybindings)
|
||||||
|
|
||||||
(ability project-config ()
|
(ability project-config ()
|
||||||
"Makes projects configurable."
|
"Makes projects configurable."
|
||||||
(require 'projects/configuration))
|
(require 'projects/configuration))
|
||||||
|
@ -126,8 +133,8 @@
|
||||||
(setq imenu-list-focus-after-activation t)
|
(setq imenu-list-focus-after-activation t)
|
||||||
(setq imenu-list-auto-resize t)
|
(setq imenu-list-auto-resize t)
|
||||||
(global-set-key (kbd "C-'") #'imenu-list-smart-toggle)
|
(global-set-key (kbd "C-'") #'imenu-list-smart-toggle)
|
||||||
(global-set-key (kbd "C-<f2>") #'imenu-anywhere))
|
(global-set-key (kbd "C-<f2>") #'imenu-anywhere)
|
||||||
(global-set-key (kbd "<f13>") #'imenu-anywhere)
|
(global-set-key (kbd "<f13>") #'imenu-anywhere))
|
||||||
|
|
||||||
|
|
||||||
(ability parinfer ()
|
(ability parinfer ()
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
;;; HaskellExtension --- Enables haskell development on FG42
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Code:
|
||||||
|
(require 'fpkg)
|
||||||
|
(require 'fg42/extension)
|
||||||
|
(require 'extensions/haskell/init)
|
||||||
|
|
||||||
|
;; Dependencies ----------------------------------
|
||||||
|
(depends-on 'haskell-mode)
|
||||||
|
|
||||||
|
|
||||||
|
(defun haskell-doc ()
|
||||||
|
"something fun")
|
||||||
|
|
||||||
|
;; Extension -------------------------------------
|
||||||
|
(extension haskell
|
||||||
|
:version "2.32"
|
||||||
|
:on-initialize extensions/haskell-initialize
|
||||||
|
:docs "lib/extensions/haskell/readme.org")
|
||||||
|
|
||||||
|
(provide 'extensions/haskell)
|
||||||
|
;;; haskell.el ends here
|
|
@ -0,0 +1,11 @@
|
||||||
|
;;; HaskellExtension --- Enables haskell development on FG42
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun extensions/haskell-initialize ())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(provide 'extensions/haskell/init)
|
||||||
|
;; init.el ends here
|
|
@ -0,0 +1 @@
|
||||||
|
lxsameer@debian.1723:1562654898
|
|
@ -0,0 +1,10 @@
|
||||||
|
;;; HaskellExtension --- Enables haskell development on FG42
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun extensions/haskell-initialize ())
|
||||||
|
|
||||||
|
|
||||||
|
(provide 'extensions/haskell/init)
|
||||||
|
;; init.el ends here
|
Loading…
Reference in New Issue