Skip to content

Commit 56c21ba

Browse files
committed
fix: fixed default clipboard destination
1 parent dc39dcb commit 56c21ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lua/gist/core/gh.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function M.read_config()
4444
local ok, values = pcall(vim.api.nvim_get_var, { "gist_is_private", "gist_clipboard" })
4545

4646
local is_private = ok and values[1] or false
47-
local clipboard = ok and values[2] or "xsel"
47+
local clipboard = ok and values[2] or "+"
4848

4949
local config = {
5050
is_private = is_private,

plugin/gist.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ local gist = require("gist")
22

33
vim.api.nvim_create_user_command("CreateGist", gist.create, {
44
bang = true,
5-
desc = "Create a new gist from curretn file",
5+
desc = "Create a new gist from current file",
66
})

0 commit comments

Comments
 (0)