Commit graph

307 commits

Author SHA1 Message Date
Henrik Lissner
b9933e6637
refactor!: restructure Doom core
BREAKING CHANGE: This restructures the project in preparation for Doom
to be split into two repos. Users that have reconfigured Doom's CLI
stand a good chance of seeing breakage, especially if they've referred
to any core-* feature, e.g.

  (after! core-cli-ci ...)

To fix it, simply s/core-/doom-/, i.e.

  (after! doom-cli-ci ...)

What this commit specifically changes is:
- Renames all core features from core-* to doom-*
- Moves core/core-* -> lisp/doom-*
- Moves core/autoloads/* -> lisp/lib/*
- Moves core/templates -> templates/

Ref: #4273
2022-07-30 22:41:13 +02:00
Jeetaditya Chatterjee
f73c7915d2
docs(tree-sitter): add module to example init
also add the wittism to the modules.org file
2022-05-22 21:26:03 +01:00
iyefrat
d41cff489f
module: add :input bidi
* module: add :input bidi

Co-authored-by: Yoav Marco <yoavm448@gmail.com>

* docs(bidi): flesh out README.org

Co-authored-by: Itai Y. Efrat <itai3397@gmail.com>

* feat(bidi): add +bidi-global-mode

* docs(bidi): improve font setting instructions

* feat(bidi): add +bidi-(hebrew|arabic)-font

Since the Hebrew and Arabic unicode blocks cover the vast majority of
RTL languages used today, we provide these fonts so end users don't have
to bother with setting up the hooks themselves.

* feat(bidi): add smart fontify

Adds support for using the bidi fonts on surrounding whitespace and
punctuation through. On by default, customizable through
+bidi-want-smart-fontify and +bidi-smart-fontify-keywords.

Also adds face versions of the bidi fonts.

* docs(bidi): recommend known good nastaliq fonts

* fix(bidi): re-set bidi faces after changing fonts

* feat(bidi): add +bidi-paragraph-direction

This allows users to choose what bidi-paragraph-direction is set to when
+bidi-mode is on, so they can choose if they want per paragraph
alignment (the default) or to force everything to be aligned RTL

* docs(bidi): conform to verbatim/code conventions

* docs(bidi): add font overview to Features

* docs(bidi): warn on rtl forced alignment footgun

+bidi-paragraph-direction is a nice variable to have if you primarily
use +bidi-mode for rtl text buffers, but it shouldn't be used in
conjunction with +bidi-global-mode since it messes up English buffers.

Co-authored-by: Yoav Marco <yoavm448@gmail.com>
2022-04-22 00:21:32 +02:00
Ellis Kenyő
4da450ffd7 module: add :lang graphql
This module enables GraphQL[1] usage within Doom with extended
functionality.

[1] https://www.graphql.org
2022-04-03 16:38:57 +02:00
Henrik Lissner
28a929663b
tweak: disable :ui doom-quit by default
This module doesn't offer any real value, so shouldn't be enabled by
default. Plus, some of its messages may give off the wrong impression to
folks that aren't expecting them.

Fix: #5733
2022-03-21 04:05:37 +01:00
Henrik Lissner
09fa3c5e28
docs: reformat & revise {init,config}.el templates 2022-02-16 16:11:22 +01:00
Zero King
629e93b861 tweak(cc): default to +lsp
Without +lsp, both irony-mode and rtags require extra configuration for
system header path on macOS.

With +lsp, clangd works well out of the box, and it's easier to
configure than two separate daemons.

Ref: https://github.com/Sarcasm/irony-mode/wiki/Mac-OS-X-issues-and-workaround
Ref: Andersbakken/rtags#811
2022-02-14 21:24:02 +01:00
Henrik Lissner
9c2621020e tweak(java): default to +lsp instead of +meghanada
The latter is a simpler default: requires no config and works well ootb.
2022-01-27 03:43:51 +01:00
Colin Woodbury
f3ddf235b5
module: add :lang fortran
* feat(fortran): account for f90 and fortran modes

* feat(fortran): initial keybindings

* feat(fortran): basic compilation

* feat(fortran): compilation popup

This customizes the name of the compilation buffer produced by the
`compile` function. We're keeping things simple; Emacs already knows how
to run compilation commands in a popup and parse the results, so let's
let it do its thing.

* feat(fortran): doctor checks

* docs(fortran): installation instructions

* feat(fortran): actual usage of fpm

* feat(fortran): configure compilation popups

* feat(fortran): improved raw gfortran usage

Although it's recommended to do everything through `fpm` to make life
easier.

* docs(fortran): backburner `+intel` for now

* feat(fortran): address PR suggestions
2021-12-15 15:16:22 +01:00
Bruce D'Arcus
3047430739 feat(biblio): add org-cite, citeproc 2021-11-21 14:25:08 -05:00
Itai Y. Efrat
a20cd88e8e refactor!(haskell): remove dante support
BREAKING CHANGE: Now that haskell-language-server is mature there is
little reason not to pick it over dante.
2021-09-15 01:56:26 +03:00
Rudi Grinberg
dd55ebb67a
module: add :lang dhall
Close #4791

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-08-03 01:51:31 -04:00
TEC
7dff598725
Mu4e: Gate org-msg behind +org flag 2021-07-30 01:56:50 +08:00
Henrik Lissner
c2e6db27d0 tweak: adopt +vertico as our default backend
This has been a long time coming. Vertico et co turned out to be what I
wanted ivy to be and more.
2021-07-28 13:11:45 -04:00
Itai Y. Efrat
24eaa1317c completion/selectrum -> completion/vertico, part 2
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
  detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
7ba1cc65ff selectrum: add init.el witticism 2021-07-25 02:49:40 +03:00
Henrik Lissner
3ccc12c16b Add init.example.el one-liner for :tools lsp 2021-07-06 02:32:38 -04:00
Henrik Lissner
044a1a5f2b Drop Emacs 26.x support
Emacs 27.x has been the stable version of Emacs for nearly a year, and
introduces a litany of bugfixes, performance, and quality-of-life
improvements that significantly reduce Doom's maintenance burden (like
XDG support, early-init.el, image manipulation without imagemagick, a
native JSON library, harfbuzz support, pdumper, and others).

With so many big changes on Doom's horizon, I like having one less (big)
thing to worry about.

Also reverts bb677cf7a (#5232) as it is no longer needed.
2021-07-06 02:31:52 -04:00
Henrik Lissner
bd24be7236 Reticulating splines
Fixes @tecosaur's tears. Or creates more.
2021-04-15 18:58:54 -04:00
Henrik Lissner
6fda673b07 Alphabetize :lang factor in init.example.el 2021-04-15 00:39:21 -04:00
Henrik Lissner
09fc756f0d
Merge pull request #4827 from bnjmnt4n/module/lang/zig
Add `:lang zig` module
2021-04-15 00:26:31 -04:00
Henrik Lissner
32cf114dc7 lang/scheme: fix support for scheme implementations
Adds the following flags:

  +chez
  +chibi
  +chicken
  +gambit
  +gauche
  +guile
  +kawa
  +mit
  +racket

Fixes #4863
2021-04-14 23:43:45 -04:00
Henrik Lissner
8a083d1370 Add :lang beancount module 2021-04-14 23:31:13 -04:00
Benjamin Tan
28705030e0
Add :lang zig module 2021-04-05 16:21:31 +08:00
Henrik Lissner
235c386368 Add :app emms to init.example.el 2021-03-06 00:51:37 -05:00
TEC
74613c25e2
New module, :app everywhere 2021-02-08 09:22:25 +08:00
Henrik Lissner
c7458e9e2e Make flyspell the default spellcheck backend
It's more likely to work out of the box. Until spell-fu's weaknesses can
be worked out, here or upstream, I'll opt for the less confusing option.
2021-02-05 22:51:29 -05:00
Henrik Lissner
9929883bf9
Merge pull request #4001 from akirabaruah/emojify
ui/emojis: New module for inserting/displaying emojis
2020-10-19 01:25:47 -04:00
Akira Baruah
813804066d ui/emojis: New module for inserting emojis
Uses the emojify package to enable displaying and inserting emojis. Also
adds a new binding "SPC i e" to insert an Emoji. Includes basic docs.
2020-10-11 20:37:19 -07:00
Itai Y. Efrat
558277f523 update idris module to new format
also add witty comment
2020-10-06 13:53:32 +03:00
Henrik Lissner
f4ec42ae5c
Move :tools macos to :os macos 2020-08-20 02:14:32 -04:00
Henrik Lissner
7081d833f6
Move :ui pretty-code to :ui ligatures
Includes a major refactor of the module.
2020-08-20 02:14:32 -04:00
Gerry Agbobada
3ef2531356
Remove doom!-order dependency
The doom-init-modules-hook will do the work at the correct timing
2020-08-18 11:49:45 +02:00
Gerry Agbobada
911d7cb82c
Add support for bépo layout in a dedicated module
Evil is loaded too early to be able to wait for the
config.el file of a user to set the CR-rotation style variable.
2020-08-18 11:49:25 +02:00
Henrik Lissner
0a4841b247
Add :os tty module
- Moves clipetty to its own, opt-in module (#2671, #3195, #3498)
- Fix cursor shape changing between evil states (#1994)
- Moves `xterm-mouse-mode` and `visible-cursor` config out of core.
2020-08-07 23:44:39 -04:00
Paul A. Patience
a282730ce9 Fix typos and reword docstrings 2020-07-23 07:35:31 -04:00
Clayton Liddell
34254ceac3
Fix comment indentation typo in init.el. 2020-07-18 21:32:15 -05:00
zackteo
26e421e336 Update doc comments in {init,config}.el templates
Fixed parts missing in ee972e7a3f
2020-06-07 20:02:59 +08:00
Henrik Lissner
ee972e7a3f
Update doc comments in {init,config}.el templates 2020-06-07 02:31:13 -04:00
Marcus Ramberg
35ec72d080 Rename perl module to raku.
It doesn't actually contain any Perl config.
2020-06-05 21:01:23 +02:00
Nathan Lovato
f8f62e0a65 Add gdscript module 2020-05-31 19:10:31 -06:00
Henrik Lissner
220916ae17
Merge pull request #3093 from sei40kr/taskrunner
Add tools/taskrunner module
2020-05-18 03:41:02 -04:00
Seong Yong-ju
3f21d8267a Add tools/taskrunner module
Co-authored-by: chrunchyjesus <chrunchyjesus@users.noreply.github.com>
2020-05-18 16:26:32 +09:00
Steven vanZyl
fe68c654c0 Minimap Fixes
Another set of fixes to the minimap as suggested by @hlissner.

- Changed the use-package to :defer t
- Updated the README.org and removed the Hacks section
- Alphabetized the init.example.el list
2020-05-17 15:54:09 -04:00
Steven vanZyl
112b43fe9a Initial Minimap Module
Created a new Minimap module based on minimap.el from ELPA
the module sets some DOOM-specific config, and better defaults.
Also added keybindings for it.
2020-05-16 17:25:12 -04:00
Henrik Lissner
06d5d5e6c0
General refactors, reformatting & comment revision 2020-04-23 23:56:17 -04:00
Henrik Lissner
fe8dd63f22
Disable a couple modules by default
An effort to reduce the number of packages for first-time install. These
features aren't critical to the UX or character of Doom Emacs, so I've
made them opt-in.
2020-04-23 23:56:17 -04:00
Henrik Lissner
4a8c4815f1
Add :lang yaml module
Removes yaml-mode from :lang data and adds LSP support (#2502).

Closes #2502

Co-authored-by: Seong Yong-ju <sei40kr@gmail.com>
2020-04-23 23:56:14 -04:00
Henrik Lissner
b151abfd34
Add :lang json module
Removes json-mode from :lang data and adds LSP support (#2502).
2020-04-23 23:28:50 -04:00
Henrik Lissner
2d766cfa0c
Remove :lang assembly
This module is too trivial, and provides nothing that the user couldn't
install themselves.
2020-04-23 23:28:50 -04:00