aboutsummaryrefslogtreecommitdiff
path: root/scripts/apply_vimgrep_updates.fnl
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-06-06 00:20:37 +0530
committerAkshay Nair <phenax5@gmail.com>2026-06-06 00:20:37 +0530
commit6fb8737890f5c7337b4672aa1b09ab8266d10b50 (patch)
tree312716a6727101f6a97828c65760a411eac4e532 /scripts/apply_vimgrep_updates.fnl
parenta7d4c8d5ca59d977642b04688869d98632f1805d (diff)
downloadkakoune-config-6fb8737890f5c7337b4672aa1b09ab8266d10b50.tar.gz
kakoune-config-6fb8737890f5c7337b4672aa1b09ab8266d10b50.zip
Fix grep-write scripts newline issue
Diffstat (limited to '')
-rwxr-xr-xscripts/apply_vimgrep_updates.fnl2
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?)