aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-02-09 20:21:23 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-02-10 13:10:15 +0100
commit7d7adf7acc0d4f5219e1fc433d26c6c6c30b46fc (patch)
tree3d6ccec65f486382fc8ef6caf60781a131ea0271 /src/nvim/api/vim.c
parent95fd28f4a1ef4e298695e0204bdb5b347aa0f57c (diff)
downloadrneovim-7d7adf7acc0d4f5219e1fc433d26c6c6c30b46fc.tar.gz
rneovim-7d7adf7acc0d4f5219e1fc433d26c6c6c30b46fc.tar.bz2
rneovim-7d7adf7acc0d4f5219e1fc433d26c6c6c30b46fc.zip
treesitter: cleanup some luahl stuff
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 5c60e9f99e..cf18f6b19a 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -2612,5 +2612,6 @@ void nvim__put_attr(Integer id, Integer start_row, Integer start_col,
if (attr == 0) {
return;
}
- decoration_state_add_tmp(attr, start_row, start_col, end_row, end_col);
+ decorations_add_luahl_attr(attr, (int)start_row, (colnr_T)start_col,
+ (int)end_row, (colnr_T)end_col);
}