Commit Graph

18 Commits

Author SHA1 Message Date
e63120b478 feat(package)!: migrate from straight.el to elpaca package manager (#30) 2026-01-02 07:46:55 +00:00
fe6a4e7ce5 fix(elisp): add lexical-binding comment to all files to suppress new Emacs 31 warnings
I've set `lexical-binding` to `nil` in all Emacs Lisp files to suppress
the warnings introduced in Emacs 31 requiring all elisp files to have a
`lexical-binding` comment.

This retains the default behavior of dynamic binding when no
`lexical-binding` comment is present. With it set to `t` across the
board, various things break, and fixing those is a task for another day.
2025-06-29 12:23:03 +01:00
055cbac42c fix(language/toml): switch back to conf-toml-mode from toml-ts-mode
toml-ts-mode seems to have severe performance issues on larger files
spanning hundreds of lines. So let's switch back to conf-toml-mode
again, for now at least.
2024-10-27 01:43:31 +01:00
c7ff9e177a feat(language/scss): format scss-mode with prettier 2024-10-24 02:12:55 +01:00
931312e118 feat(language/typescript): format typescript-ts-mode and tsx-ts-mode with prettier 2024-10-24 02:12:54 +01:00
fe04f68948 feat(language/php): format PHP files with prettier 2024-10-24 02:05:17 +01:00
18db9153dd feat(language/css): switch to css-ts-mode 2024-10-24 02:04:27 +01:00
074ac916ab feat(language/toml): switch to toml-ts-mode and enable lsp-mode as well 2024-10-24 02:03:08 +01:00
e4c5f150b4 chore(formatting/prettier): don't use prettier to format XML files 2024-10-18 03:07:00 +01:00
63f6e3fa41 fix(formatting/prettier): use prettier-pnp instead of prettier
As of v3.x prettier can no longer load plugins installed via npm
globally. The prettier-pnp package/binary works around this by acting as
a wrapper with more flexible support for loading plugins.
2024-02-01 23:06:05 +01:00
dd26296963 fix(formatting/preffier): don't use preffier in rjsx-mode specifically 2023-04-25 02:07:42 +01:00
ede5843bd7 feat(formatting): enable prettier-js-mode in toml files 2023-04-14 01:47:43 +01:00
5e47cd9a46 chore(formatting/prettier-js): move setup to a central list of hooks 2022-12-03 23:38:39 +00:00
4d9fdb8414 feat(formatting/prettier-js): enforce use of ~/.prettierrc.js config if it exists 2022-10-19 23:22:03 +01:00
3319a5ce36 fix: add missing siren-clang-format module 2022-07-27 21:01:06 +01:00
2b39d5b0d7 chore(use-package): use :preface in favor of :init when defining things 2022-04-22 23:25:56 +01:00
b7d914c51e feat(formatting): use whitespace-clean-mode
This should offer a more reliable means of running `whitespace-cleanup`
on buffer save than whitespace-mode's whitespace-action setting. Also it
allows for easily toggling whitespace clean up off by disabling
whitespace-clean-mode.
2021-04-25 22:44:26 +01:00
b7b21c5e13 chore(formatting): move formatting related modules to a dedicated formatting directory 2021-04-07 23:50:11 +01:00