From daf78e333163deed9a91833eaf6c33fbf612b289 Mon Sep 17 00:00:00 2001 From: "Carlos J. Torres" Date: Fri, 30 Jan 2026 13:02:48 -0500 Subject: [PATCH] Change template registration from camel_file to camel_case_file README mentions _camel_case_file_ as the option. --- lua/template/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/template/init.lua b/lua/template/init.lua index 0e951c9..b4f4a1b 100644 --- a/lua/template/init.lua +++ b/lua/template/init.lua @@ -36,7 +36,7 @@ renderer.register_builtins = function() ---@diagnostic disable-next-line: param-type-mismatch return os.date('%c', os.time(t)) end) - renderer.register('{{_camel_file_}}', function(_) + renderer.register('{{_camel_case_file_}}', function(_) local file_name = fn.expand('%:t:r') local camel_case_file_name = '' local up_next = true