summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 6df6c9c..d904c38 100644
--- a/buffer.c
+++ b/buffer.c
@@ -289,7 +289,7 @@ Language buffer_language(TextBuffer *buffer) {
LSP *buffer_lsp(TextBuffer *buffer) {
if (!buffer_is_named_file(buffer))
return NULL;
- return ted_get_lsp(buffer->ted, buffer_language(buffer));
+ return ted_get_lsp(buffer->ted, buffer->filename, buffer_language(buffer));
}