Commit graph

1229 commits

Author SHA1 Message Date
Henrik Lissner
ec225ac4b5 tools/lookup: remove mention of +lookup/install-docset
It was removed some time ago (replaced upstream by
dash-docset-install-docset).
2021-03-12 22:58:15 -05:00
Nathan Tran
cdcdde3354
Fix +debugger/start not working (#4782)
* Fix `+debugger/start` not working

* Correct indentation

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-11 10:24:44 -05:00
Henrik Lissner
14eb254b4b Bump :tools magit
magit/magit@1c60edc -> magit/magit@4735b92
magit/forge@fa80a87 -> magit/forge@8382fd3

The same predicates are now specified in upstream magit, so there is no need to
override `safe-local-variable'.

Closes #4760

Co-authored-by: Nikita Bloshchanevich <nbfalcon@users.noreply.github.com>
2021-03-09 14:38:09 -05:00
Henrik Lissner
fe6981b245 Bump :tools pdf
flatwhatson/pdf-tools@eb6d406 -> vedang/pdf-tools@35e12b0

The original politza/pdf-tools is no longer maintained (?), and the PR
we were pullin from has been merged into a new, maintained fork at
vedang/pdf-tools.

Might address #4750
2021-03-08 10:25:09 -05:00
Sævar Berg
12cf59cf73
Prioritize company-capf over company-yasnippet
This ensures that when doing things like completing on `this.` inside classes, the class fields and methods are shown before the yasnippet snippets.
2021-03-08 13:29:28 +01:00
Henrik Lissner
d807657ba7 s/prereqisites/prerequisites
Silly typo is silly.
2021-03-06 12:05:55 -05:00
Henrik Lissner
cb194a31b1
Merge pull request #4512 from jsravn/enable-yasnippet-in-lsp-completion
Include snippets in lsp completion
2021-03-05 23:21:07 -05:00
Henrik Lissner
a405735c10 tools/editorconfig: proofread readme
+ Added Hacks section.
+ Expanded on configuration guide.
2021-03-05 23:10:47 -05:00
Jeetaditya Chatterjee
2fa0dca041
doc/adding editorconfig and hl-column-fill documentation (#3815)
* doc/adding editor config and hl-column-fill docs

* Adding inaugural versons to the modules

* Making the requested edits

* adding in some more spaces

* redoing the review

* ui/fill-column: correct & expand readme

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-05 22:35:06 -05:00
Henrik Lissner
a724771d1e
Merge pull request #4708 from he-la/develop
Fix +debug/start for dap-based debuggers.
2021-03-05 20:14:11 -05:00
Henrik Lissner
6127d15cea tools/debugger: use realgud:trepanpl for raku-mode 2021-03-05 20:09:22 -05:00
Henrik Lissner
7afe5dc5c3 tools/lsp: fix void-function lsp--require-packages error 2021-03-05 20:09:22 -05:00
Henrik Lissner
430d628b00 tools/lsp: use xref backend as lookup handler
If lsp-find-{definition,references} fails, it will properly fall through
to other lookup handlers (like dumb-jump).

Fix #4662
Fix #4739
2021-03-05 20:09:22 -05:00
Henrik Lissner
0a9172a8f2 tools/lookup: fall through if xref backend fails
Part 1 to solution for #4739
2021-03-05 20:09:22 -05:00
Henrik Lissner
cf086d08fa Minor refactor & use doom-store-* API
+ Fixes a shallow comparison error (eq cannot compare strings).
+ Uses the doom-store-* API rather than pull in a new dependency to
  manage project-local variables.
2021-03-05 19:31:54 -05:00
Henrik Lissner
3d114d6356 tools/docker: default to evil normal state
Evil-collection supports docker and its submodes, so these are no longer
necessary.
2021-03-02 12:09:49 -05:00
Han
ba0f791b05
lang/julia: improve lsp support (#4012)
* lang/julia: include lsp-julia w/o language server

Use nonrecursive clone to get lsp-julia without bundled
LanguageServer.jl (plus dependencies) and include instructions in the
README on how to install the language server (bundled or otherwise).

* lang/julia: add checks for julia +lsp in doctor

Add two checks, both only for when the +lsp feature is enabled:
- Check if (:tools lsp) is selected
- Check if LanguageServer.jl is installed

* lang/julia: indicate SymbolServer.jl as dependency

It is itself a dependency of LanguageServer.jl, but it's necessary to
add it separately in order to do `using SymbolServer`.

* tools/lsp: add julia language server to list

* lang/julia: add eglot support using eglot-jl

Forcing eglot-jl to not install its own LanguageServer.jl is a bit of a
hack though.

* lang/julia: make timeout increase buffer-local

Suggestion by @benneti to use `setq-local` instead of `setq` to prevent
a timeout increase in non-Julia eglot buffers.

* Fix issues

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-01 22:25:35 -05:00
Henrik Laxhuber
44803038b2
Remove dash dependency 2021-03-01 09:15:26 +01:00
Henrik Laxhuber
462efded5f
Fix +debugger/quit 2021-03-01 09:15:06 +01:00
Henrik Laxhuber
cf3d9eb6e0
Handle empty input in +debugger-completing-read 2021-02-28 23:18:19 +01:00
Henrik Laxhuber
8c33866b21
Forgot to add use-package! for projectile-variable 2021-02-28 23:07:27 +01:00
Henrik Laxhuber
6de1e56d4f
Fix +debug/start for dap-based debuggers.
Reworks the internals of how the debugger module stores the last-used
configuration:
- car of the configuration indicates whether it is a realgud or a
dap-based configuration.
- For dap-based debuggers, the entire dap configuration is stored, with
code copied from `dab-debug`.
- When inside a project, don't store the configuration as a buffer-local
variable, but instead as a project-local variable using
`projectile-variable`.

Fixes #2367.
2021-02-28 22:16:38 +01:00
Henrik Lissner
de924daf47 Fix #4704: invalid image spec error from lsp-ui
Regression from a3f242d
2021-02-27 10:31:49 -05:00
Seong Yong-ju
b71b128398
lang/terraform: Set docsets for terraform-mode (#4546)
* lang/terraform: Set docset for terraform-mode

* Lazy load terraform-mode

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-02-26 21:48:49 -05:00
Henrik Lissner
a3f242d4b6 tools/lsp: only enable sideline icons in 27.x+ 2021-02-25 13:59:43 -05:00
Henrik Lissner
e858e254b0 Bump :tools
editorconfig/editorconfig-emacs@f830b86 -> editorconfig/editorconfig-emacs@048c553
emacs-helm/helm-pass@ed5798f -> emacs-helm/helm-pass@4ce46f1
emacs-lsp/dap-mode@5450af5 -> emacs-lsp/dap-mode@aa15b9c
emacs-lsp/helm-lsp@fc09aa0 -> emacs-lsp/helm-lsp@e934fea
emacs-lsp/lsp-mode@3ca25e6 -> emacs-lsp/lsp-mode@c3cbadc
emacs-lsp/lsp-ui@732992a -> emacs-lsp/lsp-ui@0ac3e12
jacktasia/dumb-jump@ff9fc93 -> jacktasia/dumb-jump@f6a1165
joaotavora/eglot@398b81e -> joaotavora/eglot@a2d1fc9
magit/forge@8683b14 -> magit/forge@fa80a87
magit/magit@62dfe5a -> magit/magit@1c60edc
millejoh/emacs-ipython-notebook@069e54c -> millejoh/emacs-ipython-notebook@4ff76e5
nicolaisingh/saveplace-pdf-view@b037091 -> nicolaisingh/saveplace-pdf-view@54ed966
spotify/dockerfile-mode@58b7380 -> spotify/dockerfile-mode@ed1d04c
tkf/emacs-request@0183da8 -> tkf/emacs-request@accd430
tmalsburg/helm-bibtex@94807a3 -> tmalsburg/helm-bibtex@ca09076
zx2c4/password-store@f152064 -> zx2c4/password-store@918992c

Fix #4677
2021-02-25 13:59:43 -05:00
Henrik Lissner
cd083bc059 tools/lsp: fix +lsp-prompt-to-install-server == 'quiet
Wasn't suppressing output because inhibit-message is overridden in
lsp--message.
2021-02-25 12:40:07 -05:00
Henrik Lissner
c0f2da7057
Merge pull request #4471 from gagbo/fix/eglot-flycheck-freeze
Re-document flycheck-eglot compatibility layer
2021-02-25 12:26:56 -05:00
Henrik Lissner
7f6bcb8616 tools/lsp: allow +lsp-prompt-to-install-server = 'quiet 2021-02-24 18:06:30 -05:00
Henrik Lissner
14d341530a tools/eval: always eval elisp in current session
If you used an +eval/* command from a non-emacs-lisp-mode buffer,
quickrun would prompt you for a program to evaluate the code with. If
you selected "emacs" the code would evaluate in an external Emacs
process and return displayed output (stdout).

This commit changes +eval/buffer, +eval/region, and
+eval/region-and-replace (and all the other +eval commands that use
them) to evaluate code in the current session instead.
2021-02-24 18:06:30 -05:00
James Conroy-Finn
2cf91badf8
Enable disabling of magit-gitflow
Disabling magit-gitflow breaks magit-dispatch due to the unconditional
application of `transient-replace-suffix`.

With this change it is possible to disable magit-gitflow by adding the
following to your private Doom configuration:

    (package! magit-gitflow :disable t)
2021-02-24 21:52:11 +00:00
Henrik Lissner
a9da1fcdeb Bump :tools
DamienCassou/auth-password-store@aa7f171 -> DamienCassou/auth-password-store@468bba2
NicolasPetton/pass@a095d24 -> NicolasPetton/pass@5651da5
Silex/docker.el@3773112 -> Silex/docker.el@0ca910b
charignon/github-review@db72374 -> charignon/github-review@d0c8234
editorconfig/editorconfig-emacs@d73333c -> editorconfig/editorconfig-emacs@f830b86
emacs-lsp/dap-mode@c52c1a5 -> emacs-lsp/dap-mode@5450af5
emacs-lsp/lsp-mode@62cd1b2 -> emacs-lsp/lsp-mode@3ca25e6
emacs-straight/project@f743ca2 -> emacs-straight/project@2e7afbe
magit/forge@e340c2b -> magit/forge@8683b14
magit/magit@2145477 -> magit/magit@62dfe5a
millejoh/emacs-ipython-notebook@917f2a0 -> millejoh/emacs-ipython-notebook@069e54c
purcell/envrc@18caf51 -> purcell/envrc@a7c6ca8
rejeep/prodigy.el@6ae71f2 -> rejeep/prodigy.el@168f5ac
spotify/dockerfile-mode@6a56c1c -> spotify/dockerfile-mode@58b7380
tmalsburg/helm-bibtex@1bb81d7 -> tmalsburg/helm-bibtex@94807a3
tumashu/posframe@8097276 -> tumashu/posframe@3454a4c
2021-02-11 22:13:22 -05:00
Henrik Lissner
768160b001 Don't reload repo buffer modes after closing magit
Mentioned in #4640
2021-02-11 17:46:22 -05:00
Henrik Lissner
953f9246df Fix RET/TAB in gist-list-menu-mode 2021-02-11 13:54:35 -05:00
Henrik Lissner
45b68e46ee Bump :tools lsp debugger
emacs-lsp/dap-mode@612388d -> emacs-lsp/dap-mode@c52c1a5
emacs-lsp/lsp-mode@dbfbe1a -> emacs-lsp/lsp-mode@62cd1b2
emacs-lsp/lsp-ui@94673cd -> emacs-lsp/lsp-ui@732992a
emacs-straight/project@a1997af -> emacs-straight/project@f743ca2
joaotavora/eglot@4c85df2 -> joaotavora/eglot@398b81e
tumashu/posframe@efd7ea4 -> tumashu/posframe@8097276

Fixes #4621
2021-02-06 04:51:11 -05:00
Henrik Lissner
95a603733a Add +lsp-prompt-to-install-server option
If nil, LSP will quietly fail if no LSP server is available instead of
pestering the user to install a server.
2021-02-05 21:53:06 -05:00
Gerry Agbobada
01f54d2950
Add comment for further maintenance 2021-01-19 18:52:11 +01:00
Henrik Lissner
b03fdabe4f
Bump posframe
tumashu/posframe@e1552c8 -> tumashu/posframe@efd7ea4

Fixes void-function fit-frame-to-buffer-1 errors.
2021-01-13 14:07:47 -05:00
Henrik Lissner
20a329cd72
Merge pull request #4507 from RBckmnn/tools_ansible2
Some minor enhancements to the ansible module
2021-01-09 03:23:07 -05:00
James Ravn
573d14c264
Include snippets in lsp completion
This gives completion of snippets along with normal LSP completion,
similar to how the old company-lsp backend worked.
2021-01-07 11:19:03 +00:00
Henrik Lissner
70e71f3f6d
lsp-headerline-breadcrumb-enable = nil 2021-01-07 01:41:58 -05:00
Henrik Lissner
6ef517353b
Bump :tools
NicolasPetton/pass@919d8e3 -> NicolasPetton/pass@a095d24
abo-abo/define-word@3af6825 -> abo-abo/define-word@6e4a427
editorconfig/editorconfig-emacs@da84471 -> editorconfig/editorconfig-emacs@d73333c
emacs-lsp/dap-mode@041db8e -> emacs-lsp/dap-mode@612388d
emacs-lsp/lsp-mode@61443f3 -> emacs-lsp/lsp-mode@dbfbe1a
emacs-lsp/lsp-ui@49bc513 -> emacs-lsp/lsp-ui@94673cd
emacs-straight/project@0003fe4 -> emacs-straight/project@a1997af
emacsorphanage/terraform-mode@63fafc6 -> emacsorphanage/terraform-mode@a9fa5bd
joaotavora/eglot@2172641 -> joaotavora/eglot@4c85df2
k1LoW/emacs-ansible@cf6b8f0 -> k1LoW/emacs-ansible@40af0d2
magit/forge@953764d -> magit/forge@e340c2b
magit/magit@acfe22a -> magit/magit@2145477
millejoh/emacs-ipython-notebook@a019ee3 -> millejoh/emacs-ipython-notebook@917f2a0
nicolaisingh/saveplace-pdf-view@88e07be -> nicolaisingh/saveplace-pdf-view@b037091
realgud/realgud@ff66001 -> realgud/realgud@f73c039
spotify/dockerfile-mode@d31f768 -> spotify/dockerfile-mode@6a56c1c
tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7
tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7
tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7
tumashu/posframe@e1552c8 -> tumashu/posframe@ae8ac91
2021-01-05 01:54:04 -05:00
Ralf Beckmann
db82474a58 Add doctor.el for :tools ansible 2021-01-04 18:43:05 +01:00
Ralf Beckmann
5b8d8aed51 Enable company-ansible upfront 2021-01-04 18:43:05 +01:00
Henrik Lissner
2849efdf2e
lang/lua: update README & refactor
Mentioned in #4462
2021-01-03 17:07:42 -05:00
Henrik Lissner
765b6dcfca
Unset unused markers
In case of overlay leaks.
2020-12-12 15:56:36 -05:00
Henrik Lissner
55e90f064f
Load gcmh-mode a little sooner
Ensures it is loaded in time when files are loaded directly from the
terminal.
2020-12-11 01:41:38 -05:00
Henrik Lissner
1b6b122317
Bump :tools magit
magit/magit@2e0c697 -> magit/magit@acfe22a
magit/forge@844aa6d -> magit/forge@953764d

Fixes odd errors on magit-status
2020-12-10 16:14:05 -05:00
Henrik Lissner
a5af17b6aa
Fix #4397: call pdf-tools-install-noverify
So pdf-tools has a chance to set up its hooks.
2020-12-09 17:17:22 -05:00
Henrik Lissner
46ac4191e1
Bump :tools debugger lsp
emacs-lsp/dap-mode@e582ff9 -> emacs-lsp/dap-mode@041db8e
emacs-lsp/lsp-mode@e1c4241 -> emacs-lsp/lsp-mode@61443f3
emacs-lsp/lsp-ui@b1693d6 -> emacs-lsp/lsp-ui@49bc513
emacs-straight/project@67216fb -> emacs-straight/project@0003fe4

Fix #4396
2020-12-09 17:17:21 -05:00