diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-04 20:21:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 20:21:38 +0100 |
commit | e5d7003b02c9af96c51ea5638e07eea25057a216 (patch) | |
tree | 1f592edd7865f472aa5481931d19c0fe4f8e8c23 /scripts/gen_filetype.lua | |
parent | 66f1563c7a48d76f99c89e32de030e57af2abfb4 (diff) | |
download | rneovim-e5d7003b02c9af96c51ea5638e07eea25057a216.tar.gz rneovim-e5d7003b02c9af96c51ea5638e07eea25057a216.tar.bz2 rneovim-e5d7003b02c9af96c51ea5638e07eea25057a216.zip |
build: rework formatting to use add_glob_target
This will ensure that we can pass flags and make adjustments from the
top level cmake file instead of digging through the cmake directory.
More importantly, this will only format files that have been changed.
This has a slightly higher initial cost compared to previous solution as
all files must be initially formatted, but the gained speed up should
more than make up for it quickly.
`make formatlua` is always run due to a quirk of stylua of always changing
modification time of the file regardless if there were any changes. This is not
a major blocker as stylua is very fast.
Diffstat (limited to 'scripts/gen_filetype.lua')
0 files changed, 0 insertions, 0 deletions