This commit is contained in:
Zacharias-Brohn
2025-08-09 20:34:07 +02:00
parent 3c4df59b53
commit ba3510d2a6
6 changed files with 83 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
local M = {}
function M.foldexpr()
local lnum = vim.v.lnum
local line = vim.fn.getline( lnum )
if line:find( "<think>", 1, true ) then
return "a1"
elseif line:find( "</think>", 1, true ) then
return "s1"
else
return "="
end
end
return M