Commit graph

6732 commits

Author SHA1 Message Date
Henrik Lissner
6b327dfcca
lang/cc: fix default style in C/C++ modes
c-default-style wasn't being used correctly.
2019-10-24 17:03:08 -04:00
Henrik Lissner
423c2958b6
lang/python: load lsp-python-ms after python
To isolate errors caused upstream (e.g. emacs-lsp/lsp-python-ms#68)
2019-10-24 17:03:03 -04:00
Henrik Lissner
bcdf5eb19a
tools/eval: gr now sends to REPL if one is open #1941
And polish other evil repl commands + add docstrings.
2019-10-24 16:56:53 -04:00
Clement Busschaert
82ecfac39c
ui/modeline: fix ligature advice for hlissner#1216 2019-10-24 22:24:39 +02:00
Henrik Lissner
2cd06d23cd
ui/modeline: rename fancy-battery -> battery
The fancy-battery segment was removed upstream:
seagle0128/doom-modeline/commit/93135d4
2019-10-24 15:45:55 -04:00
Henrik Lissner
334c309ae7
lang/org: org-clock-out-remove-zero-time-clocks = nil
Half-reverts 29f6db6ea. Hadn't realized this setting would remove
the *entire* logbook if you clock out with sub 1m on a task.

Mentioned by @d1egoaz in 29f6db6
2019-10-24 15:04:08 -04:00
Henrik Lissner
3f6dfe8eac
ui/modeline: fix ligature advice for #1216 2019-10-24 14:31:50 -04:00
Henrik Lissner
a1f6f77ca0
Remove redundant flyspell-mode hook in latex
flyspell-mode is already on text-mode-hook
2019-10-24 13:39:03 -04:00
Henrik Lissner
1030f66c24
Revert 438caf276 (#1943)
This was fixed upstream in emacs-lsp/lsp-mode#1135
2019-10-24 13:31:08 -04:00
Henrik Lissner
851094cdd3
Restore ./ & ../ entries in ivy
There are a number of commands where these options are useful.
2019-10-24 04:42:21 -04:00
Henrik Lissner
671135053b
Prevent visual 'gzz' placing cursors on invisible lines
e.g. over folded lines
2019-10-24 03:16:35 -04:00
Henrik Lissner
3140ab7337
lang/latex: fix advice name conflict #1849 2019-10-23 22:28:44 -04:00
Henrik Lissner
9177c1b07a
lang/python: ensure anaconda is started after lsp 2019-10-23 22:09:28 -04:00
Henrik Lissner
42421a765d
Avoid fallback completion if lsp--buffer-deferred 2019-10-23 22:08:28 -04:00
Henrik Lissner
0b67251159
tools/eval: associate plist with repl handlers
Also consolidates all REPLs (opened through the :tools eval module)
under one popup rule, which inhibits ESC from prematurely closing
them (#1944), and cleans up after their buffers *only* if their handlers
weren't specified to :persist, e.g.

  (set-repl-handler! 'some-mode #'some-repl-handler :persist t)

Also standardized ESS's REPL commands.
2019-10-23 21:41:23 -04:00
Henrik Lissner
e6094f262f
lang/emacs-lisp: don't resize non-output windows 2019-10-23 18:30:03 -04:00
Henrik Lissner
438caf276b
tools/lsp: fix lsp in js scripts w/ no file ext #1943 2019-10-23 18:29:30 -04:00
Henrik Lissner
b556fa7d3f
lang/org: explain org-babel-js-function-wrapper setting 2019-10-23 18:05:15 -04:00
Henrik Lissner
909c277968
ui/modeline: fix ligature/all-the-icons conflict #1216
Relevant to seagle0128/doom-modeline#69
2019-10-23 18:05:08 -04:00
Henrik Lissner
3dd09b327f
lang/org: tie evil-org to :editor evil +everywhere 2019-10-23 18:00:11 -04:00
Henrik Lissner
fb28586795
lang/org: use fork of evil-org
First step to fixing its issues.

Relevant to #1897, #1828
2019-10-23 18:00:11 -04:00
Henrik Lissner
009cfbcb90
lang/cc: fix false negatives from rc/rdm checks #1864 2019-10-23 16:07:59 -04:00
Henrik Lissner
91deaa49eb
lang/plantuml: error on export in server mode
'server compilation fails when exporting org files with plantuml
diagrams.
2019-10-23 14:36:40 -04:00
Henrik Lissner
0bf2f1d9bf
Bind 'SPC p C' = rerun last command, 'SPC p g' = configure project 2019-10-23 14:24:01 -04:00
Henrik Lissner
0c7bf323c1
Bind 'SPC c C' = recompile, 'SPC f C' = copy this file 2019-10-23 14:20:18 -04:00
Henrik Lissner
237d2d3c3a
lang/latex: fix fix for fill-paragraph in latex-mode #1849 2019-10-23 14:14:33 -04:00
Henrik Lissner
31b8db0480
Bind 'SPC c s' to send-region-to-repl #1941 2019-10-23 14:08:23 -04:00
Henrik Lissner
cfcaad4bfc
tools/eval: don't select window after send-to-repl #1941
Also:

- Refactors REPL logic
- Open-repl commands now copy selection to new REPL and select
  them (without executing them).
- Send-to-repl now auto-executes by default. Prefix arg = don't auto
  execute
2019-10-23 14:08:15 -04:00
Henrik Lissner
cf2cea75cf
lang/org: remove org-babel-get-header polyfill
If packages haven't caught up by now, oh well! ob-spice hasn't, that's
for sure.
2019-10-23 13:21:47 -04:00
Henrik Lissner
f3ca420c27
lang/plantuml: fix ob-plantuml previews with jar
If plantuml-default-exec-mode is 'server, the image is compiled via the
website and downloaded. If it's 'executable it uses the local 'plantuml'
executable (determined by plantuml-executable-path) to compile it. If
it's 'jar it uses the local 'plantuml.jar' (determined by
plantuml-jar-path).

The first two were tested and work, but 'jar did not, until now.
2019-10-23 13:04:25 -04:00
Henrik Lissner
e1622142ed
Minor, general refactors 2019-10-23 03:57:48 -04:00
Henrik Lissner
a3765aca32
lang/plantuml: fix org-babel+plantuml executor 2019-10-23 03:24:34 -04:00
Henrik Lissner
d6cbe5dc8b
config/default: bind 'SPC f U' to doom/sudo-this-file 2019-10-23 01:48:49 -04:00
Henrik Lissner
18f20a5313
emacs/dired: stop dired buffer pollution #1937 2019-10-23 01:48:48 -04:00
Rudi Grinberg
b19178280d lang/ocaml: disable merlin when lsp is active (#1939)
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 01:38:13 -04:00
Henrik Lissner
125a74e020
Merge pull request #1938 from rgrinberg/dired-dwim-target
emacs/dired: dired-dwim-target = t
2019-10-23 01:15:11 -04:00
Henrik Lissner
0df480bf85
Bind 'SPC h d l' for text-searching load-path
Co-authored-by: Rudi Grinberg <139003+rgrinberg@users.noreply.github.com>
2019-10-23 00:51:09 -04:00
Henrik Lissner
820264166c
config/default: bind 'SPC o f' -> make-frame
Suggested by @rgrinberg
2019-10-23 00:51:09 -04:00
Henrik Lissner
b7e2c7509f
tools/lsp: deregister workspace shutdown action
...if workspace buffers are present during the deferred shutdown.
2019-10-23 00:51:09 -04:00
Rudi Grinberg
e589c17cf6 Turn on dired-dwim-target
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 12:51:49 +09:00
Qianchuan Ye
da765bebda lang/latex: fix rainbow-delimiters-mode 2019-10-22 23:23:53 -04:00
Qianchuan Ye
1e90bc8c14 lang/latex: fix typo 2019-10-22 23:23:41 -04:00
Rudi Grinberg
bace6dddd2 autoload company-pcomplete-available
This function is called from the eshell module

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 10:18:44 +09:00
Henrik Lissner
373d920715
lang/emacs-lisp: resize eval popup to fit contents 2019-10-22 19:57:57 -04:00
Henrik Lissner
d246307f87
config/default: bind SPC c {F,i,r} to LSP commands
These are experimental keybinds. I'm looking for a way to integrate
LSP's formatter commands (and lsp-organize-imports) into the :editor
format module. And a way to unify refactoring commands (perhaps with emr
or erefactor), including lsp-rename.

- 'SPC c F' -> format region or buffer
- 'SPC c i' -> organize imports
- 'SPC c r' -> rename symbol at point

Addresses #1417
2019-10-22 19:55:50 -04:00
Henrik Lissner
fecca3188a
lang/rust: rust-match-angle-brackets = nil (for evil users) 2019-10-22 19:37:30 -04:00
Henrik Lissner
f1d622e0a4
editor/format: disable format-on-save for latex
latexindent causes disruptive 'Please enter text to be indented: (press
CTRL+D when finished)' prompts, and is effectively broken.
2019-10-22 19:21:19 -04:00
Henrik Lissner
1dc75c0626
config/default: bind 'SPC t r' -> read-only-mode
And alphabetize SPC t prefix.
2019-10-22 19:12:04 -04:00
Henrik Lissner
20a7a1cf15
lang/org: bind gr = org-ctrl-c-ctrl-c 2019-10-22 18:52:39 -04:00
Henrik Lissner
21ac9a28ec
lang/org: evil-org-use-additional-insert = t
Bind meta + {,shift + }{h,j,k,l} keys. These substitute for the
navigation and shifting localleader keys.
2019-10-22 18:52:36 -04:00