Skip to content

Commit e0cfbbb

Browse files
authored
fix(copy-paste): fix message on clipboard clear (#1838)
* Clear clipboard function was calling utils to notify when the clipboard was cleared * This produced a nil value error * Replaced with notify
1 parent 29788cc commit e0cfbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/actions/fs/copy-paste.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ end
132132
function M.clear_clipboard()
133133
clipboard.move = {}
134134
clipboard.copy = {}
135-
utils.notify.info "Clipboard has been emptied."
135+
notify.info "Clipboard has been emptied."
136136
end
137137

138138
function M.copy(node)

0 commit comments

Comments
 (0)