Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
})