Henrik Lissner
06392a723f
refactor: rename orig-fn arg in advice to fn
...
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Henrik Lissner
b158215587
lang/java: fail meghanada-mode gracefully if java is absent
2021-04-15 14:19:18 -04:00
Henrik Lissner
972796913e
Move meghanada-mode to java-mode-local-vars-hook
...
Prevents org src blocks aggressively trying to activate meghanada-mode
multiple times, causing undue slowness.
2021-02-23 19:21:50 -05:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check}
2020-01-14 03:04:26 -05:00
Henrik Lissner
051bceb0a8
Refactor localleader keybinds #1270
...
Introduces a select few of the localleader keybind standards proposed in
issue #1270 , corrects a few typos and introduces more localleader
keybinds in general.
Co-authored-by: yuhan0 <>
2019-10-04 22:04:47 -04:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
...
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.
Also changes def-package-hook! -> use-package-hook!
The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell}
2019-02-22 00:25:30 -05:00
Henrik Lissner
3f195614d9
Normalize :leader/:localleader keybinds
...
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
Henrik Lissner
06cf518af8
lang/java: set meghanada-use-* vars earlier
...
Fixes a race condition where certain features ended up enabled too late
for the first buffer.
2018-10-06 20:44:25 -04:00
Henrik Lissner
84abac6b69
Remove def-menu!; use :localleader keys instead
...
def-menu was clumsy. We could use a better UI for refactoring commands,
but they should be available via localleader keybinds in any case.
2018-09-09 09:58:18 -04:00
Henrik Lissner
e05d7cfee0
Change flycheck initialization strategy
...
Initialize it globally and turn it off where needed, instead of enabling
it on demand. Also fixes void-function: flycheck-mode errors when
:feature syntax-checker is disabled. This is experimental.
Indirectly fixes #710
2018-06-22 01:49:20 +02:00
Henrik Lissner
c0251aacee
Replace :lookup with set-lookup-handlers! autodef
...
And update all internal references.
2018-06-15 17:27:48 +02:00
Henrik Lissner
135ebd925f
Enable global-eldoc-mode; less work for me!
2018-04-23 00:34:03 -04:00
Henrik Lissner
42cee2e046
Update :jump => :lookup
2018-01-05 23:57:48 -05:00
Henrik Lissner
a74218f490
lang/java: remove redundant server-install code + minor refactor
...
meghanada-mode already auto-installs the server. It doesn't need our
help.
2017-12-22 15:17:07 -05:00
Henrik Lissner
fe02905d22
lang/java: don't install meghanada when compiling
2017-12-17 00:03:45 -05:00
Henrik Lissner
b14198dedf
Extend byte-compile ;;;###if support to other elisp files
2017-12-10 16:57:51 -05:00
Henrik Lissner
9d81bc5a8b
Major refactor: use-package-always-defer = nil & use :hook
...
Possibly breaking change: packages are no longer deferred by default.
Addresses #286
2017-12-08 23:14:11 -05:00
Henrik Lissner
730e4c2600
lang/java: fix meghanada-mode hooks
2017-10-23 19:14:36 +02:00
Henrik Lissner
6be89e1df6
[breaking] lang/java: rewrite & new submodules #157
...
Split into two submodules: +eclim & +meghanada. These must be explicitly
included in lang/java's module flags in init.el.
2017-10-03 02:56:02 +02:00