From c9141da98d02fad9bc1f54d75c744542d20bbf17 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 26 Oct 2024 16:04:52 -0400 Subject: [PATCH] more regex special char escaping --- nvim/lua/plugins/nvim-cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/plugins/nvim-cmp.lua b/nvim/lua/plugins/nvim-cmp.lua index d1f4173..e14996f 100644 --- a/nvim/lua/plugins/nvim-cmp.lua +++ b/nvim/lua/plugins/nvim-cmp.lua @@ -51,7 +51,7 @@ return { return { '', '<|end_of_text|>', '<|endoftext|>' } elseif model:match '^codestral' then return { '[INST]', '[/INST]', '[PREFIX]', '[MIDDLE]', '[SUFFIX]' } - elseif model:match '^deepseek-coder' then + elseif model:match '^deepseek%-coder' then return nil end end