diff --git a/lua/cmp_obsidian_new.lua b/lua/cmp_obsidian_new.lua index 05ee9e31d..cdb5e8a95 100644 --- a/lua/cmp_obsidian_new.lua +++ b/lua/cmp_obsidian_new.lua @@ -24,8 +24,8 @@ source.complete = function(self, request, callback) local new_id = client:new_note_id(search) local items = {} local new_title = search - if new_id ~= '' and new_id ~= nil then - new_title = new_id .. '|' .. search + if new_id ~= "" and new_id ~= nil then + new_title = new_id .. "|" .. search end table.insert(items, { sortText = "[[" .. search,