Add/Show/Delete Emojis on Notes (#181)
This MR adds the ability to view, add, and delete emojis from notes and comments. This action can be performed by default with the `Ea` (emoji add) keybinding, and the `Ed` (emoji delete) keybinding. Only emojis added by the current user are eligible for deletion. The MR also implements a popup functionality which shows the user who added emojis on hover. Implements #179
This commit is contained in:
committed by
GitHub
parent
99741178f9
commit
baee20b279
@@ -245,7 +245,6 @@ M.color_labels = function(bufnr)
|
||||
for i, v in ipairs(state.settings.info.fields) do
|
||||
if v == "labels" then
|
||||
local line_content = u.get_line_content(bufnr, i)
|
||||
vim.print(line_content)
|
||||
for j, label in ipairs(state.LABELS) do
|
||||
local start_idx, end_idx = line_content:find(label.Name)
|
||||
if start_idx ~= nil and end_idx ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user