Commit Graph

1661 Commits

Author SHA1 Message Date
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
60df01714e lang/cc: more type safety when reading compile options #1168
It was possible that +cc-default-compiler-options and/or
irony--compile-options could contain a nil, causing stringp type errors.
2019-02-14 00:40:19 -05:00
01a166d5f0 lang/rust: fix async docs lookup handler #1155 2019-02-11 14:42:28 -05:00
c13fd6eddc lang/org: fix C/s-RET keybinds for evil users 2019-02-11 14:11:52 -05:00
c166f075a3 Add missing variable name
This enables compilation of the Ruby module where previously the
following error would cause a breaking error.

    ../../../lang/ruby/autoload.el:48:45:Error: &rest without variable name
    ✕ Failed to compile modules/lang/ruby/autoload.el
2019-02-10 21:57:47 +00:00
faf217b0de Require solidity packages
They're on Melpa individually for whatever reason though they're in the
solidity-mode repo.
2019-02-06 19:56:22 -06:00
b461c99d86 lang/org: fix C-RET/s-RET in org-mode #1146 2019-02-03 18:51:55 -05:00
bab37d3047 Fix Clojure def/doc lookup handlers, add references one 2019-01-26 15:34:32 +02:00
6750c84af5 Add descriptions for clojure-mode map 2019-01-26 15:06:14 +02:00
7ca2b42d2b lang/lua: set default indent = tab-width
Because it's original default was 3. Madness.
2019-01-25 03:10:28 -05:00
a337c1bd4e lang/org: generalize newline keys
To make them available to both emacs/evil users.
2019-01-22 19:29:13 -05:00
24b4d24d18 Fix #1127: errant entry in org-structure-template-alist
Caused an error when org-insert-structure-template is called in
org-mode.
2019-01-21 22:35:49 -05:00
6bbc095694 Merge pull request #1128 from ar1a/nix-indent
set nix-indent-function to #'nix-indent-line
2019-01-21 22:24:34 -05:00
8e4635bdc8 set nix-indent-function to #'nix-indent-line 2019-01-22 10:44:05 +11:00