phanium
d88f95275f
Modernize all codes
...
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
2025-11-15 10:46:23 +01:00
Stefan Haller
7627da594d
Update generators to change the files in the -master directories
2025-11-12 08:44:56 +01:00
Stefan Haller
db9fb216fd
Wrap long comment lines in Config.md
2025-10-10 21:25:02 +02:00
Stefan Haller
0471dbaa84
Enable intrange linter, and fix warnings
2025-06-30 18:30:11 +02:00
Karim Khaleel
b5d4bdbd08
Remove deprecated configs from auto generated config.md
2025-03-23 12:44:24 +01:00
Stefan Haller
c3b099398b
Include empty arrays and maps in the generated Config.md
...
It's not an ideal solution because there's no indication of what kind of objects
you can add to those maps or arrays, but at least they show up at all (with a
comment containing a link to more information), and that's already an
improvement.
2025-03-22 12:35:24 +01:00
Stefan Haller
4845ce1e0f
Remove obsolete filtering from setComment
...
This reverts the change that we made in 3b85307f67 , it is no longer needed
now.
2025-02-25 11:42:47 +01:00
Stefan Haller
0cc6e39f0f
Filter out [dev] comments earlier
...
Previously we only filtered them out from the example config section in
Config.md, but they still appeared in the schema. This is not ideal, because the
schema descriptions can appear in editors on mouse hover or in auto-completions.
So filter them out earlier, so that they don't appear in the schema either.
2025-02-25 11:42:47 +01:00
Stefan Haller
3b85307f67
Filter out [dev] comments when generating config doc
2025-02-23 20:55:28 +01:00
Karim Khaleel
30e9bf8a75
Use refs in jsonschema userconfig generator
...
This makes it possible to use recursive structures in the user config.
2025-02-23 20:55:28 +01:00
Stefan Haller
10db72d223
Let schema/config.json end with a line feed
...
Some editors add one automatically when saving the file, which causes confusion
and ugly diffs containing `\ No newline at end of file`.
2024-11-30 15:03:29 +01:00
Stefan Haller
4bfda1a78c
Fix boolean config keys not appearing in the generated Config.md
...
The reason why they didn't appear is that they didn't get a default value in the
generated schema; this commit fixes that.
2024-05-31 20:07:58 +02:00
Karim Khaleel
b98ae1c773
Add default lazygit config generator for Config.md from JSON schema
2024-05-19 14:08:05 +02:00
Karim Khaleel
1a035db4c8
Add UserConfig jsonschema generation script
2023-12-02 10:46:24 +01:00