General cleanup + refactor
This commit is contained in:
parent
45122cdea5
commit
4356f894fd
9 changed files with 18 additions and 15 deletions
|
@ -8,7 +8,7 @@
|
|||
(set! :build 'compile-file 'java-mode 'meghanada-compile-file)
|
||||
(set! :build 'compile-project 'java-mode 'meghanada-compile-project)
|
||||
|
||||
(setq meghanada-server-install-dir (expand-file-name "meghanada-server" doom-cache-dir)
|
||||
(setq meghanada-server-install-dir (expand-file-name "meghanada-server/" doom-cache-dir)
|
||||
meghanada-use-company t
|
||||
meghanada-use-flycheck t
|
||||
meghanada-use-auto-start t)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
;;; lang/org/+attach.el --- -*- no-byte-compile: t; -*-
|
||||
;;; lang/org/+attach.el
|
||||
|
||||
;; FIXME
|
||||
;; FIXME Needs to be rewritten
|
||||
;;
|
||||
;; Initializes my own org-mode attachment system. I didn't like Org's native
|
||||
;; one. Mine stores attachments in a global org .attach directory. It also
|
||||
;; implements drag-and-drop file support and attachment icons. It also treats
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;;; lang/org/+capture.el --- -*- no-byte-compile: t; -*-
|
||||
;;; lang/org/+capture.el
|
||||
|
||||
;; Sets up two `org-capture' workflows that I like:
|
||||
;;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;;; lang/org/+export.el --- -*- no-byte-compile: t; -*-
|
||||
;;; lang/org/+export.el
|
||||
|
||||
;; My own, centralized exporting system as well.
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
;; A few things you can expect
|
||||
;; + `org-capture' in a popup frame (can be invoked from outside emacs too)
|
||||
;; + A simpler attachment system (with auto-deleting support) and
|
||||
;; drag-and-drop for images and documents into org files
|
||||
;; + Exported files are put in a centralized location (see
|
||||
;; `org-export-directory')
|
||||
;; + TODO A simpler attachment system (with auto-deleting support) and
|
||||
;; drag-and-drop for images and documents into org files
|
||||
;; + TODO Custom links for class notes
|
||||
;; + TODO An org-mode based CRM (including invoicing and pdf exporting) (see custom-crm)
|
||||
;; + TODO A tag-based file browser reminiscient of Evernote and Quiver (there's neotree too!)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
(add-hook 'swift-mode-hook 'flycheck-mode)
|
||||
:config
|
||||
(set! :repl 'swift-mode 'swift-mode-run-repl) ; TODO test this
|
||||
(after! flycheck (push 'swift flycheck-checkers)))
|
||||
(push 'swift flycheck-checkers))
|
||||
|
||||
|
||||
(def-package! company-sourcekit
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
:init
|
||||
(add-hook 'typescript-mode-hook 'rainbow-delimiters-mode)
|
||||
:config
|
||||
(set! :company-backend 'typescript-mode '(company-tide))
|
||||
(set! :electric 'typescript-mode :chars '(?\} ?\)) :words '("||" "&&"))
|
||||
|
||||
;; TODO tide-jump-back
|
||||
|
@ -39,6 +38,7 @@
|
|||
(def-package! tide
|
||||
:after typescript-mode
|
||||
:config
|
||||
(set! :company-backend 'typescript-mode '(company-tide))
|
||||
(setq tide-format-options
|
||||
'(:insertSpaceAfterFunctionKeywordForAnonymousFunctions t
|
||||
:placeOpenBraceOnNewLineForFunctions nil)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue