diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-06-06 00:20:37 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-06-06 00:20:37 +0530 |
| commit | 6fb8737890f5c7337b4672aa1b09ab8266d10b50 (patch) | |
| tree | 312716a6727101f6a97828c65760a411eac4e532 /scripts | |
| parent | a7d4c8d5ca59d977642b04688869d98632f1805d (diff) | |
| download | kakoune-config-6fb8737890f5c7337b4672aa1b09ab8266d10b50.tar.gz kakoune-config-6fb8737890f5c7337b4672aa1b09ab8266d10b50.zip | |
Fix grep-write scripts newline issue
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/apply_vimgrep_updates.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/apply_vimgrep_updates.fnl b/scripts/apply_vimgrep_updates.fnl index 4542930..5fada6c 100755 --- a/scripts/apply_vimgrep_updates.fnl +++ b/scripts/apply_vimgrep_updates.fnl @@ -28,7 +28,7 @@ (when (and (> (length lines) linenr) (not= (. lines linenr) text)) (set (. lines linenr) text) (local file (io.open filepath :w)) - (file:write (table.concat lines "\n")) + (file:write (.. (table.concat lines "\n") "\n")) (file:close) (set written? true)) written?) |
