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
2c9d6118e9
fix(language/json): remove errant space in middle of function name
2024-12-27 01:09:25 +00:00
2ea3fdc27a
fix(language/toml): fix toml setup hook function name
2024-12-17 21:17:37 +00:00
Jim Myhrberg
45c41b318d
fix(language/ruby): switch back to ruby-lsp after fixing indent-region issue
2024-12-17 16:50:48 +00:00
Jim Myhrberg
a9c6240b62
fix(language/json): don't load json-mode at all if json-ts-mode is available
...
This prevents jsom-mode from taking over JSON files when it's loaded.
2024-12-16 18:40:08 +00:00
Jim Myhrberg
b665226d48
fix(langauge/ruby): switch back to solargraph from ruby-lsp
...
When using ruby-lsp, indent-region does nothing, which causes a whole
series of annoyances and issues.
2024-12-16 18:14:14 +00:00
a7fc77f52e
fix(language/yaml): switch back to yaml-mode
...
Turns out yaml-ts-mode forces 4-space indentation with no options to
changes it.
2024-12-10 21:23:39 +00:00
021fba9c73
chore(language/go): fix typo in comment
2024-12-07 20:38:18 +00:00
1ddc73e8a5
feat(language/yaml): use yaml-ts-mode by default
2024-12-07 20:38:17 +00:00
Jim Myhrberg
20bfc9cfe6
feat(language/go): switch back to go-mode from go-ts-mode
2024-12-02 15:06:30 +00:00
Jim Myhrberg
fac7bb0426
feat(language/ruby): switch from solargraph to ruby-lsp
2024-11-21 17:44:02 +00:00
Jim Myhrberg
0bb354b89d
chore(language/yaml): improve setup of yaml-ts-mode
2024-11-21 01:32:52 +00:00
Jim Myhrberg
f15e6c0b40
chore(language/go): indent go-ts-mode definition correctly
2024-11-21 01:31:31 +00:00
0c124709b9
fix(language/go): ensure tree-sitter grammar correctly
2024-11-05 00:18:45 +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
ef99f6aedc
feat(language/lua): enable lsp-mode in lua-ts-mode
2024-10-24 02:12:55 +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
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
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
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
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
9ba69c8e62
fix(language/toml): switch back to conf-toml-mode
2024-07-15 10:50:21 +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
1dfd9d28a0
fix(language/yaml): define custom tree-sitter queries
...
The upstream queries have been modified causing a dramatic change to the
visual coloring of syntax highlighting of YAML files when using
tree-sitter-mode. Hence I'm here setting custom highlight queries that
work my preferred way.
2024-05-13 01:21:18 +01:00
6faa4d9f65
fix(language/terraform): disable lsp-mode and tree-sitter-mode
...
Both cause annoyances and freezes, to the point they're generally not
worth using right now.
2024-05-12 13:52:32 +01:00
df10665d0c
fix(text-editing/treesit): resolve issues with treesit-auto package
...
When the global-treesit-auto-mode is enabled, was getting lots of errors
related to an infinite loop whenever opening a buffer supported by one
of `*-ts-mode` modes. Instead, I now take a more manual and intentional
approach to using the built-in treesit modes for specific languages.
2023-12-15 14:55:22 +00:00
95600262c4
chore(language/nginx): disable remove company-nginx
...
The git repo seems to not exist, and I rarely ever edit Nginx config
files, so this package can go.
2023-12-12 18:19:49 +00:00
e5efb2d190
fix(language/dockerfile): use dockerfile-mode again
...
dockerfile-ts-mode is still not quite as mature as I would like.
2023-12-07 00:09:50 +00:00
07794bb8be
fix(language/go): disable lsp semantic tokens
2023-11-20 00:55:10 +00:00
527934de93
fix(language/vue): fix vue-mode setup by running prog-mode-hook
2023-11-20 00:51:26 +00:00
b7c7bef47f
chore(deps): upgrade packages tweak config for lsp-mode changes
...
Minor changes were needed due to recent lsp-mode changes. My custom the
bufls and golangci-lint clients are now part of lsp-mode.
Also, within Ruby buffers I need to disable the vue-semantic-server
client, as that seems to take priority over Ruby clients in Rails
projects that use Vue.
2023-11-20 00:48:31 +00:00
359e692d8e
feat(language/protobuf): enable use of bufls language server
2023-09-27 11:54:12 +01:00