d27c0bc67e
fix(language/rust): fix typo in function name
2023-03-07 23:35:03 +00:00
26d300f391
feat(language/markdown): enable whitespace-mode
2023-02-26 17:28:41 +00:00
a8e92eb311
feat(language/rust): improve cargo test run commands
...
Take the file path into account when determining what module path to
give to the cargo test command.
2023-02-19 19:42:37 +00:00
0882edb6fe
feat(language/ssh-config): add setup hook for ssh-known-hosts-mode
2023-02-17 22:23:21 +00:00
4babea1fad
feat(language/rust): add custom keybindings for running cargo test
2023-02-17 22:22:41 +00:00
73b1eec11c
feat(language/caddyfile): improve file patterns that are handled by caddyfile-mode
2023-02-17 22:21:59 +00:00
04b8c37dd4
feat(language/dockerfile): use dockerfile-ts-mode if available
...
Otherwise fall back to dockerfile-mode.
This also acts as an experiment of how to go about using the new Emacs
29.x treesit backed modes if available. This is currently not that
clean, but will do for now, and I'll keep experimenting with it.
2023-02-08 22:43:46 +00:00
e138cb3a84
fix(language/sh): only activate tree-sitter in sh and bash scripts
...
The tree-sitter grammars don't work properly with zsh scripts for
example, so only activate tree-sitter if sh-shell is bash or sh.
2023-02-08 22:43:46 +00:00
cead803781
feat(language/typescript): switch to new typescript-ts-mode
...
As typescript-mode has effectively been deprecated, let's switch to the
new typescript-ts-mode in Emacs 29.x.
2023-02-08 22:43:46 +00:00
346b22a06b
fix(language/rust): set rust-playground basedir so lsp-mode works correctly
...
The default basedir is within the user's Emacs config directory, which
is likely to already be a lsp workdir.
2023-02-07 19:07:13 +00:00
a30e06c9bb
feat(language/markdown): change tab-width to 2 (from the default 4)
2023-02-07 19:06:24 +00:00
51451ecffd
feat(language/ruby): enable formatting with syntax_tree/stree
...
Default on-save formatting is still done via lsp-format-buffer, but the
the C-c C-f manual formatting action is overridden to also include
stree-format-buffer.
2023-01-20 21:09:02 +00:00
c1b96508a0
chore(language/go): add doc string for siren-define-golines-format-mode
2023-01-20 21:05:47 +00:00
bc5d60c07c
fix(language/go): add-on lsp servers do not need to be registered anymore
...
In fact, registering them, will override existing servers. When
registering the golangci-lint server, it prevents the regular gopls
server from being used.
2023-01-20 21:03:45 +00:00
63f9ef2ebb
chore(lsp): tweak naming of manual formatting functions/settings
2023-01-20 21:02:45 +00:00
09aa5cb1c6
feat(language/go): make go-playground nicer to use with extra keybindings
2023-01-15 20:57:29 +00:00
7e29a78b05
feat(language/rust): major improvements to Rust dev experience
2023-01-15 20:57:29 +00:00
23d6664609
feat(language/nix): add nix-mode for editing *.nix files
2023-01-09 10:49:23 +00:00
4e33f79c29
chore(spelling/flyspell): move setup to a central list of hooks
2022-12-04 01:57:16 +00:00
dad465c90a
chore(text-editing/smartparens): move setup to a central list of hooks
2022-12-04 01:55:43 +00:00
03efc3b847
fix: remove references to deprecated and removed siren functions
2022-12-04 01:21:54 +00:00
9654403bee
feat(editor): enable subword-word globally in all buffers
2022-12-04 01:14:57 +00:00
d0a1d34e2c
chore(editor/rainbow): move setup to a central list of hooks
2022-12-04 01:14:57 +00:00
63d0345b21
chore(editor/origami): move setup to a central list of hooks
2022-12-04 00:27:38 +00:00
5e47cd9a46
chore(formatting/prettier-js): move setup to a central list of hooks
2022-12-03 23:38:39 +00:00
044c67d379
chore(tree-sitter): move setup to a central list of hooks
2022-12-03 23:34:52 +00:00
1ad731c677
chore(language/yaml): update tree-sitter-langs to get highlight queries for yaml
2022-12-01 21:25:40 +00:00
ebbdab36fb
feat(language/yaml): enable tree-sitter syntax highlighting
...
Provide full tree-sitter highlight queries for YAML mode, and enable
tree-sitter-mode within yaml-mode buffers.
2022-11-24 02:40:51 +00:00
eea90adfa6
feat(language/rust): improve lsp-mode setup
2022-10-24 09:50:03 +01:00
2e1a66580c
chore(language/go): add extra flag for golangci-lint langserver
2022-10-19 23:22:02 +01:00
8d232d4b2b
chore: use symbol instead of string for with-eval-after-load
2022-10-05 00:18:59 +01:00
6bf20de60e
fix(language/go): attach go-playground setup function correct hook
2022-10-05 00:16:15 +01:00
6d4665f3dd
fix(language/go): add tree-sitter query for highlighting struct properties
...
The field_identifier type was recently removed from tree-sitter-go here:
https://github.com/tree-sitter/tree-sitter-go/pull/71
This means that struct keys are no longer syntax highlighted as
properties, which I dislike. Hence this new query targets the first
element of a key/value pair, and marks the first element as a @property
if it contains an identifier.
I'm not sure if this undoes the goal of removing the field_identifier,
but for now, it resolves my personal annoyance of struct keys not be
highlighted as properties when creating a new instance of the struct.
2022-10-05 00:11:46 +01:00
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
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
efccea6cbd
feat(language/go): improve setup of go-playground
2022-08-25 22:52:21 +01:00
43d9d309da
feat(language/go): configure modes for go.mod and go.work files
2022-08-20 00:36:06 +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
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
b92bd7b19e
feat(language/protobuf): format non-buf protobuf files with clang-format
2022-07-20 22:02:12 +01:00
0de0c4ca23
feat(text-editing): replace toggle-quotes with cycle-quotes package
...
It seems cycle-quotes does a better job than toggle-quotes. For example
it supports literal backtick strings in Go, which toggle-quotes does
not.
2022-07-20 22:02:12 +01:00
5784db0ff6
chore(language/protobuf): change name of buf-based formatting mode
2022-07-20 22:02:12 +01:00
7c253d986c
feat(editor): improve code folding with origami
...
Add and configure origami, and enable it for majro modes where it seems
to do a good job, and keep using hideshow for other major modes.
2022-07-20 22:02:12 +01:00
66cf3de9dc
chore(languages): tidy up buffer-local setq statements
2022-07-18 22:20:08 +01:00
a3c384027d
fix(language/protobuf): enforce buf flycheck linter in buf projects
2022-07-18 22:11:45 +01:00
32a704a9e4
chore: minor tidying
2022-07-15 23:40:01 +01:00
f8ed1029da
fix(language/terraform): disable lsp-mode in terraform files
...
The terraform language server is not very good, very rarely provides any
completions, and when it doesn't it overall is just slow and laggy.
Especially so as lsp-mode is set to syntax highlight with the language
server, causing syntax highlighting to often be about 5 seconds behind
of whatever you're typing.
2022-07-15 22:46:11 +01:00
b411cc7856
chore(editor): improve setup of indentation highlight guides
2022-07-15 22:44:24 +01:00
a1a3c3d9f5
feat(language/protobuf): enable format-on-save with buf format
2022-07-15 22:22:44 +01:00