Commit Graph

1473 Commits

Author SHA1 Message Date
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
56a577ae91 feat(completion): switch from selectrum to vertico
I finally resolved the lsp-mode bug I had whenever I tried vertico in
the past. It was due to me setting resize-mini-windows instead of
vertico-resize.
2022-01-09 15:41:17 +00:00
8c69d388f2 chore(packages): update lock file 2021-12-27 19:30:36 +00:00
fd707a6e1b feat(version-control): add github-review package
This serves as a alternative to the code-review package. I'm adding it
mostly for testing purposes so I can compare the two and see the
pros/cons with each.
2021-12-27 19:30:36 +00:00
90441a2590 feat(version-control): add gh-notify package
Also configure forge's dispatch menu to have a keybind for triggering
gh-notify.
2021-12-27 19:27:50 +00:00
fae657a1ff chore(release): 0.8.9 v0.8.9 2021-11-30 22:32:58 +00:00
36dd864a37 chore(version-control): move forge SQLite database file to cache directory 2021-11-30 22:32:28 +00:00
70f776d4f3 feat(version-control): add code-review package
This allows reviewing GitHub pull requests within Emacs.
2021-11-30 22:31:47 +00:00
a4b9fe2544 chore(packages): update lock file 2021-11-30 21:01:18 +00:00
1c303c9424 feat(misc): enable refine package 2021-11-30 21:00:05 +00:00
1b81c91490 fix(faces): handle new mode-line-active and mode-line-inactive faces 2021-11-27 23:07:06 +00:00
4f85e8aaa4 chore(release): 0.8.8 v0.8.8 2021-11-26 21:31:19 +00:00
819f068879 fix(dired): prevent dired from prompting about removing dired buffers
When deleting a file in Dired, it has recently started prompting about
removing the dired buffer along with file buffer. This is rather
annoying, as I almost never want to close the dired instance I have open
when simply deleting a file from a folder.

So I've overridden the relevant function, and added an option
specifically to enable/disable the prompt about removing the dired
buffer.
2021-11-26 21:28:25 +00:00
0ac1c86102 feat(lang/go): add custom lsp-client for golangci-lint-langserver 2021-11-26 21:20:01 +00:00
0c893670cf fix(env): set MallocNanoZone var to fix Go race detector issue in Monterey 2021-11-16 11:07:28 +00:00
6a95b32f38 feat(editor): separate sentences with a single space instead of two 2021-11-16 11:03:49 +00:00
a7518aead1 chore(release): 0.8.7 v0.8.7 2021-11-10 10:35:33 +00:00
7d526d2b53 chore(packages): update lock file 2021-11-10 10:35:08 +00:00
ec280fbade chore(projects/projectile): remove no longer needed root file config 2021-11-10 10:33:23 +00:00
78cb7fcd04 fix(editor): disable auto-revert-mode's use of file notifications on macOS
Relying on file notifications to detect changes on disk and auto-revert
buffers seems unreliable on macOS, so let's disable the use of file
notifications, and let auto-revert-mode use polling instead.
2021-11-10 10:31:17 +00:00
359fbec8e9 chore(snippets/ruby): use $stdout instead of STDOUT for spd snippet 2021-11-10 10:30:16 +00:00
ab001eeb0e fix(version-control/magit): when disabled delta still caused issues
Turns out running (magit-delta-mode -1) to "disable" or ensure it's
disabled as a magit-mode-hook was a bad idea, as it set
magit-diff-refine-hunk to nil.

So instead, we only call magit-delta-mode when siren-magit-delta-enabled
is not nil, and the delta executable is available.
2021-11-10 10:28:00 +00:00
f6a904e799 chore(release): 0.8.6 v0.8.6 2021-10-28 11:06:50 +01:00
1f7d739193 feat(navigation/imenu): improve C-t imenu keybinding
Use consult-lsp-file-symbols if available and lsp-mode is enabled in
current buffer. Otherwise fall back to consult-imenu. Also fall back on
consult-lsp-file-symbols if it produces an error, which seems to happen
for some language servers right now.
2021-10-28 11:04:24 +01:00
31b6b0ca4e chore(packages): update lock file 2021-10-24 04:09:26 +01:00
ea97b5528a chore(version-control/diff-hl): minor tweaks and cleanup 2021-10-24 04:05:32 +01:00
09c27ab0a7 fix(projects): unbind M-l from treemacs as it interfered with a global keybinding 2021-10-24 04:03:52 +01:00
3a8dc7944f chore(navigation/helm): set sources which default to using follow 2021-10-24 04:03:12 +01:00
31078e618f chore(navigation/helm): attempt to get posframe working perfectly again
Only outstanding issue is that some helm-completions when follow mode is
enabled do not show the followed file content in the posframe.
2021-10-24 03:59:10 +01:00
67a0c99e52 chore(lsp): tweak lsp-related keybindings again 2021-10-24 03:58:33 +01:00
6daac868e2 fix(lang/dockerfile): add custom hadolint flycheck checker which actually works 2021-10-24 03:56:51 +01:00
1dbb5631f6 feat(version-control/magit): add magit-delta package
Disabled by default, as the syntax highlighting can make code harder to
read in the diff. Hence disabled by default, and easy to toggle on if I
want to try it.
2021-10-24 03:55:52 +01:00
205af0097a feat(workspaces/tab-bar): hide tab-bar
I prefer my custom echo area message which appears whenever any tab-bar
operations are performed, as they don't take up permanent space on the
screen.
2021-10-24 03:52:15 +01:00
11099af502 feat(navigation/helm): add helm-xref package 2021-10-24 03:51:56 +01:00
01bd757c15 fix(lang): gitconfig-mode and gitignore-mode have been replaced with git-modes 2021-10-24 03:50:18 +01:00
6e65e27ca2 feat(navigation/helm): make treemacs/neotree auto-hiding customizable 2021-10-22 11:42:27 +01:00
cccff7190a feat(projects/treemacs): customize highlight line background color 2021-10-22 11:28:53 +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
35d6e12612 fix(navigation): resolve dired/dired+ load order issue
Because dired+ must be loaded before the dired creates a buffer, we have
to actually manually require dired+ when loading dired. Otherwise the
first dired buffer within a fresh Emacs instance will have dired+
features, but any further buffers will.

Also we can now remove a workaround for dired+ with Emacs 28 that
prevented files/folders from being deleted with dired.
2021-10-07 22:56:07 +01:00
3191b9d4b3 chore(release): 0.8.5 v0.8.5 2021-10-06 23:47:59 +01:00
6e34c36e69 feat(projects): use helm-projectile for project switching again 2021-10-06 23:47:29 +01:00
bde765001b feat(navigation): make helm take up full frame
Further tweaks to helm appearance, now simply take up the full frame
with it's completion UI. When follow mode is enabled, have preview
appear in bottom half of the window.
2021-10-06 23:44:52 +01:00
b93302b526 chore(packages): update lock file 2021-10-06 04:38:55 +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
5849a7b522 feat(lang): enable a few gopls analyzers which are disabled by default 2021-10-06 04:37:19 +01:00
11bb56b4ac feat(projects): only show file/process buffers in projectile buffer list 2021-10-06 04:36:31 +01:00
cb0cf52769 feat(navigation): stop using helm-posframe
This reverts helm back to not using posframe, as it is kind of glitchy
and a bit slow. Helm has a built-in posframe like thing, but it doesn't
work quite the way I want, so I might try and sort that out at some
point.
2021-10-06 04:35:02 +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
b8fe28f07c feat(editor): don't use helm for projectile-switch-project
With selectrum and marginalia, regular completing-read is actually more
than good enough for simple project selection.
2021-10-06 01:40:50 +01:00
6dc661f14e feat(editor): decorate various projectile commands with marginalia 2021-10-06 01:40:49 +01:00