c3ccf4f51b
feat(completion/copilot): major improvements to accept "mods" concept
2023-02-26 17:25:14 +00:00
76368c26eb
feat(completion/copilot): add .kube/config to exclude list
2023-02-26 17:22:54 +00:00
713ce6843d
feat(lsp): add .devbox to ignored directories
2023-02-26 14:51:37 +00:00
7021114d55
fix(lsp): move misplaced :custom-face definition
2023-02-26 14:49:51 +00:00
41b18aa74c
feat(completion/copilot): add accept completion "mods" concept
...
Essentially, if accepted completion string matches a given regexp
pattern, text can be inserted both before and after point.
This is useful in certain situations where Copilot suggests the opening
line to a if statement, for loop, etc., which leads to unbalanced curly
brackets. This can help reduce the annoyance of unbalanced brackets.
2023-02-22 00:04:16 +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
7792cfc965
feat(completion/copilot): improve curly-bracket handling at end of completion
...
Instead of stripping away curly brackets at the end of the completion
texts, simply insert a closing curly bracket after point when accepting
a completion that ends with a curly bracket.
2023-02-17 22:20:34 +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
1a55833d09
fix(editor/indent-guides): switch back to column display due to performance
...
Yet again, I'm switching highlight-indent-guides back to column mode. It
seemed that character mode performance had been improved. But I've run
into a number of files since where it tanks performance to the point key
strokes takes close to a second to render.
2023-02-07 19:04:22 +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
bbbc9794ca
feat(completion/copilot): do not use copilot-mode in .env* files
2023-01-20 20:59:59 +00:00
09aa5cb1c6
feat(language/go): make go-playground nicer to use with extra keybindings
2023-01-15 20:57:29 +00:00
d83ca9867a
feat(editor): change highlight indent guides style to a thin line
...
For now, it seems that this no longer causes performance issues compared
to the column style. Time will tell if this stays true.
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
d6457f26de
feat(editor): add direnv-mode to set env vars via direnv
2023-01-09 10:48:26 +00:00
bc5add2f03
fix(spelling/flyspell): incorrect call to flyspell-prog-mode
2022-12-04 15:49:53 +00:00
96c6d4c493
chore(tree-sitter): remove needless :defer t statement
2022-12-04 13:39:38 +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
3b59f17a99
fix(completion/copilot): resolve startup error in Emacs 30.x
...
Use of the deprecated position function seems to raise a error in
Emacs 30.x. Hence use the newer cl-position function which replaced it.
2022-12-01 21:15:21 +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
fe33fe0344
chore(deps): update string-edit package name to string-edit-at-point
2022-11-23 21:15:18 +00:00
5d442da04e
fix(dired+): dired operations with multiple selected files work again
...
There was recently a great tidy-up commit in the Emacs master
branch (commit 1f29ee2d21b57e81a28550a1b31bc8a39406d17b), which removed
a lot legacy stuff. Dired's dired-pop-to-buffer function was among them.
However dired+ plus seems to heavily depend on it, so for now, I've
simply copied the source of the function from the legacy cleanup commit.
2022-10-29 19:57:54 +01:00
5322ca88eb
chore(editor/all-the-icons): remove custom project-file category alias
...
It is now part of the MintSoup's fork of all-the-icons-completion.
2022-10-24 10:40:39 +01:00
eea90adfa6
feat(language/rust): improve lsp-mode setup
2022-10-24 09:50:03 +01:00
082aebbdd5
feat(navigation/consult): improve global and project buffer completion
2022-10-20 00:54:07 +01:00
4d9fdb8414
feat(formatting/prettier-js): enforce use of ~/.prettierrc.js config if it exists
2022-10-19 23:22:03 +01:00
6e9262da2c
fix(navigation/helm-ag): correctly set ignore patterns for ripgrep
2022-10-19 23:22:02 +01:00
977f343111
chore(version-control): set tab-width in status and diff magit modes
2022-10-19 23:22:02 +01:00
e015c7f619
chore(editor): move marginalia related code to siren-marginalia module
2022-10-19 23:22:02 +01:00
2e1a66580c
chore(language/go): add extra flag for golangci-lint langserver
2022-10-19 23:22:02 +01:00
dfe7250218
feat(editor): switch to fork of all-the-icons-completion
2022-10-19 23:22:02 +01:00