Commit Graph

1672 Commits

Author SHA1 Message Date
3b280e2d4c chore(language/go): move custom tree-sitter query to golang module
Instead of keeping the custom Go specific tree-sitter query in the
tree-sitter module, move it the golang module.
2022-10-05 00:11:33 +01:00
d1dd30d8c6 chore(release): 0.8.31 v0.8.31 2022-09-28 11:00:01 +01:00
ebdfb75d83 chore(package): switch makefile-executor back to upstream repo
A fix for the syntax error has been merged.
2022-09-28 10:59:28 +01:00
6953a9ff38 chore(release): 0.8.30 v0.8.30 2022-09-28 02:15:03 +01:00
0415e65f74 chore(packages): update lock file 2022-09-28 02:14:39 +01:00
689a2ae585 chore(package): switch makefile-executor to my fork until fix is merged 2022-09-28 02:14:39 +01:00
276e798100 chore(tools/docker): suppress docker-tramp warning in recent 29.x builds 2022-09-28 01:47:24 +01:00
bd1b6cff62 chore(packages): update lock file 2022-09-28 00:42:13 +01:00
fd1c57a96c fix(completion/copilot): custom accept fun ignoring trailing "{" chars
In languages that uses "{" for blocks, accepting a Copilot completion
that ends with "{", causing a structural imbalance, which
structural-based packages like smartparens does not like and causes
headaches.

With the custom accept function, trailing "{" chars along with any
whitespace before it, are ignored from Copilot completion. An exception
is made for if the removal of trailing "{" and whitespace yields an
empty completion, in which case the completion is accepted as is.
2022-09-26 14:33:35 +01:00
8bd1889926 chore(completion/copilot): update package straight definition
Just adds setup changes from latest readme of copilot.el.
2022-09-26 14:30:11 +01:00
4d3de5def2 feat(theme): change default light theme to doom-solarized-light 2022-09-22 14:27:14 +01:00
5de69dcc60 chore(theme): improve quick change theme command aliases 2022-09-22 14:27:14 +01:00
ae4da2c248 feat(language/markdown): improve prettier setup
Only wrap lines to fill-column when formatting with prettier if
auto-fill-mode is enabled.
2022-09-22 14:14:17 +01:00
f1a13a920e chore(packages): override git-timemachine with fork that fixes bug 2022-09-22 14:13:40 +01:00
b026b85df5 chore(packages): update lock file 2022-09-22 14:13:31 +01:00
06bf89af61 feat(misc): add new siren-reopen helper function 2022-08-25 22:59:09 +01:00
efccea6cbd feat(language/go): improve setup of go-playground 2022-08-25 22:52:21 +01:00
913a302afa chore(release): 0.8.29 v0.8.29 2022-08-20 01:14:58 +01:00
4e1250f259 chore(editor): minor tweak to how file name is rendered in modeline 2022-08-20 01:13:26 +01:00
1e5761afc7 feat(editor): don't enable vertico-mouse-mode
I basically never use it, but the mouse-over highlighting can be
annoying if the mouse happens to be towards the bottom of the frame.
2022-08-20 01:12:11 +01:00
43d9d309da feat(language/go): configure modes for go.mod and go.work files 2022-08-20 00:36:06 +01:00
c7d1f1d749 feat(editor): replace highlight-symbol with symbol-overlay
symbol-overlay claims to be much faster at highlighting symbols across
large files, and also has better interactive symbol manipulation
features.
2022-08-15 23:56:17 +01:00
f0c303da3c chore(release): 0.8.28 v0.8.28 2022-08-13 16:24:42 +01:00
f1c0030aff feat(languages/x509): add x509-mode
This allows using M-x x509-dwim to decode any PEM encoded OpenSSL
certs/keys and display all details via OpenSSL.
2022-08-13 16:22:23 +01:00
de722509f5 feat(navigation): setup better-jumper to jump back after goto def style operations 2022-08-13 16:21:17 +01:00
6117f57393 chore(release): 0.8.27 v0.8.27 2022-08-11 02:45:52 +01:00
99bbb27f79 feat(navigation): add consult-dir package
Allows handy shortcut to populate minibuffer with directories from
various sources.
2022-08-11 02:44:05 +01:00
19713d30e3 fix(editor): resolve flx-rs+consult issues
This is a more generic and robust fix for flx-rs not behaving correctly
when given consults extra metadata bytes as part of the input candidate.

This should now work with any candidate provided by consult, not just
those that come from the consult-buffer command.
2022-08-11 02:27:29 +01:00
e144eb6e80 chore(packages): update lock file 2022-08-10 22:49:40 +01:00
789a13b0fa chore(deps): simplify vertico package recipe override 2022-08-10 22:48:47 +01:00
893f0b8b57 chore(deps): remove company-nginx override as it is no longer needed 2022-08-10 22:20:24 +01:00
d2fd6342bc chore(release): 0.8.26 v0.8.26 2022-08-10 22:09:19 +01:00
e1fe7ef4e9 fix(themes/doom): correctly load theme when running in terminal
On macOS when running Emacs in a terminal, the ns-system-appearance
variable is defined, but set to nil. We now cater for that, and simply
default to loading the dark theme.
2022-08-10 21:25:47 +01:00
84fa1c39eb chore(packages): update lock file 2022-08-10 21:03:44 +01:00
27db1d32d0 chore(deps): remove undo-fu and undo-fu-session recipe overrides 2022-08-10 20:59:55 +01:00
0103747fc7 chore(release): 0.8.25 v0.8.25 2022-07-31 00:52:53 +01:00
9db27243f7 feat(themes/doom): add support for ns-system-appearance
Emacs will now change theme automatically on macOS when system
appearance is changed between light/dark. And also sets the appropriate
theme on startup too.
2022-07-31 00:29:00 +01:00
0932f6c5fa fix(themes/doom): set foreground of tab-bar and tab-line to fg-alt
The default in doom-themes is bg-alt, making text invisible.
2022-07-30 22:29:39 +01:00
e662ee6552 feat(ui/display-time): add config for display-time-mode 2022-07-30 22:20:55 +01:00
1883ba6972 chore: minor cleanup of reformatter lighter strings 2022-07-30 22:01:26 +01:00
646876f1cd feat(language/caddyfile): format on save, use tab indentation
Caddy can now format Caddyfiles with the "caddy fmt" command, so we use
reformatter to create a format-on-save mode for Caddyfiles.

Also there's no need for the weird whitespace-mode workaround, as we now
use tab indentation in Caddyfiles, since that's what "caddy fmt"
produces.
2022-07-30 21:56:24 +01:00
7f32de8c49 fix(completion): ensure correct order of completion-at-point-functions
When lsp-mode is active, it tries to ensure it's own
lsp-completion-at-point function is listed before any other functions in
completion-at-point-functions.

This however prevents completions for yasnippet snippets and
files/folders from working, as completion never moved on beyond
lsp-completion-at-point. Previously I had managed to fix this by using
the DEPTH option of add-hook to get siren-yasnippet-capf and cape-file
to run before lsp-completion-at-point.

But it seems lsp-mode has changed from using add-hook to a more custom
method of always ensuring lsp-completion-at-point is always first on the
list. Hence we need to the same using the new siren-prepend macro I
recently added.
2022-07-30 21:48:53 +01:00
bbd8f11719 feat(utils): add siren-prepend and siren-append macros
These macros work more or less like add-to-list, except they will always
leave ELEMENT as the first/last element in the list, while add-to-list
does not modify the list if ELEMENT is already present anywhere in the
list.
2022-07-30 21:35:24 +01:00
6fc53bc58e chore(release): 0.8.24 v0.8.24 2022-07-27 21:01:28 +01:00
3319a5ce36 fix: add missing siren-clang-format module 2022-07-27 21:01:06 +01:00
e2a409fc7a chore(release): 0.8.23 v0.8.23 2022-07-20 22:03:46 +01:00
ca9ec4f7a2 feat(editor/consult): massively simplify consult setup
Remove nearly all custom behavior with consult.

The separate groups for project and non-project buffers within
consult-buffer weren't as useful after switching away from orderless to
fussy for completion scoring, as non-project buffers were often sorted
higher than project buffers.

And there's no need for the custom siren-consult-projectile-buffer
function, as consult-project-buffer does the same thing when configured
to use projectile's root path function.
2022-07-20 22:02:13 +01:00
41742663de chore(editor/fussy): tidy up commented out stuff 2022-07-20 22:02:13 +01:00
b92bd7b19e feat(language/protobuf): format non-buf protobuf files with clang-format 2022-07-20 22:02:12 +01:00
72c33e7b37 feat(vendor/clang-format): add custom reformatter-based clang-format package
There is a clang-format package in MELPA, but I believe a
reformatter-based solution works better. Hence I've made my own,
somewhat like a package, and simply thrown it into the vendor directory.
2022-07-20 22:02:12 +01:00