Clean up
This commit is contained in:
parent
a4fd3f3be5
commit
b78d210ace
11 changed files with 71 additions and 82 deletions
|
@ -16,16 +16,8 @@
|
|||
:defer t
|
||||
:commands httpd-start)
|
||||
|
||||
(add-hook! org-load
|
||||
(use-package ox-reveal
|
||||
:config
|
||||
(setq org-reveal-root "https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.2.0/js/reveal.min.js")))
|
||||
|
||||
;;;
|
||||
|
||||
(defvar big-mode--line-spacing line-spacing)
|
||||
(defvar big-mode--powerline-height powerline-height)
|
||||
|
||||
(define-minor-mode big-mode
|
||||
:init-value nil
|
||||
:lighter " BIG"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
:init
|
||||
(define-repl! lua-mode narf-inf-lua)
|
||||
(add-hook! lua-mode 'flycheck-mode)
|
||||
;; (after! company-dict
|
||||
;; (add-to-list 'company-dict-minor-mode-alist 'love-mode))
|
||||
(after! company-dict
|
||||
(add-to-list 'company-dict-minor-mode-alist 'love-mode))
|
||||
|
||||
(defun narf-inf-lua ()
|
||||
(lua-start-process "lua" "lua")
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
(require 'php-extras)
|
||||
(defun php-extras-company-setup ()) ;; company will set up itself
|
||||
|
||||
;; Generate php-extras documentation and completion asynchronously
|
||||
(unless (file-exists-p (concat php-extras-eldoc-functions-file ".el"))
|
||||
(async-start `(lambda ()
|
||||
,(async-inject-variables "\\`\\(load-path\\|php-extras-eldoc-functions-file\\)$")
|
||||
|
@ -26,13 +27,14 @@
|
|||
(require 'php-refactor-mode)
|
||||
(add-hook! php-mode '(turn-on-eldoc-mode emr-initialize php-refactor-mode)))
|
||||
|
||||
;; PHP Repl
|
||||
(use-package php-boris :defer t
|
||||
:init
|
||||
(define-repl! php-mode php-boris)
|
||||
:config
|
||||
(evil-set-initial-state 'php-boris-mode 'emacs)
|
||||
(setq php-boris-command "~/.dotfiles/scripts/run-boris"))
|
||||
(evil-set-initial-state 'php-boris-mode 'emacs))
|
||||
|
||||
;; Support for Facebook's version of PHP
|
||||
(use-package hack-mode :mode "\\.hh$")
|
||||
|
||||
(define-minor-mode php-laravel-mode
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
(define-env-command! ruby-mode "ruby --version | cut -d' ' -f2")
|
||||
:config
|
||||
;; Formatting
|
||||
(setq ruby-indent-level 2
|
||||
ruby-deep-indent-paren t)
|
||||
(setq ruby-deep-indent-paren t)
|
||||
|
||||
;; Don't interfere with my custom RET behavior
|
||||
(define-key ruby-mode-map [?\n] nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue