aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/lsp-config.kak1
-rwxr-xr-xscripts/apply_vimgrep_updates.fnl2
2 files changed, 2 insertions, 1 deletions
diff --git a/autoload/lsp-config.kak b/autoload/lsp-config.kak
index 0386778..cf62930 100644
--- a/autoload/lsp-config.kak
+++ b/autoload/lsp-config.kak
@@ -1,4 +1,5 @@
eval %sh{kak-lsp}
+
# Disable default server configs
remove-hooks global lsp-filetype-javascript
remove-hooks global lsp-filetype-c-family
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?)