Compare commits

..

3 Commits

Author SHA1 Message Date
65992c0328 bash 2026-03-02 10:44:30 -06:00
3d80d362da remove osc52 pasting 2026-02-20 14:02:30 -06:00
e51d1a3c4b osc52 for ssh 2026-02-20 12:54:35 -06:00
5 changed files with 26 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ require("lazy").setup {
{ import = "plugins" },
},
install = { colorscheme = { "tokyonight" } },
checker = { enabled = true },
checker = { enabled = true, notify = false },
}
vim.cmd [[colorscheme tokyonight]]

View File

@@ -1,5 +1,21 @@
local is_ssh = vim.env.SSH_CONNECTION ~= nil or vim.env.SSH_TTY ~= nil
vim.opt.clipboard = "unnamedplus"
if vim.env.SSH_CONNECTION then
vim.g.clipboard = {
name = "OSC 52",
copy = {
["+"] = require("vim.ui.clipboard.osc52").copy("+"),
["*"] = require("vim.ui.clipboard.osc52").copy("*"),
},
paste = {
["+"] = function() return nil end,
["*"] = function() return nil end,
},
}
end
vim.opt.termguicolors = true
vim.opt.expandtab = true

View File

@@ -19,6 +19,8 @@ return {
lua = { "stylua" },
yml = { "yamlfmt" },
yaml = { "yamlfmt" },
nix = { "nixfmt" },
bash = { "shfmt" },
},
default_format_opts = {
lsp_format = "fallback",

View File

@@ -12,6 +12,7 @@ return {
vim.lsp.config("*", { capabilities = caps })
vim.lsp.enable {
"lua_ls",
"bashls",
}
end,
},

View File

@@ -11,3 +11,9 @@ stylua
```
yamlfmt
```
### **Bash**
```
shfmt
bash-language-server
```