Skip to content

Commit

Permalink
fix: single to double quotes for style guid
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoxMacho committed Jul 24, 2023
1 parent 343f238 commit 9abe8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/cmp_obsidian_new.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9abe8ac

Please sign in to comment.