Skip to content

Commit

Permalink
fix: fixed default clipboard destination
Browse files Browse the repository at this point in the history
  • Loading branch information
rawnly committed Mar 15, 2023
1 parent dc39dcb commit 56c21ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/gist/core/gh.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function M.read_config()
local ok, values = pcall(vim.api.nvim_get_var, { "gist_is_private", "gist_clipboard" })

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

local config = {
is_private = is_private,
Expand Down
2 changes: 1 addition & 1 deletion plugin/gist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ local gist = require("gist")

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

0 comments on commit 56c21ba

Please sign in to comment.