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
2d3c1b241c
chore(lang): tweak ruby-mode format on save setup to use lsp-mode directly
...
Instead of executing lsp-format-buffer on save via the rubocopfmt
package, simply set it up as a buffer-local before-save-hook.
Also simplify the rubocopfmt package configuration, as I rarely use it
anymore, but would still want to be able to manually execute rubocopfmt.
2021-04-02 11:32:50 +01:00
d564fbe757
fix(linting): change flycheck fringe indicator to a left-pointing arrow
...
As flycheck uses the right fringe to indicate warnings/errors, the
default rightward pointing arrow never made much sense. This replaces it
with a custom leftward facing double-arrow so it actually points back at
the code in question.
2021-04-02 10:37:57 +01:00
301a134a72
feat(themes): make vertical divider between windows slightly more prominent
2021-04-02 10:37:25 +01:00
1e5cc844d2
feat(version-control): add module for git-gutter as an alternative to diff-hl
...
For now I'm still using diff-hl, but I wanted to get git-gutter
configured so I can easily give try it out and compare it against
diff-hl.
2021-04-02 10:35:39 +01:00
e7020e814a
feat(version-control): tweak diff-hl style
...
Change style back to a plain vertical line, but slightly narrower than
last time which I ended up not liking, while also aligning it to the
right hand side of the left fringe, so there's a gap between the window
border and the diff-hl status line. Also tweak the colors a bit.
I feel this works better, and keeps things nice and clean.
2021-04-02 10:15:22 +01:00
5a425b5812
fix(version-control): pin diff-hl to a known good commit
...
The very next commit introduces a new feature to show git hunks, which
seems to have a negative impact on performance when moving the cursor
around, or adding/removing text within lines which are highlighted by
diff-hl while diff-hl-flydiff-mode is enabled.
So for now I'm pinning diff-hl to the commit right before this was
introduced.
2021-04-01 01:07:33 +01:00
009c3dc4b1
feat(lang): handle additional file patterns with sh-mode
2021-03-23 11:34:00 +00: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
268b9020aa
feat(version-control): switch diff-hl style back to default
...
After a few weeks with a custom and more minimal fringe style, I think I
actually prefer the default style.
2021-03-22 11:09:14 +00:00
d0223d4253
fix(version-control): add missing magit hook for diff-hl
2021-03-22 11:08:36 +00:00
616ecc703f
chore(misc): defer loading of explain-pause-mode
2021-03-22 11:08:09 +00:00
06f0db1035
feat(lang): use reformatter to enable golines formatting
...
This is much cleaner than hacking go-mode's gofmt function to run
golines. Instead there's a `golines` command, and `golines-on-save-mode`
available.
2021-03-22 11:06:06 +00:00
43ce3f6f73
fix(lang): populate auto-mode-alist with correct sh-mode function
2021-03-22 11:04:38 +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
da5ecfffcd
feat(lang): enable manual formatting of go-mode buffers with golines
2021-03-15 23:12:10 +00:00
bc4328c6d5
fix(lang): disable duplicate before-save hooks for go-mode
...
Those hooks are already defined in the setup for lsp-go.
2021-03-15 23:12:10 +00:00
98b4e800f5
fix(misc): do not enable explain-pause-mode automatically when emacs starts
...
Instead let it be a something that needs to be manually started. It
seems to make Emacs just that little slower overall.
2021-03-15 23:12:04 +00:00
49c85482b1
feat(themes): make comments and vertical bar slightly more visible
2021-03-15 23:06:46 +00:00
bcd34409db
fix(navigation): ensure helm-ring is correctly loaded on startup
2021-02-27 23:33:50 +00:00
e74800b5cb
fix(lang): ensure Go related env vars are correctly loaded
2021-02-27 23:33:00 +00:00
affbe2e113
fix(text-editing): correctly load custom snippets on emacs startup
2021-02-27 23:30:05 +00:00
601a040d2c
feat(version-control): add git-gutter support to siren-doom-themes customizations
2021-02-17 02:10:27 +00:00
00f6db64de
feat(version-control): change diff-hl fringe bitmap style to be a thin solid line
2021-02-17 02:10:25 +00:00
efae487c94
feat(version-control): use diff-hl-margin-mode when running Emacs in a terminal
2021-02-17 02:04:56 +00:00
7a02ca009b
chore(misc): tweak explain-pause-mode setup
2021-02-17 01:52:59 +00:00
395ad7ccac
fix(startup): correctly setup deferred loading for various packages
...
This just ensures that various packages that can defer loading actually
does defer until they're first used.
2021-02-17 01:52:59 +00:00
831503060f
chore(startup): stop using emacs-startup-hook to trigger package load
...
Packages that need to be loaded on emacs startup, should just be loaded
through use-package in a non-deferred manner.
It makes no real difference to startup, loading the packages either
slows down emacs before "startup" is complete, or right after it
completes. End result is that Emacs is unresponsive for basically the
same amount of time regardless.
2021-02-17 01:52:58 +00:00
147e9ed1d3
fix(lang): prevent dockerfile-mode wrongfully activating certain files
...
This is a temporary workaround until this pull request is accepted and
merged: https://github.com/spotify/dockerfile-mode/pull/63
2021-02-17 01:52:58 +00:00
345584e52c
chore(text-editing): update move-dup package to v2.x
...
Version 2 seems to mostly just change the `md-` function/variable prefix
to be `move-dup-`.
2021-02-17 01:52:58 +00:00
03682066c7
feat(editor): update undo-tree to 0.8
...
Override the undo-tree package within straight.el to have it grab the
package directly from the official Git repo on GitLab.
2021-02-17 01:52:58 +00:00
1ff9e880ba
feat(lang): enable lsp-mode for sql-mode via sqls language server
2021-02-14 22:26:07 +00:00
dd4c77ad24
fix(lang): for formatting of *.sql files with pgformatter
2021-02-14 22:25:48 +00:00
f41a9daff1
fix(lang): debug current go test now works in non-root module packages
2021-02-14 22:24:47 +00:00
3e8bbe36f4
fix(workspaces): don't hide tab-bar on startup
...
Recent native-comp builds glitch out running in a terminal when
tab-bar-mode is enabled and tab-bar-show is set to nil. I'm not sure if
it's a native-comp specific thing, or just latest emacs-28 dev.
2021-01-21 11:07:24 +00:00
4f1e68f33e
fix(lang): correctly add rubocopfmt package vars to list of safe local vars
2021-01-21 10:34:05 +00:00
3f5b3ba9ca
chore(lang): mark rubocopfmt-on-save-use-lsp-format-buffer as safe local variable
2021-01-15 02:11:20 +00:00
8329c7e912
fix(projects): correctly suppress treemacs load-time warnings
2021-01-15 02:11:20 +00:00
2438f0ab90
fix(lang): correctly set projectile igonore directories
2021-01-15 02:11:20 +00:00
6425b4625c
feat(projects): add all-the-icons-ibuffer package
2021-01-15 02:11:19 +00:00
5f278ab277
fix(projects): add missing dependency for all-the-icons
2021-01-15 02:11:19 +00:00
996a5b8bf6
feat(lang): format ruby-mode buffers with language server
2021-01-15 02:11:19 +00:00
6271425e15
feat(lsp): tweak lsp-ui settings
2021-01-15 02:11:19 +00:00
c1865ad309
fix(lang): correctly load dap-mode for go-mode
2021-01-15 02:11:19 +00:00
7a2fbb88d4
chore(org-mode): switch to built-in org-mode
...
The upstream org-mode package seems to have changes on a daily basis,
and org-mode is one of the slowest packages to install. This should
avoid those long wait times.
2021-01-15 02:11:19 +00:00
bfb79e66e0
chore(workspaces): improve tab-bar list display function
2021-01-15 02:11:19 +00:00
50a85ca8d8
fix(packages): fix incompatibility with latest use-package
...
Due to changes to use-package's :custom option, my abuse of it to set
custom variables no longer works and yields errors.
Instead correctly set custom variables with defvar.
2021-01-15 02:11:18 +00:00
e8544e79e9
feat(lsp): enable code lenses, improve lsp-ui-doc setup
2021-01-06 09:45:07 +00:00
ccdb2623ed
chore(projects): suppress treemacs load-time warnings
2021-01-05 02:31:54 +00:00