Commit Graph

992 Commits

Author SHA1 Message Date
Jim Myhrberg
9142e179fd refactor(text-editing/toggle-comments): simplify implementation 2024-11-21 01:25:01 +00:00
Jim Myhrberg
bd6c2439f0 chore(keybinds): replace nearly all global-set-key with general 2024-11-21 01:24:10 +00:00
0c124709b9 fix(language/go): ensure tree-sitter grammar correctly 2024-11-05 00:18:45 +00:00
509c6ef8a5 chore(git-commit): bind M-q to fill-paragraph in git-commit-ts-mode 2024-11-05 00:17:35 +00: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
Jim Myhrberg
5cd13c64de fix(language/ruby): setup inf-ruby in ruby-ts-mode 2024-10-24 09:20:59 +01:00
983ccd3c27 feat(version-control/magic): use git-commit-ts-mode
Offers more advanced syntax highlighting for commit messages, with
support for conventional commit messages.
2024-10-24 03:13:45 +01:00
3edd8e647e feat(treesit): install grammars to custom directory 2024-10-24 03:13:17 +01:00
ef99f6aedc feat(language/lua): enable lsp-mode in lua-ts-mode 2024-10-24 02:12:55 +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
96545b2f58 chore(language/typescript): minor tweaks and simplification 2024-10-24 02:12:54 +01:00
dd67d46a78 chore(language/js): setup js-ts-mode but disable it for now
It seems very basic and seems to lack a lot of syntax highlighting
features compared to js-mode.
2024-10-24 02:06:00 +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
efd3bf1dde fix(language/scss): prevent tree-sitter-mode from activating in scss-mode
tree-sitter-mode does not play nice with scss-mode, and results in the
buffer having no syntax highlighting at all.
2024-10-24 01:59:55 +01:00
f64a5c352f chore(language/dockerfile): minor refactor of major mode setup 2024-10-24 00:38:40 +01:00
c01da3c3b7 feat(language/php): switch to php-ts-mode 2024-10-24 00:38:09 +01:00
fae8b8bb6b chore(treesit): add extra helper functions 2024-10-24 00:21:52 +01:00
6a07ee49d1 feat(language/rust): switch to rust-ts-mode 2024-10-24 00:20:30 +01:00
1bdd2316c7 feat(language/json): switch to lua-ts-mode (from lua-mode) 2024-10-23 02:09:04 +01:00
8cb67a0618 feat(language/json): switch to json-ts-mode (from json-mode) 2024-10-23 02:08:36 +01:00
243e2e17b1 chore(treesit): add and use treesit helpers for easier custom font-lock queries 2024-10-23 02:07:27 +01:00
814347dbb2 feat(language/go): switch to go-ts-mode
With some custom tweaks to syntax highlighting and properly setup indent
value, go-ts-mode seems to work very well. In theory it should be less
overhead compare to using go-mode together with tree-sitter-mode.
2024-10-21 01:46:55 +01:00
Jim Myhrberg
3cae3d93bf feat(language/ruby): switch to ruby-ts-mode 2024-10-18 13:12:40 +01:00
37c486ca94 chore(workspaces/tab-bar): disable new auto-width feature 2024-10-18 03:07:03 +01:00
e4c5f150b4 chore(formatting/prettier): don't use prettier to format XML files 2024-10-18 03:07:00 +01:00
f70de31989 fix(completion/yasnippet): fix completion issues caused by yasnippet
This somewhat works around some changes to cape, which I was abusing to
effectively get a capf yasnippet function that would only return results
on exact matches. This allows normal lsp completion to work just fine,
except for exact matches against specific snippets.

Now we use the yasnippet-capf package instead, no longer needing the
company-yasnippet package, and hacking it to also only give a single
result back, with some caveats.
2024-10-18 02:47:37 +01:00
dec45868d3 fix(package/refine): use fork of refine with fixes 2024-09-13 08:22:47 +01:00
c5f6383c7e feat(copilot): disable copilot-mode in *scratch* buffers 2024-08-11 00:34:17 +01:00
Jim Myhrberg
590c0bedc9 chore(language/ruby): simplify lsp-solargraph format-on-save predicate 2024-08-11 00:29:15 +01:00
Jim Myhrberg
ea7621478e feat(language/ruby): improve and customize ruby-ts-mode setup 2024-08-11 00:00:00 +01:00
Jim Myhrberg
e97183ee71 feat(language/go): enable lsp-mode in go.mod and go.work files 2024-08-10 23:50:13 +01:00
9fdf08a804 feat(language/go): remove inlay hints and add commended out gopls debug settings 2024-08-06 23:49:09 +01:00
2f17a18122 chore(language/go): remove custom tree-sitter highlight pattern
This pattern is part of the official highlight queries, and has been for
some time now.
2024-08-06 23:10:44 +01:00
224a6f659a feat(language/go): basic prep and setup to test go-ts-mode 2024-08-06 23:10:08 +01:00
Jim Myhrberg
ca739bac80 feat(language/terraform): re-enable lsp-mode, seems more stable now 2024-08-06 18:52:45 +01:00
Jim Myhrberg
72cf92293e feat(language/ruby): various tweaks for testing ruby-ts-mode and other improvements 2024-08-06 18:51:14 +01:00
Jim Myhrberg
4cff1f760b fix(org-mode): remove custom tab-width setting
Apparently tab-width must be 8 in org-mode, as I am getting errors
saying just that when it is set to 2.
2024-07-17 13:13:16 +01:00
Jim Myhrberg
9ba69c8e62 fix(language/toml): switch back to conf-toml-mode 2024-07-15 10:50:21 +01:00
Jim Myhrberg
64d520c1d5 revert(text-editing/smartparens): disable navigate action on {} pair
This reverts commit 2dfc86b610.

Removing navigate action on {} pair has a lot more side effects which
are very annoying. I will need to find another workaround.
2024-07-15 10:48:30 +01:00
Jim Myhrberg
7d4fbe3915 fix(org-mode): remove setting causing error in latest nightly builds 2024-07-15 10:44:43 +01:00
Jim Myhrberg
de9fee4875 feat(ai): tweak chatgpt and gptel setup 2024-07-12 02:01:39 +01:00
Jim Myhrberg
d0ef255906 feat(language/erb): setup linting and formatting of ERB files via erblint 2024-07-12 02:00:32 +01:00
Jim Myhrberg
9e6ce1eaa8 fix(language/yaml): provide filename to actionlint linter 2024-05-27 10:30:40 +01:00
fe47210ec8 chore(language/toml): don't install conf-toml-mode if toml-ts-mode is available 2024-05-26 23:57:03 +01:00
eec29b6c55 chore(text-editing/smartparens): remove old {} pair post-handler
I don't recall why I added this in 2015, and as far I can tell removing
it doesn't affect anything.
2024-05-26 23:52:24 +01:00
2dfc86b610 fix(text-editing/smartparens): disable navigate action on {} pair 2024-05-26 23:52:14 +01:00
97ff56053a chore(copilot): update git repo reference 2024-05-26 23:48:02 +01:00