Commit graph

4947 commits

Author SHA1 Message Date
Henrik Lissner
5ee4f03ce7
tools/lsp: no prompt for project root & autokill servers 2019-02-26 22:57:34 -05:00
Henrik Lissner
9b7d95f43a
Remove doom-cleanup-hook & doom/cleanup-session
These weren't reliable, often times buggy or overzealous about killing
buffers and processes. Best to do it manually or come up with a better
solution.
2019-02-26 22:57:02 -05:00
Henrik Lissner
3e85981695
Add process-menu-mode-map keybinds for evil 2019-02-26 22:55:09 -05:00
Henrik Lissner
7361e05582
tools/flycheck: refactor popup-tip minor mode
Less code, fewer problems.
2019-02-26 19:32:35 -05:00
Henrik Lissner
11a528be04
Fix infinite recursion in +flycheck|disable-popup-mode-for-lsp 2019-02-26 18:05:48 -05:00
Henrik Lissner
de4b18a2dc
feature/lookup: refactor backend dispatcher
Hopefully improves compatibility with async handlers. Still a WIP.
2019-02-26 16:57:14 -05:00
Henrik Lissner
594df64913
Smarter RET in normal mode over flyspell regions
Will now trigger flyspell-correct-word-generic
2019-02-26 16:55:29 -05:00
Henrik Lissner
db2949ff32
Improve flyspell support
+ Make flyspell more selective about what to scan in markdown buffers.
+ Don't mark duplicates when proseline or langtool are present.
+ Add set-flyspell-predicate! for seeing mode-specific word predicates.
2019-02-26 16:55:28 -05:00
Henrik Lissner
d83ba452ef
Refactor +cc-c-c++-objc-mode
Improve docstring and a minor correction to C++ detection regexp.
2019-02-26 13:23:42 -05:00
Henrik Lissner
1b43ea50f0
Revise SPC f keybinds
- SPC f . -> counsel-file-jump or find-file
- SPC f > -> doom/browse-in-other-projects
- SPC f / -> projectile-find-file
- SPC f ? -> doom/find-file-in-other-project
- Moved doom/sudo-find-file to SPC f S

This change was made to accommodate the new
doom/browse-in-other-projects and doom/find-file-in-other-project
commands, which make it easy to jump to files in other known projects.
2019-02-26 13:21:16 -05:00
Henrik Lissner
ca6be0d715
Merge pull request #1203 from flatwhatson/cpp-tab-always-indent
Remove C/C++ tab-always-indent override
2019-02-26 12:18:55 -05:00
Andrew Whatson
6e4e11ebb8 Remove C/C++ tab-always-indent override 2019-02-26 20:30:00 +10:00
Andrew Whatson
2d3937ac1f Restore C/C++ default-header-file-mode support 2019-02-26 20:25:55 +10:00
Henrik Lissner
c4ed1031a5
Merge pull request #1188 from ar1a/lsp-haskell
Add haskell +lsp
2019-02-25 22:26:27 -05:00
Henrik Lissner
9c085c0553
Set yas-indent-line only in haskell-mode 2019-02-25 22:26:13 -05:00
Henrik Lissner
e19b6050ee
Merge pull request #1199 from flatwhatson/ivy-other-window
Improved switch-to-buffer-other-window for ivy
2019-02-25 12:23:49 -05:00
Aria Edmonds
69a6e60f84 lang/haskell +lsp: enable snippet completion 2019-02-26 02:18:57 +11:00
Andrew Whatson
cd997383da Replace cquery with ccls for C/C++ LSP support 2019-02-25 22:43:59 +10:00
Andrew Whatson
faa4367636 Improved switch-to-buffer-other-window for ivy 2019-02-25 22:29:41 +10:00
Henrik Lissner
8de36a3b5a
+ruby|adjust-mode-line -> +ruby|init-mode-line
To be consistent with other initializer hooks.
2019-02-24 22:23:24 -05:00
Henrik Lissner
85b1983c89
Merge pull request #1195 from xhcoding/develop
Add: sumatrapdf as pdf viewer on Windows
2019-02-24 21:05:29 -05:00
Henrik Lissner
be4b82fd28
Merge pull request #1197 from luigy/add-counsel-ag-binding
Bind C-l to ivy-done in counsel-ag-map
2019-02-24 21:05:00 -05:00
Henrik Lissner
f5a18d3751
+python|adjust-mode-line -> +python|init-mode-line
To be consistent with other initializer hooks.
2019-02-24 21:00:46 -05:00
Luigy Leon
2e3cf80ffc Bind C-l to ivy-done in counsel-ag-map
to make it more consistent with ivy-minibuffer-map
2019-02-24 18:49:40 -05:00
Henrik Lissner
7c5eefee3e
General, minor refactoring 2019-02-24 13:58:56 -05:00
Henrik Lissner
0872b29767
Ensure doom--current-module is set
When evaluating elisp code through feature/eval's commands (e.g. gr/gR).
2019-02-24 13:55:57 -05:00
Henrik Lissner
8604c0bbad
Use the default face for vterm's bg/fg 2019-02-24 13:55:07 -05:00
Henrik Lissner
899c4b8117
Disable +flycheck-popup-mode in lsp-ui-mode #1192
As its redundant with lsp-ui's sideline feature.
2019-02-24 13:52:36 -05:00
Henrik Lissner
5e24c93d4c
tools/lsp: move lsp-session-file to doom-etc-dir 2019-02-24 13:52:02 -05:00
Henrik Lissner
024f383a08
lang/org: add full link at point display to eldoc 2019-02-24 13:47:53 -05:00
Andrew Whatson
a39f366f6a Fix wrong function name for non-evil repl 2019-02-24 22:07:23 +10:00
xhcoding
5da216a1c5 Add: sumatrapdf as pdf viewer on Windows 2019-02-24 17:44:06 +08:00
Henrik Lissner
a13758393e
Merge pull request #1193 from iovxw/develop
Add LSP for Rust
2019-02-23 23:13:42 -05:00
Andrew Whatson
e479e83534 Fix wrong function names in non-evil yas-keymap 2019-02-23 23:53:45 +10:00
iovxw
07d54abb9d
lang/rust: disable racer when +lsp 2019-02-23 14:05:12 +08:00
Aria Edmonds
a070343e22 haskell +lsp: change lsp to +lsp|init 2019-02-23 15:15:38 +11:00
Aria Edmonds
b8be64f3b5 Add haskell lsp mode 2019-02-23 03:21:20 +11:00
Henrik Lissner
acddf6a047
Move delete-backward-char & newline-and-indent advice
To config/default; the only place it is used.
2019-02-22 00:25:30 -05:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
Henrik Lissner
88f50bbdec
Merge pull request #1144 from SteamedFish/develop
Add vterm layer
2019-02-21 20:16:57 -05:00
Henrik Lissner
499877fcff
lang/haskell: restore modified flag after flycheck
Dante quietly saves the current buffer (without triggering save hooks)
before invoking flycheck, unexpectedly leaving the buffer in an
unmodified state.

This is annoying if we depend on save hooks to do work on the
buffer (like reformatting), so we restore a (false) modified state.
2019-02-21 19:13:36 -05:00
Henrik Lissner
afae6e4f1d
Remove doom/toggle-comment-region-or-line
Replaced with simpler keybinds.
2019-02-21 19:13:36 -05:00
Henrik Lissner
e56a9580d7
tools/magit: don't close magit with ESC 2019-02-21 19:13:36 -05:00
Henrik Lissner
cb923eadcc
Add basic LSP support
Still needs to be documented, but includes support for the following
languages:

+ C/C++/ObjC
+ Go
+ Java
+ Javascript
+ OCaml
+ PHP
+ Python
+ Ruby
+ Scala
+ Swift
+ HTML/CSS

Relevant to #460, #716, #1186
2019-02-21 19:13:35 -05:00
Henrik Lissner
d7308799f6
Remove -z flag from ag/rg commands
No guarantee the user has the associated decompression libraries
installed. I'll implement feature detection for these later.
2019-02-21 19:13:35 -05:00
Henrik Lissner
99bf731ed6
Merge pull request #1184 from shanavas786/add-port-circe
Add port to circe network config
2019-02-21 16:24:10 -05:00
SteamedFish
f0048be7f8 More specific about "use vterm"
use the command to trigger vterm instead of a general "use vterm"
2019-02-22 00:58:31 +08:00
SteamedFish
4ac096a55d Rewrite readme 2019-02-22 00:37:22 +08:00
SteamedFish
df19747ca2 change warning messages 2019-02-21 23:33:21 +08:00
SteamedFish
16b7c58da9 use fboundp instead of string-match-p 2019-02-21 23:22:04 +08:00