Commit graph

14358 commits

Author SHA1 Message Date
James Ravn
72eaf530cf
Make some improvements to java +lsp
This is a first pass at making `+lsp` more functional:

* Fix lsp not starting automatically when opening java-mode buffers.
Placing it in the lsp-java hook does not work.
* Enable the code lens for test classes.
* Add a keybinding/function to easily update the eclipse LSP server.
* Add a keybinding to bring up the lsp-jt-browser (the treemacs based
browser that lists all the project tests).
* Fix root path for lsp-jt.

There are still a lot of rough edges here, and I don't think it's quite
usable yet, mostly due to issues around the java test mode (lsp-jt). The other
functionality all seems to work well though.
2020-05-05 13:23:15 +01:00
James Ravn
300bc65918
Use lsp-format-region-or-buffer if available
Currently the user has to select `SPC c F` for lsp format. But if
lsp-mode is enabled, the user will always want to use the LSP formatter.
So this changes the default `SPC c f` to use lsp formatter if available.
This simplifies the interface a bit so the user doesn't have to worry
about selecting the "right" format, just like how other commands get
auto bound to LSP functions.
2020-05-05 09:52:44 +01:00
Henrik Lissner
cacc4a0ff7
Only trigger property indent correction in plists
Before

  (defcli! :main
           ()
           ...)

After

  (defcli! :main
    ()
    ...)
2020-05-05 03:31:43 -04:00
Henrik Lissner
35591cfc4c
Correct map! indentation
...now that we have proper property-list indentation (thanks to
03ecfed1a).
2020-05-04 16:53:26 -04:00
Henrik Lissner
c1f973bf4a
Fix #3037: gr/gR not bound on correct elfeed keymap 2020-05-04 16:51:21 -04:00
Henrik Lissner
aa64ece46d
Silence deprecation & site-file loading messages in CLI 2020-05-04 16:51:21 -04:00
Henrik Lissner
b56caddcac
Merge pull request #3036 from nardusg/nardusg_add_fedora_install_docs
Adding Fedora dependencies block in getting_started document
2020-05-04 16:50:12 -04:00
Henrik Lissner
d519b93990
Merge pull request #3032 from belak/ido-up-down
ido: fix up and down keybinds in file dir navigation
2020-05-04 16:48:48 -04:00
Henrik Lissner
de0b29a96f
Merge pull request #3029 from qhuyduong/fix-tide-not-working-in-rjsx-mode
Fix tide not working with rjsx-mode
2020-05-04 16:45:57 -04:00
Henrik Lissner
a13b0e6649
Merge pull request #2952 from jsravn/add-lsp-command-map
Add lsp-command-map to SPC-c-l
2020-05-04 16:44:53 -04:00
Nardus Geldenhuys
e8040c29b0 Adding Fedora dependencies in getting_started doc 2020-05-04 21:24:12 +02:00
amatrelan
157348ba9b add tool/pass readme 2020-05-04 18:18:10 +03:00
Kaleb Elwert
6450fa5ade ido: fix up and down keybinds in file dir navigation 2020-05-04 07:16:16 -07:00
amatrelan
75a9bcf56b Added lang/nix barebone readme.
I added all the things I know about this module but there might be
something I don't know about so check and validate.

This is related to #1166 effort.
2020-05-04 14:15:13 +03:00
James Ravn
4f3cf24afb
Only enable lsp keymap binding when +bindings 2020-05-04 10:12:17 +01:00
James Ravn
fb3c6f9d78
Merge branch 'develop' of https://github.com/hlissner/doom-emacs into add-lsp-command-map 2020-05-04 10:04:23 +01:00
Huy Duong
8ae7bf0ef1 Fix tide not working with rjsx-mode
Tide doesn't work with rjsx-mode after changing to *-mode-local-vars-hook.
Fixed by adding +javascript-init-lsp-or-tide-maybe-h for
rjsx-mode-local-vars-hook as well.

Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
2020-05-04 15:28:03 +07:00
Henrik Lissner
be396655c4
Render 'export PATH' line correctly in docs
Github renders double quotes in blockquotes with fancy curly (unicode)
quotes. If folks copy this to their shell configs, they'll get weird
PATH bugs!

Seems neither org nor github can handle ~...~ syntax if either tilde is
adjacent to a non-alphanumeric (like double quotes), so I just did away
with them altogether.
2020-05-03 21:30:41 -04:00
Henrik Lissner
aed0a8acb8
Merge pull request #3022 from darth10/feature/encrypt-org-gcal-token
Encrypt and change location of org-gcal-token-file
2020-05-03 19:51:18 -04:00
Henrik Lissner
fd342dfdb0
Fix #2982: multiple instances of Emacs on restart
When invoking a restart during a restart (Yo dawg...)
2020-05-03 19:49:18 -04:00
Akhil Wali
7eea945f9b
Bump :app calendar
kidd/org-gcal.el@1667aba -> kidd/org-gcal.el@2ee2b31
2020-05-04 09:00:31 +12:00
Akhil Wali
7c188e566b
Remove dead code 2020-05-04 08:59:56 +12:00
Akhil Wali
eb0b7f14a5
Encrypt and change location of org-gcal-token-file
* Move `org-gcal-token-file` to `doom-cache-dir`
* Encrypt `org-gcal-token-file` using GPG
* If old file exists, move it to new location with encryption
2020-05-04 08:59:39 +12:00
Henrik Lissner
0c3ffbbb25
Fix wrong-type-arg arrayp error on doom/help search commands
The org crawler assumed that no headings were empty, which led to errors
when they were.
2020-05-03 16:38:44 -04:00
Henrik Lissner
87fe822515
Fix void-function treemacs-current-visibility 2020-05-03 16:31:06 -04:00
Henrik Lissner
0904ee406f
Make +popup/diagnose output result
Rather than succeed silently.
2020-05-03 16:31:06 -04:00
Henrik Lissner
2c70b75c6c
Warn user to sync+rebuild on emacs' major version change
Byte-code is not generally compatible across major releases of Emacs,
and packages may have changed in that time. Best throw a more helpful
error than leave users to deal with the obscure errors that this can
cause.
2020-05-03 16:31:06 -04:00
Henrik Lissner
2ccb9cc8a3
centaur-tabs-cycle-scope = 'tabs 2020-05-03 16:31:06 -04:00
Henrik Lissner
db10149637
Merge pull request #3027 from n-clark/fix-emacs-bindings
Fix emacs bindings to use :checkers
2020-05-03 15:00:37 -04:00
Nick Clark
cdeb3a9f7f Fix emacs bindings to use :checkers
Replaced :tools flycheck and flyspell with :checkers syntax and
spell.
2020-05-03 14:45:21 -04:00
Henrik Lissner
383bc03f4c
Bump :ui treemacs
Alexander-Miller/treemacs@10c96c9 -> Alexander-Miller/treemacs@5c01829

The new treemacs-add-and-display-current-project command does what the
old +treemacs/toggle did, now we just need +treemacs/toggle to
do-what-I-mean with respect to projects (if not in a project,
treemacs-add-and-display-current-project unhelpfully aborts with an
error).
2020-05-03 13:39:29 -04:00
Henrik Lissner
bd6405673e
Fix #1703: dired listing no files over tramp
...on systems that don't have GNU ls installed and don't support
--group-directories-first
2020-05-03 13:39:29 -04:00
Henrik Lissner
a4b0fd2bf6
Merge pull request #3023 from simendsjo/userprofile-for-home-on-windows
Fallback to USERPROFILE for HOME on Windows
2020-05-03 13:39:18 -04:00
Henrik Lissner
146e8ced6b
Merge pull request #3026 from simendsjo/mu4e-view-in-browser
mu4e action to view email in browser
2020-05-03 13:39:08 -04:00
simendsjo
503ace3429 mu4e action to view email in browser
Taken from Spacemacs
2020-05-03 18:05:31 +02:00
simendsjo
a35a457a1b Fallback to USERPROFILE for HOME on Windows 2020-05-03 09:45:53 +02:00
Henrik Lissner
0edbf9cb04
Update & reformat ui/pretty-code readme ToC 2020-05-02 22:49:07 -04:00
Henrik Lissner
bef3457232
Remove redundant or invalid settings from org module
These have either been removed upstream or already match their defaults.
2020-05-02 22:47:26 -04:00
Henrik Lissner
023027b3db
Bump :tools lsp
emacs-lsp/lsp-mode@d0096cc -> emacs-lsp/lsp-mode@941e606
emacs-lsp/lsp-ui@242dfe8 -> emacs-lsp/lsp-ui@43f71e3

Includes LSP 6.3.1 release.
2020-05-02 22:44:46 -04:00
Henrik Lissner
b3c957065c
Remove company-lsp fallback
Issues with ts-ls and gopls have been reportedly resolved upstream, so
we are fully committing to company-capf as LSP's chosen backend.
2020-05-02 22:38:36 -04:00
Henrik Lissner
62b626f7b7
Bump :lang perl
Raku/raku-mode@44529c0 -> Raku/raku-mode@d474216

Raku/raku-mode#33 was merged.
2020-05-02 22:11:58 -04:00
Henrik Lissner
4b28e9ce86
Rework & polish doom-store library
+ Add doom-store-rem
+ Add real doom-store-member-p (to replace doom-store-exists alias)
+ Fix doom-store-clear not clearing in-memory store
+ Add doom-store-flush
+ Add deferred flushing through doom--inhibit-flush lexical var
+ Update doom-store-persist & doom-store-desist for new API
2020-05-02 19:32:02 -04:00
Henrik Lissner
5a54ef1f9f
Fix org-crypt not running when saving org files 2020-05-02 17:52:22 -04:00
Henrik Lissner
b51c4fc8b3
Fix projectile on Windows failing to index anything with ripgrep
Due to unescaped glob arguments.

Fixes #2897, and possibly #1803
2020-05-02 17:41:36 -04:00
Henrik Lissner
f998c912c1
Fix evil-collection-minibuffer for first minibuffer
evil-minibuffer-setup-minibuffer didn't kick in until the second time
you invoked a minibuffer after startup.
2020-05-02 17:23:50 -04:00
Henrik Lissner
ea1a1805b3
Fix projectile failing to index symlinks
Fixes cases where, if the contents of your ~/.doom.d were symlinks, fd
and ripgrep wouldn't index them (or recurse into them), so it'd miss out
of many files.

Possibly fixes #1803
2020-05-02 16:28:48 -04:00
Henrik Lissner
1fb5981ba6
Highlight recommended straight prompt option in green 2020-05-02 14:41:18 -04:00
Henrik Lissner
e832ec5708
Fix projectile ignoring symlinks
Due to the underlying program (fd) ignoring them.
2020-05-02 13:17:10 -04:00
Henrik Lissner
29c0781916
Fix doom-store library
And rename doom-store-set -> doom-store-put to be more consistent with
the underlying operation.
2020-05-02 13:17:10 -04:00
Henrik Lissner
17a66004f0
Bump :lang org
abo-abo/org-download@d542a30 -> abo-abo/org-download@48d3952
emacs-straight/org-mode@90cf500 -> emacs-straight/org-mode@e5eda0b
jethrokuan/org-roam@65d99e9 -> jethrokuan/org-roam@e698ed7
kaushalmodi/ox-hugo@5106b43 -> kaushalmodi/ox-hugo@8f36181
2020-05-02 13:17:10 -04:00