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
Henrik Lissner
ff26cf683c
lang/javascript: update hook reference
...
Wrong function!
2019-06-11 16:43:56 +02:00
Henrik Lissner
b3c27ebe60
lang/javscript: unify lsp & tide initialization
...
The goal was to enable lsp (if +lsp is enabled), failing that it would
fall back on tide. This also adds lsp+tide support for tsx files opened
in web-mode.
2019-06-11 08:00:14 +02:00
Henrik Lissner
5d94f048b6
editor/evil: remove evil-matchit
...
Its bugginess doesn't justify the "intelligence" it offers for block
keywords.
2019-06-10 09:38:57 +02:00
Henrik Lissner
d91888b432
lang/emacs-lisp: tab-width = 2 by default
...
A more sensible default. Also fixes evil-shift-width in emacs-lisp-mode.
2019-06-10 09:38:56 +02:00
Henrik Lissner
3160b6342f
lang/javascript: fix +javascript/open/rpl
...
When opened through +eval/open-repl-other-window
2019-06-10 09:38:56 +02:00
Henrik Lissner
8ce8679c86
Mark css-mode & less-css-mode as built-in packages
...
less-css-mode was introduced in Emacs 26.1+
2019-06-10 09:38:55 +02:00
Henrik Lissner
518e53deab
lang/org: fix snippet expansion on visual region
...
Fixes two issues:
1. Evil users would be left in visual mode after expanding a snippet on
a region, making it awkward to insert text. It now switches to insert
state.
2. While yasnippet reindent the snippet's contents post-expansion, org's
mode-specific indentation (see `org-src-tab-acts-natively`) can throw
errors for arbitrary reasons. We don't need smart indentation when
expanding snippets, so we turn it off only in this case.
2019-06-10 09:38:55 +02:00
Siddharth Shekar
aa64cf9426
Replace kill-this-buffer with kill-current-buffer
...
As per the documentation for kill-this-buffer, it should only be invoked
from the menu and behaves unpredictably when invoked programmatically.
2019-05-30 18:54:58 -07:00
Henrik Lissner
ad9541acc8
Merge pull request #1327 from TOTBWF/lang-fsharp
...
Add :lang fsharp module
2019-05-28 17:04:58 -04:00
Henrik Lissner
447af38051
Merge pull request #1416 from Mambu38/feature-pyimport
...
Added pyimport support
2019-05-28 17:02:33 -04:00
Henrik Lissner
7a252b6a47
Refactor pyimport def-package! block
2019-05-28 17:02:10 -04:00
Henrik Lissner
231b925170
Merge pull request #1434 from uelei/pytest-one
...
add option to run only one function
2019-05-28 16:59:59 -04:00
uelei
936545877a
add option to run one function only
2019-05-25 21:01:31 -03:00
Reed Mullanix
d2d690ec93
Add docs
2019-05-22 22:01:25 -07:00
Reed Mullanix
94cf5a1129
Fix issue with REPL
2019-05-22 22:01:25 -07:00
Reed Mullanix
aa920103e6
Add requested changes
2019-05-22 22:01:25 -07:00
Reed Mullanix
14f1a1e4e4
Add warning for when the F# Compiler is missing
2019-05-22 22:01:25 -07:00
Reed Mullanix
8ef56f5bc0
Implement fsharp :lang module
2019-05-22 22:01:25 -07:00
chrunchyjesus
9bf47e2c96
fix spelling
2019-05-22 17:23:31 +02:00
Henrik Lissner
34b4ff12f4
lang/emacs-lisp: remove buggy read-only hook
...
Breaks package-install when it attempts to byte-compile package files.
2019-05-22 05:35:37 -04:00
Henrik Lissner
3474e6bf09
lang/cc: move smartparens config to config/default
2019-05-22 03:50:53 -04:00
Henrik Lissner
3073bcbe39
lang/emacs-lisp: suppress errors during flycheck
2019-05-21 17:29:29 -04:00
Henrik Lissner
6f41a592d4
lang/markdown: remove boilerplate
2019-05-21 17:29:17 -04:00
Henrik Lissner
fbf4f78e8e
Fix +python-executable-find with absolute paths
2019-05-21 17:24:23 -04:00
Henrik Lissner
e96205ed9f
lang/markdown: add README
2019-05-21 17:24:23 -04:00
Henrik Lissner
768ebda95b
lang/markdown: add multimarkdown compiler support
2019-05-21 17:24:23 -04:00
Henrik Lissner
b1e23238e6
lang/markdown: generalize markdown compile fn
...
So it can be used with the original perl script, discout, or the renamed
executable on MacOS.
2019-05-21 17:24:23 -04:00
Henrik Lissner
ece2f86480
lang/markdown: remove vestigial pandoc-mode
2019-05-21 17:24:23 -04:00
Henrik Lissner
3e15b71568
lang/emacs-lisp: optimize var/face highlighting
...
A slight performance improvement in files with a lot of comments and
strings, by skipping ahead a line if in a comment and to the next double
quote if in a string. Otherwise, this function would visit every symbol
in between, and syntax-ppss calls are relatively expensive here.
2019-05-20 21:09:12 -04:00