Henrik Lissner
5c7c62ad22
lang/scala: move lsp! to local-vars hook
...
Start lsp as late as possible so users have more time to inject
file/dir-local vars or customization hooks before it is started.
2019-07-10 11:33:46 +02:00
Henrik Lissner
3a2f156acd
lang/sh: extract extra fontification into hook
...
So it can apply to sh-mode derivatives, like direnv-envrc-mode.
2019-07-10 02:28:01 +02:00
Henrik Lissner
e17e9a5c53
lang/sh: associate bin/[^/]$ files with sh-mode
2019-07-10 02:27:27 +02:00
Henrik Lissner
468e630110
lang/org: refactor contrib modules
...
- Fix #1546
- Ensure contrib modules aren't included in byte-compilation/autoload
generation if their requisite flags aren't enabled
2019-07-09 22:44:51 +02:00
Henrik Lissner
7b04bee2de
lang/rust: add doctor checks for lsp servers
2019-07-09 20:35:09 +02:00
Henrik Lissner
31875b64f4
Set rustic-rls-pkg sooner
...
To give the user an opportunity to change it.
2019-07-09 19:29:08 +02:00
Henrik Lissner
a7a9951a50
lang/rust: fix void-function package-installed-p
2019-07-09 18:50:50 +02:00
Henrik Lissner
7f735bcafa
lang/rust: fix cannot load file t error with +lsp
2019-07-09 18:46:27 +02:00
Henrik Lissner
236c9ceeab
lang/rust: use rustic-mode instead on Emacs 26+
2019-07-09 17:54:18 +02:00
Henrik Lissner
1f0a5f04f2
lang/lua: improve moonscript & love2D support
...
- Fix moonscript-mode not highlighting/treating single-quoted strings as
strings
- Fontify interpolated expressions in moonscript-mode strings (PR
upstream?)
- Fix +lua-love-mode project detection
- Fix +lua/run-love-game love project root resolution
2019-07-09 02:19:35 +02:00
Henrik Lissner
92dd66f736
lang/org: refactor & reformat
...
To ensure that users' after! blocks have precendence over org packages
in sub-modules.
2019-07-08 22:08:59 +02:00
Henrik Lissner
52dc5001bc
lang/ocaml: refactor & reformat
...
This ensures that users' after! blocks have precendence over ocaml
packages.
2019-07-08 22:08:59 +02:00
Henrik Lissner
56393420e5
lang/ocaml: ensure * in block comments are padded
...
(*
* <-- ensures there is at least one space here
*)
2019-07-08 22:08:59 +02:00
Henrik Lissner
d0412b7f56
lang/ocaml: start lsp as late as possible
...
Gives the user more opportunity to customize lsp et co with
file/dir-local variables or mode hooks.
2019-07-08 21:24:36 +02:00
Henrik Lissner
e645185907
Set org-crypt vars sooner
...
In :init rather than :config, so users' (after! org-crypt ...) blocks
take precedence.
2019-07-08 21:17:04 +02:00
Henrik Lissner
d2991930ae
lang/org: minor refactor
...
- Set file variables sooner
- Change org-tags-exclude-from-inheritance additively, rather than
destructively
2019-07-08 11:58:58 +02:00
Henrik Lissner
f09a2b60c4
lang/rust: move lsp! to local-vars hook
...
i.e. start lsp-mode as late as possible
2019-07-07 17:39:19 +02:00
Henrik Lissner
7c9e9a3446
Move lsp! to local-vars hooks
...
- Set lsp-java-server-install-dir
- Use lsp! instead of lsp in lang/cc
2019-07-07 01:58:08 +02:00
Reed Mullanix
30cd902d4d
Make requested changes for F# lsp support
2019-07-05 10:58:55 -07:00
Reed Mullanix
e831607335
Document F# lsp flag
2019-07-05 10:37:16 -07:00
Reed Mullanix
9c950ff3f6
Add LSP support for F#
2019-07-05 10:32:01 -07: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
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
Illia Danko
d13c93ffef
lang/go: prioritize lsp over guru
2019-07-02 02:23:24 +03: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
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
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
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
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
39faabab6a
lang/emacs-lisp: fix imenu regexp for sections
...
Otherwise, section labels with non-symbol characters would be excluded
from imenu's results.
2019-06-16 19:16:23 +02:00
Vladyslav M
3bbd4e3008
use default nix-indent-function
...
See https://github.com/NixOS/nix-mode/pull/79
2019-06-15 15:37:32 +03:00
Henrik Lissner
c705ceeb4c
lang/python: fix conda+repl integration #1494
2019-06-15 00:38:13 +02:00
Henrik Lissner
9624595f35
lang/php: silence premature php-extras warning
2019-06-14 18:38:19 +02:00
Henrik Lissner
28d04a6f5f
Refactor +javascript|init-lsp-or-tide-maybe
...
LSP doesn't _need_ node to enable itself.
2019-06-14 18:38:18 +02:00
Henrik Lissner
bf9a50eaea
Fix #1481 : not a valid workspace error on +org-capture/open-frame
2019-06-11 17:21:52 +02:00