Skip to content

Commit

Permalink
modified style of hinting code
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Dec 4, 2023
1 parent bca6fcc commit a7e6f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/easycomplete/tabnine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local tabnine_ns = vim.api.nvim_create_namespace('tabnine_ns')
function Export.show_hint(code_block)
local lines = {}
for line in code_block:gmatch("[^\r\n]+") do
table.insert(lines, {{line, "NonText"}})
table.insert(lines, {{line, "LineNr"}})
end

local virt_text = lines[1]
Expand Down

0 comments on commit a7e6f07

Please sign in to comment.