From 4246ca824b4925be6d4452dd5818d60456dd3c4c Mon Sep 17 00:00:00 2001 From: danymat Date: Thu, 10 Nov 2022 20:05:43 +0100 Subject: [PATCH] fix(ts): Do not relative position for fallback (#113) --- lua/neogen/configurations/typescript.lua | 2 +- lua/neogen/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/neogen/configurations/typescript.lua b/lua/neogen/configurations/typescript.lua index 896575b..95124f0 100644 --- a/lua/neogen/configurations/typescript.lua +++ b/lua/neogen/configurations/typescript.lua @@ -189,7 +189,7 @@ return { local row, col = vim.treesitter.get_node_range(parent) return row, col end - return 0, 0 + return end end, }) diff --git a/lua/neogen/init.lua b/lua/neogen/init.lua index 950e981..310c458 100644 --- a/lua/neogen/init.lua +++ b/lua/neogen/init.lua @@ -285,7 +285,7 @@ end --- with multiple annotation conventions. ---@tag neogen-changelog ---@toc_entry Changes in neogen plugin -neogen.version = "2.10.2" +neogen.version = "2.10.3" --minidoc_afterlines_end return neogen