Commit graph

4210 commits

Author SHA1 Message Date
Henrik Lissner
173396a963
merge: pull request #5401 from jeetelongname/tree-sitter 2022-06-17 22:55:42 +02:00
Henrik Lissner
7d8b7b4fc2
fix(clojure): adjust buffer-local hook, not global
Though the global side-effect likely had no effect, it's better that our
hacks don't overstep their bounds.
2022-06-17 21:58:54 +02:00
Henrik Lissner
15432cf9d2
fix(emacs-lisp): update custom lisp-indent-function
To reflect Emacs 28+ changes to the function it is
replacing (lisp-indent-function).
2022-06-17 21:58:05 +02:00
Henrik Lissner
52d0c92fea
bump: :lang emacs-lisp
jorgenschaefer/emacs-buttercup@f5cbf97e10 -> jorgenschaefer/emacs-buttercup@ceedad5efa
purcell/flycheck-package@ecd03f8379 -> purcell/flycheck-package@615c1ed8c6
xuchunyang/elisp-demos@924b07d28e -> xuchunyang/elisp-demos@01c301b516
2022-06-17 21:53:21 +02:00
Jeetaditya Chatterjee
908ea8de5f
docs(tree-sitter): add doc checks for langs
langs being:
- elixir
- nix
- zig
2022-06-17 20:08:42 +01:00
Henrik Lissner
89306cb0c6
fix(graphql): truncated pin
Amend: 92f3eb0476
2022-06-17 19:37:41 +02:00
Henrik Lissner
92f3eb0476
bump: :lang graphql
ifitzpatrick/graphql-doc.el@6ba7961fc9 -> ifitzpatrick/graphql-doc.el@d37140267e
timoweave/company-graphql@757dfa45ad -> thaenalpha/company-graphql@aed9f5109e

The source for company-graphql is temporarily changed because the
package was no longer available on MELPA.

Close: #6436
Ref: timoweave/company-graphql#1
Ref: timoweave/company-graphql#4
Co-authored-by: Nopanun Laochunhanun <thaenalpha@users.noreply.github.com>
2022-06-17 19:17:24 +02:00
Henrik Lissner
373386173a
bump: :lang org
awth13/org-appear@ffbd742267 -> awth13/org-appear@8dd1e56415
bastibe/org-journal@f121450610 -> bastibe/org-journal@839a2e1986
emacs-straight/org-mode@971eb6885e -> emacs-straight/org-mode@e9da29b6fa
emacsmirror/org-contrib@17f3c51435 -> emacsmirror/org-contrib@c1e0980fd7
emacsorphanage/ox-pandoc@b2e43b9362 -> emacsorphanage/ox-pandoc@0a35d0fbfa
hakimel/reveal.js@e281b3234e -> hakimel/reveal.js@039972c730
kaushalmodi/ox-hugo@65e349b306 -> kaushalmodi/ox-hugo@85d11219a5
magit/orgit-forge@36e57a0359 -> magit/orgit-forge@8baf1dee79
magit/orgit@42b7f682b3 -> magit/orgit@b33b916915
nnicandro/emacs-jupyter@0a7055d7b1 -> nnicandro/emacs-jupyter@7d20c0aee2
oer/org-re-reveal@e5bae22b9e -> oer/org-re-reveal@93ba4e91f1
org-roam/org-roam@36152590ad -> org-roam/org-roam@171a8db32f

- Fixes Roam's on-save errors when narrowed (#6315).

Close: #6315
Ref: org-roam/org-roam#2159
Co-authored-by: Colin Woodbury <fosskers@users.noreply.github.com>
2022-06-17 18:54:28 +02:00
Henrik Lissner
d4204616ba
bump: :lang clojure
borkdude/flycheck-clj-kondo@d8a6ee9a16 -> borkdude/flycheck-clj-kondo@ff7bed2315
clojure-emacs/cider@86dd3fee9d -> clojure-emacs/cider@b9e1cc26e2
clojure-emacs/clojure-mode@c339353f9e -> clojure-emacs/clojure-mode@b6f41d7490
clojure-emacs/parseclj@b04eae6738 -> clojure-emacs/parseclj@4d0e780e00

Upgrade to the latest version of emacs-cider (1.3.0 -> 1.4.1)

Close: #6447
Co-authored-by: Jo Øivind Gjernes <jodleif@users.noreply.github.com>
2022-06-17 18:54:27 +02:00
Filipe Regadas
7a164f9d4c
bump: :lang dhall
psibi/dhall-mode@ad259c8a22 -> psibi/dhall-mode@c77f1c1e75

Ref: psibi/dhall-mode#36
2022-06-17 18:47:23 +02:00
Nils "Linkpy" Reid
3ea4952f3f fix(zig): use zig ast-check for flycheck checker 2022-06-17 18:37:53 +02:00
tecosaur
f0f414ac67
fix(eval): type error in +emacs-lisp-eval
When evaluating from a buffer not visiting any file, file-truename would
error out since the argument it was fed is nil.

Fix: #6181
Close: #6404
Ref: 7290f85cfd
Co-authored-by: Yoav Marco <ymarco@users.noreply.github.com>
2022-06-17 18:36:10 +02:00
Henrik Lissner
77e9932966
bump: :core
Fuco1/smartparens@37f77bf2e2 -> Fuco1/smartparens@ec15aaa748
Wilfred/helpful@67cdd1030b -> Wilfred/helpful@209971ba9f
bbatsov/projectile@f3468e8d20 -> bbatsov/projectile@4d6da873ae
domtronn/all-the-icons.el@65c496d3d1 -> domtronn/all-the-icons.el@ca1ef30004
emacs-straight/project@4fe1eec803 -> emacs-straight/project@c52ec93689
jscheid/dtrt-indent@66fc30af02 -> jscheid/dtrt-indent@57f4072fa8
justbur/emacs-which-key@1217db8c63 -> justbur/emacs-which-key@1ab1d0cc88
raxod502/straight.el@e2de88ea0e -> radian-software/straight.el@0e204d418d

Includes a fix for #5207 (see radian-software/straight.el#955), which
occasionally caused arrayp errors when installing/upgrading packages.

Fix: #5207
Ref: radian-software/straight.el#955
2022-06-17 18:21:23 +02:00
Henrik Lissner
59d3d8e8da
tweak(org): remove redundant eldoc-mode activation 2022-06-17 18:21:23 +02:00
Henrik Lissner
d67dcf1940
docs(emacs-lisp): insert :added: properties in demos
To help identify when they (and future functions/macros) were added.
2022-06-17 18:21:23 +02:00
Henrik Lissner
cb03d3258d
refactor!(lib): remove {doplist!,plist-delete!,doom-plist-delete}
BREAKING CHANGE: With 26.x support dropped, I've dropped:

- doom-plist-delete: use map-delete instead
- plist-delete!: use cl-callf + map-delete instead
- doplist: use (cl-loop for X on PLIST by #'cddr ...) instead

These were removed as part of an ongoing effort to eliminate
redundancies with built-in packages and reduce Doom's overall footprint.
2022-06-17 18:21:22 +02:00
Colin Woodbury
1dfdfd53c6 feat(fortran): name executable after the file name
Previously the output was always the default `a.out`. Note that this is
only for the single-file non-fpm case, where the user just wants to
compile and run a one-off Fortran program.
2022-05-27 02:59:55 +02:00
Henrik Lissner
e2e33b1b49
tweak(scheme): move repl history file to cache dir 2022-05-27 00:35:37 +02:00
Jeetaditya Chatterjee
6d10e205dd
feat(tree-sitter): add support to zig and nix 2022-05-23 20:02:22 +01:00
Jeetaditya Chatterjee
152f0e0f91
feat(elixir): add tree-sitter support 2022-05-22 21:26:09 +01:00
Jeetaditya Chatterjee
0074dc415b
nit(javascript): use issue shorthand 2022-05-22 21:26:09 +01:00
Jeetaditya Chatterjee
7f814e5d99
refactor(:lang): redo tree-sitter hooks
- bind to major-mode-local-vars-hook instead of major mode hook
- bind the autodef tree-sitter! instead of the functions.
2022-05-22 21:26:08 +01:00
Jeetaditya Chatterjee
7a7565cedf
nit(sh): revert formatting
snuck in when running the formatter
2022-05-22 21:26:08 +01:00
Jeetaditya Chatterjee
955e2d461b
nit(javascript): add hook to end of rjsx-mode 2022-05-22 21:26:06 +01:00
Jeetaditya Chatterjee
e9f98001c1
feat(tree-sitter): support typescript-tsx-mode 2022-05-22 21:26:05 +01:00
Jeetaditya Chatterjee
0c2f986708
feat(:lang): enable ts text objs in modes 2022-05-22 21:26:03 +01:00
Jeetaditya Chatterjee
547860e847
docs(tree-sitter): add doctor checks for flag
add in a check ala lsp, this has been applied to every module with tree
sitter support
2022-05-22 21:26:00 +01:00
Jeetaditya Chatterjee
06ed5ade3f
refactor!(tree-sitter): add +tree-sitter flag
BREAKING CHANGE: break the global nature of the tree sitter
module by adding a +tree-sitter flag to every applicable module

In the background this hooks turn-on-tree-sitter-mode
to the major-mode-hook of the language.
This may also solve the eager loading of tree sitter
2022-05-22 21:26:00 +01:00
Henrik Lissner
8a27eb99be
perf(org): optimize org-roam node listings
org-roam-get-keyword performs some file IO to read file keywords from
all nodes. This can be slow with long node lists. With
org-roam/org-roam#1963, file title is baked into the schema, so we don't
need to do this work anymore.

Ref: org-roam/org-roam#1963
Fix: #6382
2022-05-09 15:43:32 +02:00
Colin Woodbury
6bf725837d fix(fortran): account for spaces in filenames 2022-04-26 03:58:14 +02:00
pancho horrillo
f51a2cdd3a
fix(python): usage of obsolete alias letf
Amend: 04b76fd0ce
2022-04-18 18:14:16 +02:00
Henrik Lissner
04b76fd0ce
fix(python): HTTP request from pip-requirements-mode
pip-requirements-mode fetches the pypi.org package list via HTTP
request, which blocks. This can sometimes take unbearably long in cases
where the user has a slow or no internet connection.

This fix defers this behavior until the first time completion is
invoked.

Fix: #5998
2022-04-17 03:23:40 +02:00
Henrik Lissner
f7e127af58
revert: gnuplot
emacs-gnuplot/gnuplot@7be3c7adde -> emacs-gnuplot/gnuplot@7138b139d2

This package was accidentally bumped in 48658d2136. The original
issue (#6080) has not been resolved upstream.

Fix: #6080
Ref: #6090
Amend: 48658d2136
2022-04-17 03:23:40 +02:00
Eric Dallo
d9e66630b5 feat(clojure): improve default variables when +lsp 2022-04-16 18:12:52 +02:00
Itai Y. Efrat
6fc5fe56f2 docs(go): add doctor check for gopls executable 2022-04-16 18:10:37 +02:00
Itai Y. Efrat
7b7940bb37 docs(go): disable gocode doctor check if lsp is on 2022-04-16 18:10:37 +02:00
Colin Woodbury
d501b48f2e docs(fortran): show how to install Intel Fortran 2022-04-16 02:48:24 +02:00
Colin Woodbury
f64a61a7e1 feat(fortran): keymappings for Intel 2022-04-16 02:48:24 +02:00
Colin Woodbury
81dc9af008 feat(fortran): initial addition of ifort functions 2022-04-16 02:48:24 +02:00
noisycomputation
b21de24311
docs(latex): add texlive-latexextra dependency for pdflatex exports
Exporting an org file to pdf via LaTeX (org-export-dispatch or 'SPC m
e', then 'l p') requires texlive-latexextra (Arch package name) to be
installed on the system.

For reference, the error raised when texlive-latexextra was missing was
that the file 'wrapfig.sty' was not found. The specific error likely
depends on the contents of the exported file. Internet searches reveal
that pdflatex may also complain about 'utf8x.def' being missing; this
file is also provided by texlive-latexextra.
2022-04-12 02:36:35 +02:00
Itai Y. Efrat
8d8ec41c5c docs(agda): document +local flag 2022-04-12 02:31:50 +02:00
Henrik Lissner
4538225fc5
fix(javascript): void-function typescript-tsx-mode
Caused when you have :lang web disabled, but :lang javascript enabled.
This is a stopgap until I decide what to do with typescript-tsx-mode.

Fix: #6243
2022-04-08 02:51:50 +02:00
Christoph Rauch
065e005db9 fix(org): #+ constructs hidden forever
Leaving org-tree-slide-mode did not unhide #+ constructs.
Now +org-present-hide-blocks-h is triggered when leaving the mode as
well, fixing the behaviour.
2022-04-06 18:39:12 +02:00
Ellis Kenyő
6bbf837c9f fix(graphql): remove *Messages* spam
The faces were defined wrong, so every time a buffer came into focus, it
would spam *Messages*.
2022-04-06 14:31:45 +02:00
Henrik Lissner
86a8b41e37
refactor(beancount): +beancount/clone-transaction 2022-04-03 20:51:54 +02:00
David Lukes
9e79aa3446
tweak(org): fold all sections on zm in org-roam buffer 2022-04-03 20:47:14 +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
e8c22c770b
docs(emacs-lisp): remove sharp-quoted example for add-hook!
add-hook! is advertised to be able to add multiple hooks using a
function-quoted list of functions, but add-hook! never actually
supported this. Rather than correct the implementation, I'm correcting
the documentation instead, because sharp-quoting lists betrays the
semantics of the sharp-quote. Quoted lists should still work fine
though (as documented in add-hook!'s docstring).

Close: #5843
2022-04-03 14:58:35 +02:00
Henrik Lissner
6f8b83b884
refactor(default,python): move smartparens config
Ref: 41cbb1fe7b
2022-04-01 19:12:35 +02:00
Alexander Graul
ff31427687 tweak(python): use pyproject.toml as project file
With PEP 518, Python defined a general Python project configuration
format that is called pyproject.toml
2022-04-01 04:31:59 +02:00