mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
General cleanup
This commit is contained in:
@@ -122,5 +122,10 @@
|
||||
(when (evil-visual-state-p)
|
||||
(evil-normal-state))))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/sp-point-is-template-p (id action context)
|
||||
(and (sp-in-code-p id action context)
|
||||
(sp-point-after-word-p id action context)))
|
||||
|
||||
(provide 'defuns-cc)
|
||||
;;; defuns-cc.el ends here
|
||||
|
@@ -1,7 +1,9 @@
|
||||
;;; module-haskell.el
|
||||
|
||||
(use-package haskell
|
||||
:mode ("\\.hs$" . haskell-mode)
|
||||
:mode (("\\.hs$" . haskell-mode)
|
||||
("\\.ghci$" . ghci-script-mode)
|
||||
("\\.cabal$" . haskell-cabal-mode))
|
||||
:init
|
||||
(define-repl! haskell-mode switch-to-haskell)
|
||||
(add-hook! haskell-mode '(interactive-haskell-mode flycheck-mode))
|
||||
|
@@ -6,7 +6,7 @@
|
||||
(define-docset! php-mode "php,laravel")
|
||||
(define-company-backend! php-mode '(php-extras-company))
|
||||
|
||||
(add-hook! php-mode 'flycheck-mode)
|
||||
(add-hook 'php-mode-hook 'flycheck-mode)
|
||||
(setq php-template-compatibility nil
|
||||
php-extras-eldoc-functions-file (concat narf-temp-dir "/php-extras-eldoc-functions"))
|
||||
:config
|
||||
|
Reference in New Issue
Block a user