Reed Mullanix
9c950ff3f6
Add LSP support for F#
2019-07-05 10:32:01 -07:00
Henrik Lissner
eb42f95777
tools/lsp: noop lsp! if used more than once
2019-07-05 19:08:11 +02:00
Henrik Lissner
d39500f143
Merge pull request #1537 from chrunchyjesus/cargo-mode
...
lang/rust: add cargo package & keybinds
2019-07-05 18:01:44 +02:00
Henrik Lissner
daa7107def
Fix #1538 : C-k in switch-buffer killing buffers
...
Caused by an upstream change.
2019-07-05 16:50:03 +02:00
Henrik Lissner
6973a8926d
tools/lookup: remove duplicate code & minor fixes
...
- Removes vestigial definition of +lookup/in-docsets, which would throw
an error.
- Fixes the universal argument for this function.
- Fix multiple set-docsets! calls prepending rather than setting
dash-docs-docsets.
- Logs search attempts for debugging purposes.
2019-07-05 16:50:03 +02:00
chrunchyjesus
e577ce0162
add b prefix back
2019-07-05 16:15:05 +02:00
chrunchyjesus
301173f35f
remove b prefix, small refactor
2019-07-04 21:33:13 +02:00
chrunchyjesus
883c390e2e
add documentation regarding some commands
2019-07-04 21:13:21 +02:00
chrunchyjesus
9f37363764
use keybindings from cargo mode
2019-07-04 20:58:44 +02:00
Henrik Lissner
fbf58aac8c
lang/org: add +org|init-export to org-load-hook #1535
2019-07-03 16:37:48 +02:00
Henrik Lissner
33aef74da0
Merge pull request #1529 from idanko/go-lsp-priority
...
lang/go: prioritize lsp over guru
2019-07-03 00:49:23 +02:00
Henrik Lissner
750f45328a
Mark helm/ivy search engine autoloads interactive
...
Otherwise they don't show up in M-x
2019-07-02 23:17:19 +02:00
Illia Danko
78e290b6f6
lang/go: integrate lsp to local-vars hook
2019-07-02 23:23:28 +03:00
Henrik Lissner
f0228fbc7a
Merge pull request #1464 from Amatrelan/rust-readme
...
Rust readme
2019-07-02 20:12:15 +02:00
Henrik Lissner
9ffb740b0f
Add SPC / D and SPC / P keybinds #1531
...
For searching from another directory/project (prompted)
2019-07-02 14:13:30 +02:00
Henrik Lissner
65efbc4204
Fix prompts for search-{cwd,project} commands
2019-07-02 14:06:31 +02:00
Henrik Lissner
9a8faf1df3
completion/ivy: don't ignore order in file search
2019-07-02 13:12:21 +02:00
Illia Danko
d13c93ffef
lang/go: prioritize lsp over guru
2019-07-02 02:23:24 +03:00
Henrik Lissner
4a8db3a8cd
app/calendar: remove +calendar-org-gcal-secret-file
...
The user can load this file themselves.
2019-07-01 18:43:41 +02:00
Henrik Lissner
53d1bf6b58
Refactor +popup/other
2019-06-30 18:12:16 +02:00
Henrik Lissner
774956d809
lang/web: remove redundant :commands declaration
...
emmet-mode already autoloads this command.
2019-06-30 13:21:06 +02:00
Henrik Lissner
7df4e252fd
tools/lsp: refactor out dash
2019-06-30 13:20:46 +02:00
Henrik Lissner
108c7ba5ad
Fix 'selected killed buffer' error on +magit/quit
2019-06-30 13:20:07 +02:00
Henrik Lissner
8de5e98905
tools/lsp: fix #1524
2019-06-30 12:16:03 +02:00
Henrik Lissner
768ed10dc3
lang/org (babel): sys.print -> console.log
...
Update ob-js's wrapper for js babel blocks. sys.print was deprecated and
removed in later versions of node.
2019-06-30 02:27:37 +02:00
Henrik Lissner
1e286da278
lang/org: update unit tests
2019-06-29 01:39:23 +02:00
Henrik Lissner
281ea56643
completion/company: refactor backend resolution
...
Makes it easier to change company-backends retrospectively (with a hook
or setq-hook!). Also simplifies how backend defaults are stored (no more
of this :derived and :exact business).
Also updates unit tests.
2019-06-29 01:39:23 +02:00
Henrik Lissner
2f268e80bb
tools/lsp: fall back to lsp-find-{definitions,references} #1521
...
When lsp-ui-mode is disabled.
2019-06-29 01:36:24 +02:00
Henrik Lissner
a9ca62070c
tools/lsp: reduce lsp's self-configuring eagerness
...
The original `lsp' initializes too much, too quickly. Things like
flycheck, company, and yasnippet. Doom's modules already handle these
just fine, so we advice it to leave it to us to handle. I intentionally
avoid disabling lsp-auto-configure because doing so is much more
destructive than I'd like.
This update prevents lsp-ui-mode from being auto-enabled on lsp-mode.
You can now (remove-hook 'lsp-mode-hook #'lsp-ui-mode) to disable
lsp-ui.
This update also adds these two hooks:
+ +lsp|init-company (on `lsp-mode-hook')
+ +lsp|init-ui-flycheck-or-flymake (on `lsp-ui-mode-hook')
2019-06-29 01:36:24 +02:00
Henrik Lissner
380c3ac268
Disable lookup handlers if minor mode is disabled
2019-06-29 00:23:13 +02:00
Henrik Lissner
7f5d961d89
lang/org: add nix install instructions to README
2019-06-28 19:45:05 +02:00
Henrik Lissner
79db8c8958
lang/org: add gnuplot packages to README
2019-06-28 17:56:15 +02:00
Henrik Lissner
11bfb17894
lang/org: major refactor
...
The motivation for this change was to rethink lang/org's flags. Many of
its former flags represented non-features. Therefore, its flags have
been reduced to five: +dragndrop, +ipython, +pandoc, +gnuplot and
+present. Everything else is included as org-load-hooks and treated as
reasonable defaults.
Other changes:
- Fixes #1502 : don't autopair certain pairs when in a math region
- Fixes #1483 : broken localleader in org-agenda
- Adds gnuplot support #1108
- Doom's org submodules have been moved into lang/org/contrib/, because
I expect there will be *many* more to come, and I don't want to
pollute the moudle's root.
2019-06-28 17:28:28 +02:00
Henrik Lissner
9752cc005c
lang/scala: minor reformatting
2019-06-28 17:28:28 +02:00
Henrik Lissner
08e125d3d0
lang/scala: fix comment continuation #1515
...
On Doom's modded newline-and-indent.
2019-06-28 17:28:10 +02:00
Henrik Lissner
c3d48e286b
Add nix-mode file template
2019-06-27 21:35:53 +02:00
Henrik Lissner
501ed32ce5
Merge pull request #1518 from jsravn/improve-scala-lsp
...
Remove lsp-scala, as lsp-metals is bundled in lsp-mode
2019-06-27 20:48:48 +02:00
James Ravn
a639d36a92
remove lsp-scala
...
lsp-scala is deprecated. It's now bundled in lsp-mode as lsp-metals.
2019-06-27 18:27:39 +01:00
Oleksii Filonenko
57c52e4db6
Wrap :on-load for +lua-love-mode in a progn
...
Fixes #1516 .
2019-06-27 20:26:32 +03:00
Henrik Lissner
22cc519ac1
Add set-project-type! autodef
...
And use it for love2d projects in lang/lua module.
2019-06-27 17:16:40 +02:00
Henrik Lissner
ba7c713bf6
Add projectile-{run,configure,test}-project keybinds
2019-06-27 17:14:15 +02:00
Henrik Lissner
2387f56ba1
Rethink how we standardize modified RET
...
C-RET / C-S-RET = add new "item" below/above
On MacOS
s-RET / S-s-RET = add new line below/above
Elsewhere
M-RET / M-S-RET = add new line below/above
2019-06-27 13:22:42 +02:00
Henrik Lissner
20b397362b
Don't auto-kill term/vterm/eshell dedicated popups
2019-06-27 01:27:40 +02:00
Henrik Lissner
d697cb7ec7
Fix C-{j,k} in non-read-expression prompts
2019-06-26 19:18:04 +02:00
Henrik Lissner
525cba3f3b
ui/workspaces: fix +workspaces|init for daemon
2019-06-26 19:17:56 +02:00
Henrik Lissner
6bcddad852
Bind s-x (in visual mode) to kill-region on MacOS
...
To emulate standard cut behavior on cmd+X on MacOS
2019-06-26 14:31:07 +02:00
Henrik Lissner
9a02bd8ac8
Minor refactors across the board
...
- when-let* -> when-let
- Fix projectile-locate-dominating-file for connected remote files
2019-06-26 14:31:06 +02:00
Henrik Lissner
4ecf6c9414
Add SCHEDULED support to +org/dwim-at-point
2019-06-26 14:31:06 +02:00
Henrik Lissner
f4ef25bb12
Don't delete-other-windows during org-agenda popup
2019-06-26 14:31:06 +02:00
Henrik Lissner
b5c5b7f10d
Move posframe+persp-mode fix to ui/workspaces
2019-06-26 14:31:06 +02:00