Commit Graph

38 Commits

Author SHA1 Message Date
68510a72d3 chore(lsp): tweak ignored directories definitions 2024-02-01 23:08:41 +01:00
20ca8776a9 feat(lsp): disable inlay hints 2024-02-01 23:08:25 +01:00
0dd1dedf99 feat(lsp): expand list of ignored watch directories
Exclude various package storage directories within .emacs.d
configuration directories.
2023-08-01 01:37:52 +01:00
5d65b32d1a feat(lsp): enable inlay hints 2023-05-09 01:02:49 +01:00
713ce6843d feat(lsp): add .devbox to ignored directories 2023-02-26 14:51:37 +00:00
7021114d55 fix(lsp): move misplaced :custom-face definition 2023-02-26 14:49:51 +00:00
63f9ef2ebb chore(lsp): tweak naming of manual formatting functions/settings 2023-01-20 21:02:45 +00:00
2b711bc453 chore(lsp): override lsp-face-semhl-label
It seems to have recently been changed to default to the same face as
comments, which I really do not like. Inheriting from
font-lock-keyword-face seems fine though.
2022-06-02 00:01:56 +01:00
2b39d5b0d7 chore(use-package): use :preface in favor of :init when defining things 2022-04-22 23:25:56 +01:00
a8618938bf feat(core): use general.el for keybind definitions nearly everywhere
Primarily this replaces :bind with :general in all use-package calls.
2022-03-14 21:16:15 +00:00
3a8b04b59c fix(lsp-mode): add "tmp" to ignored directory names
Rails projects uses a "tmp" directory for asset compilation, which can
lead to thousands of olders, which lsp-mode will try to monitor, and
warns that you're about to monitor +1000 directories.

Hence, ignore "tmp" directories, as there shouldn't be any code in there
that needs a language server.
2022-01-16 03:33:42 +00:00
67a0c99e52 chore(lsp): tweak lsp-related keybindings again 2021-10-24 03:58:33 +01:00
c52853e832 feat(lsp): tweak lsp diagnostics related keybindings
- Bind consult-lsp-diagnostics to C-c C-\ as it is visually less
  intrusive, and scoped to only the current workspace.
- Bind helm-lsp-diagnostics to C-c \ which includes diagnostics from all
  active workspaces.
2021-10-11 10:33:54 +01:00
9a3828c293 feat(lsp): add keybindings for helm-lsp-diagnostics
This makes it easy to get a nice list of all errors and warnings
reported by the language server.
2021-10-06 04:37:55 +01:00
22369470c4 feat(navigation): use consult instead of helm for imenu completion
When lsp-mode is enabled, use consult-lsp-file-symbols instead of
consult-imenu, as it yields a more structured list and nicer formatted
symbol results. The result list is identical as lsp-mode updates imenu
with all file symbols, but via imenu they're just not rendered as
nicely.
2021-10-06 02:28:26 +01:00
14f394c7ca feat(lsp): allow C-c C-f to perform extra formatting not done by on-save hook 2021-06-29 00:36:36 +01:00
c9a05afbdf feat(lsp); tweak lsp-ui-sideline to only show errors
The sideline hover stuff about all objects on the current line are
rather noisy, and most of the time I only care about the errors.
2021-06-24 22:14:39 +01:00
4b228ae317 chore(lang): tweak company-mode idle-delay for Go 2021-06-17 20:49:26 +01:00
c5ffefdb97 feat(lsp): enable lsp-semantic-tokens
This only works with language servers that support semantic tokens. If
the language server does not support it, this setting has no effect.
2021-04-20 01:32:11 +01:00
dc24cd4f7f feat(lsp): create and use on-save minor modes for lsp-format-buffer and lsp-organize-imports commands 2021-04-07 22:45:59 +01:00
29e7e066ce feat(lsp): disable lsp-ui docs on mouse hover
I thought it might be nice, and it kinda is until I screen share and
point around the in the code with the mouse.
2021-03-23 11:32:30 +00:00
0e6f2856c4 chore(lsp): move lsp-ui config into siren-lsp module
There's no need for having lsp-ui setup in a separate siren-lsp-ui
module, as there's little to no reason to ever use lsp-mode without
lsp-ui.
2021-03-15 23:12:10 +00:00
b7bc119af0 feat(lsp): tweak configuration for lsp-mode and lsp-ui
Overall enable more features, like lsp-ui's sideline.
2021-03-15 23:12:10 +00:00
6271425e15 feat(lsp): tweak lsp-ui settings 2021-01-15 02:11:19 +00:00
e8544e79e9 feat(lsp): enable code lenses, improve lsp-ui-doc setup 2021-01-06 09:45:07 +00:00
3812b3df29 feat(lsp): bind lsp-ui-doc-glance to C-c C-d instead of lsp-ui-doc-show
Also tweak lsp-ui-doc-* to show documentation at point
2020-11-15 17:11:51 +00:00
9fc83e9723 chore(lsp): Increase company-idle-delay for lsp
With it set to 0.0 suggestions would pop up instantly which is nice when
you need a suggestion, but it made using snippets really annoying. This
seems to feel like a nice middle-ground.
2020-10-27 13:09:58 +00:00
ef1e2fc9b8 chore(lsp): update lsp-mode custom to use new completion setting name 2020-09-27 19:48:27 +01:00
47598b94c6 chore(lsp): minor tweak/improvement to lsp setup 2020-08-31 10:06:19 +01:00
6cca25c66c fix(navigation): Update setup for recent changes to helm 2020-08-11 13:47:21 +01:00
efd0b421e3 feat(lsp): Improve lsp-mode performance, support latest 7.x version
company-lsp is no longer supported by lsp-mode for providing completions
to company, instead company-capf should be used which it built-in to
company itself.
2020-07-04 18:52:33 +01:00
764c4dae74 feat(lsp): Improve lsp-mode setup with a prefix key and company tweaks 2020-05-19 21:44:26 +01:00
a6a84524bd fix(lsp): Add helm-lsp-workspace-symbol keybinding for terminal use
Make `C-c '` run `helm-lsp-workspace-symbol` just like `C-c C-'` already
did. This is required as `C-'` cannot be used within terminals.
2020-05-10 21:26:29 +01:00
efecb5172c chore(startup): Make various modules more lazy-loaded
This should improve startup speed a little bit.
2020-03-15 02:44:46 +00:00
e7d55655d7 Improve lsp-mode keybindings 2019-08-14 12:57:35 +01:00
57f670088d Use use-package's :custom and :custom-face options everywhere 2019-06-10 19:29:58 +01:00
a65fc41b2c Add helm-lsp package 2019-04-29 13:22:49 +01:00
a4d5c15995 Break apart LSP setup into separate modules 2019-04-29 13:22:05 +01:00