Commit Graph

1574 Commits

Author SHA1 Message Date
8832737671 Adopt seagle0128/doom-modeline for :ui modeline
And remove obsolete :ui doom-modeline module.

Relevant to: #136, #921
2019-03-02 01:34:14 -05:00
61645bb9ca Bind some rspec functions for ruby and enh-ruby mode
Some rspec-mode's functions can be used under any Ruby source files. So
adding some localleader bindings for them.

Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
2019-03-01 09:35:28 +07:00
812c834970 lang/python: fix ipython repl & change args type
+python-ipython-repl-args and +python-jupyter-repl-args are now lists,
rather than strings.
2019-02-28 04:10:35 -05:00
eb4450e99c lang/java: remove finished TODO 2019-02-27 21:49:11 -05:00
6fc7b8c1c4 Better electric-indent uninhibiter
Will now work in C modes as well as Csharp, Java and Python; possibly
others that forcibly set electric-indent-inhibit.
2019-02-27 18:38:28 -05:00
574dae1426 Isolate builtin org at compile time
Attempts to address the elusive "invalid-function
org-preserve-local-variables" error mentioned in: #1116 #1169, and

This error is otherwise avoided by running `bin/doom compile :plugins`
2019-02-27 03:14:47 -05:00
c3a6d38da4 Fix void-variable rtags-rdm-binary-name error 2019-02-27 03:13:11 -05:00
1f63358947 Use configured variables for rtags binary names 2019-02-27 12:53:03 +05:30
80d62aaaef Fix electric indentation in c modes #510 #1206 2019-02-26 22:58:47 -05:00
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
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
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
2d3937ac1f Restore C/C++ default-header-file-mode support 2019-02-26 20:25:55 +10:00
c4ed1031a5 Merge pull request #1188 from ar1a/lsp-haskell
Add haskell +lsp
2019-02-25 22:26:27 -05:00
9c085c0553 Set yas-indent-line only in haskell-mode 2019-02-25 22:26:13 -05:00
69a6e60f84 lang/haskell +lsp: enable snippet completion 2019-02-26 02:18:57 +11:00
cd997383da Replace cquery with ccls for C/C++ LSP support 2019-02-25 22:43:59 +10:00
8de36a3b5a +ruby|adjust-mode-line -> +ruby|init-mode-line
To be consistent with other initializer hooks.
2019-02-24 22:23:24 -05:00
85b1983c89 Merge pull request #1195 from xhcoding/develop
Add: sumatrapdf as pdf viewer on Windows
2019-02-24 21:05:29 -05:00
f5a18d3751 +python|adjust-mode-line -> +python|init-mode-line
To be consistent with other initializer hooks.
2019-02-24 21:00:46 -05:00
7c5eefee3e General, minor refactoring 2019-02-24 13:58:56 -05:00
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
024f383a08 lang/org: add full link at point display to eldoc 2019-02-24 13:47:53 -05:00
5da216a1c5 Add: sumatrapdf as pdf viewer on Windows 2019-02-24 17:44:06 +08:00
07d54abb9d lang/rust: disable racer when +lsp 2019-02-23 14:05:12 +08:00
a070343e22 haskell +lsp: change lsp to +lsp|init 2019-02-23 15:15:38 +11:00
b8be64f3b5 Add haskell lsp mode 2019-02-23 03:21:20 +11:00
69ed1a4a99 feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
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
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
09bdbd1bdd lang/haskell: only require intero when flag is set 2019-02-20 23:06:10 -05:00
b4b85569b4 lang/org: expand snippet on TAB in visual mode 2019-02-19 19:05:49 -05:00
c82faf7f10 General reformatting & minor refactors 2019-02-19 15:53:26 -05:00
43975d3cd4 lang/data: remove vimrc-mode
This package/mode isn't "data".

Relevant to #973
2019-02-19 15:53:23 -05:00
3d99ae8562 lang/csharp: include +chsarp-sp-point-in-type-p 2019-02-19 01:28:07 -05:00
883fcffc97 lang/csharp: use omnisharp cleanup hook 2019-02-18 17:42:21 -05:00
e01781a3d9 lang/csharp: minor refactor
Ensure csharp-mode specific config can work without omnisharp.
2019-02-18 17:40:57 -05:00
ed0a4bc5ca lang/csharp: add electric/autopairing behavior 2019-02-18 15:38:26 -05:00
9dd88e5924 Move c electric disabler to config/default
Because it is tied to the smartparens config, and we'll want this
behavior to extend to all C-derived modes (like csharp and php modes).
2019-02-18 15:36:44 -05:00
94b16cba6c Standardize REPL commands & improve SPC o r
- SPC o r now prompts for a REPL to open when none was found for the
  current buffer.
- REPL handlers must now follow the naming convention "*/open*-repl".
  e.g. +python/open-ipython-repl, +emacs-lisp/open-repl, etc.
- +eval/open-repl has been split in two:
  - +eval/open-repl-other-window
  - +eval/open-repl-same-window
2019-02-18 01:59:56 -05:00
ec55884aae General, minor reformatting & refactor 2019-02-18 00:47:46 -05:00
3b1305b66f lang/lua: lazy load lua-mode 2019-02-16 19:03:45 -05:00
a9f2aadd94 Merge pull request #1142 from gsnewmark/add-descriptions-to-clojure-mode-map
Add descriptions for clojure-mode map
2019-02-16 01:21:44 -05:00
4064d399d6 Merge pull request #1143 from gsnewmark/fix-clojure-mode-lookup-handlers
Fix Clojure mode lookup handlers
2019-02-16 01:19:35 -05:00
81e30dc13c lang/ess: add basic evil support to ess-help-mode 2019-02-15 20:32:37 -05:00
2d0f250241 lang/ess: fix keymaps prefixes
They may not be loaded when bound.
2019-02-15 20:25:21 -05:00
0edeafadcf lang/julia: operator highlights for ess-julia-mode
And adjust REPL handler to return the repl buffer.
2019-02-15 19:43:13 -05:00
4c4c0a451f lang/ess: remove redundant line-number display hook
`display-line-numbers-mode` is already in prog-mode-hook and ess-mode is
derived from prog-mode.
2019-02-15 19:43:13 -05:00
a246a90565 lang/ess: fix repl & doc lookup in ESS R/Julia
Also moves history files into doom-cache-dir
2019-02-15 19:43:13 -05:00
2054f6b35a lang/php: include composer files with phpactor 2019-02-14 00:40:19 -05:00