Commit Graph

894 Commits

Author SHA1 Message Date
762f2ca733 fix(text-editing/treesit): correctly load on versions of Emacs without built-in treesit 2023-05-23 23:11:22 +01:00
9a02511fd0 feat(navigation/dirvish): bind C-b to dirvish-subtree-up 2023-05-23 23:09:57 +01:00
431692af1a feat(language/csv): add setup for csv-mode 2023-05-17 13:46:15 +01:00
1729317cd8 feat(navigation): add dirvish and have it override/enhance dired 2023-05-15 22:36:14 +01:00
0dac2718c1 revert(completion/copilot): temporarily pin copilot.el
Unpin copilot.el as issue I had seems fixed.
2023-05-15 22:35:45 +01:00
0b63d3607d feat(editor): replace nearly all use of all-the-icons with nerd-icons
This also lets us unpin doom-modeline, which was previous pinned to the
latest commit that supported all-the-icons.
2023-05-11 01:49:40 +01:00
4654ea5e80 fix(completion/marginalia): improve issues with project-buffer annotations
Show project relative file paths even when project root and file paths
start with a mixure of "~/" and absolute path.

Also handle buffers not backed by a file on disk by falling back onto
marginalia--buffer-file.
2023-05-11 01:19:05 +01:00
15278d5abe feat(language/yaml): lint GitHub Action workflows with actionlint 2023-05-10 00:23:28 +01:00
5d1168337c chore(ai): simplify chatgpt-shell setup as it is now in melpa 2023-05-09 01:33:49 +01:00
bc8a2a40e7 fix(completion/copilot): temporarily pin copilot.el
On later commits, I have intermittent weird issues while typing with a
copilot overlay active. Until I have to time further investigate and
report an issue, I will have to pin copilot.el to a earlier commit.
2023-05-09 01:30:18 +01:00
146d2311a9 chore(treesit): tweak setup of built-in treesit modes 2023-05-09 01:30:18 +01:00
5d65b32d1a feat(lsp): enable inlay hints 2023-05-09 01:02:49 +01:00
e8cdcaebe9 feat(completion/siren): enable shift+tab keybinding in terminal 2023-05-09 00:57:16 +01:00
f7e9abbcb1 feat(text-editing): remove excess keybindings for smart-shift
They were mostly getting in the way to perform regular operations after
performing a shift.
2023-05-09 00:50:10 +01:00
4526952932 fix(windows): allow window switching keybindings to work in dired 2023-05-09 00:48:29 +01:00
e45fce6685 fix: pin doom-modeline to last all-the-icons supported commit
doom-modeline recently switched from all-the-icons to nerd-icons, but I
cannot get it to render icons correctly. So for now I'm pinning
doom-modeline to the last commit that supported all-the-icons.
2023-05-09 00:46:03 +01:00
3bd155cb79 feat(editor): try snap-indent as a replacement for yank-indent
Currently trying via my own fork of snap-indent, which has a PR pending.
2023-05-01 00:01:45 +01:00
ee044356a3 feat(projects): add "elpaca" to list of ignored projectile directories 2023-04-30 23:47:39 +01:00
e8cca905c3 fix(tools): resolve require issues makefile-executor setup 2023-04-30 23:47:38 +01:00
956dc88505 fix(magit/forge): fix error when attempting to edit a PR description
Enabling tree-sitter-mode in markdown buffers led to tree-sitter-mode
failing to load when editing pull request descriptions with forge.

As tree-sitter seemed to have no effect on markdown files, we might as
well just disable it.
2023-04-30 23:47:38 +01:00
a78e417e6f feat(icons): use nerd-fonts to display icons in terminals
Uses the new nerd-icons package to display icons in various places
similar to all-the-icons. But it works in a terminal too as long as the
terminal is using a Nerd Font.
2023-04-30 23:47:38 +01:00
b38a6abc4f chore(language/dockerfile): wrap hadolint flycheck in a function 2023-04-25 03:19:49 +01:00
b94e4fc4e4 chore(language/haskell): explicitly ensure hs-minor-mode is enabled 2023-04-25 02:18:40 +01:00
6434035d60 fix(language/go): fix go-playground setup 2023-04-25 02:17:04 +01:00
05c45bee59 feat(language/go): enable extra gopls analyzers and code lenses 2023-04-25 02:13:28 +01:00
d30d2e340b feat(language/python): enable tree-sitter-mode 2023-04-25 02:12:28 +01:00
d7494f5147 feat(language/php): enable tree-sitter-mode 2023-04-25 02:12:19 +01:00
c3dd1fe68a feat(language/nix): enable tree-sitter-mode 2023-04-25 02:12:08 +01:00
67a8b439f5 feat(language/markdown): enable tree-sitter-mode 2023-04-25 02:11:54 +01:00
20457dc99f feat(language/lua): enable tree-sitter-mode 2023-04-25 02:11:38 +01:00
e9da1ea174 feat(projects/treemacs): disable project-follow mode
It's neat, but generally very slow to update the tree view when you
switched back and forth between projects. So I prefer just having
multiple projects visible in treemacs at the same time.
2023-04-25 02:08:33 +01:00
dd26296963 fix(formatting/preffier): don't use preffier in rjsx-mode specifically 2023-04-25 02:07:42 +01:00
a0b7a80985 feat(completion/company): remove old fci-mode workaround
fci-mode was superseded by display-fill-column-indicator-mode in Emacs
27.1.
2023-04-25 02:05:52 +01:00
f5a15c4878 chore(ai): tweak use-package setup of chatgpt-shell 2023-04-25 02:05:20 +01:00
90fd64ffab chore(language/typescript): remove needless hook setup
tsx-ts-mode inherits from typescript-ts-mode, so it has the same hooks.
2023-04-25 02:04:19 +01:00
c137dde815 feat(language/lua): improve lsp-mode setup and set tab-width to 2 2023-04-25 02:03:46 +01:00
0308067065 refactor(ui): move transparency related things to a module 2023-04-25 02:00:27 +01:00
db016c1e7d chore(editor): switch yank-indent from vendored to separate repo version 2023-04-18 02:30:16 +01:00
d0d604bbc7 feat(ai/chatgpt): all per-model API key configuration in shared setup 2023-04-17 01:15:06 +01:00
4f32191983 feat(ai/chatgpt): improvements with a focus on gptel and chatgpt-shell packages 2023-04-16 18:13:58 +01:00
0eedc37603 feat(editor): add custom yank-indent package
When yank-indent-mode is enabled, yanked (pasted) text is indented based
on the indent rules of the current major mode. It has a
global-yank-indent-mode too which by default excludes a long list of
known indentation sensitive modes with which this approach does not work
very well.

It is based on some random hacky snippets elisp I've been using for over
a decade. Said snippets are themselves based on some random snippets I
found online, and since morphed into the weird monster they had become.
2023-04-16 03:13:14 +01:00
90d98d7a51 feat(projects/treemacs): enable treemacs-project-follow-mode 2023-04-14 02:05:50 +01:00
5239dacc5e feat(projects/treemacs): disable lsp-treemacs-sync-mode
I prefer being explicit about when something is added to treemacs,
instead of always adding any project that's using a language server.
2023-04-14 02:04:47 +01:00
3da4562bb6 feat(misc/chatgpt): swap out ChatGPT related packages 2023-04-14 02:02:40 +01:00
cad2638c2d fix(language/typescript): add setup hook to correct major mode 2023-04-14 02:00:18 +01:00
7f618b309c feat(language/toml): use toml-ts-mode if available 2023-04-14 01:59:49 +01:00
201bb6d394 feat(language/lua): set tab-width to 4 2023-04-14 01:56:25 +01:00
0886d77f32 feat(language/go): enable gotest to pass GOLDEN_UPDATE=1 env var 2023-04-14 01:55:41 +01:00
42ed25d165 feat(language/terraform): use lsp-mode in terraform buffers 2023-04-14 01:54:18 +01:00
e4f9e00262 feat(lsp): disable semantic tokens in Dockerfile and JS files 2023-04-14 01:53:41 +01:00