Compare commits

...

3 Commits

Author SHA1 Message Date
Zynh Ludwig 6b8d5e994c unnamedplus clipboard 2024-08-28 14:34:16 -07:00
Zynh Ludwig b34963906f split treej 2024-08-22 00:06:49 -07:00
Zynh Ludwig cd44c18646 codesnap: update config to opts 2024-08-20 00:23:17 -07:00
4 changed files with 11 additions and 2 deletions

View File

@ -11,6 +11,7 @@ vim.filetype.add({
})
vim.g.editorconfig = true
vim.opt.clipboard = "unnamedplus"
vim.cmd([[
filetype plugin on

View File

@ -3,7 +3,7 @@ return {
"mistricky/codesnap.nvim",
build = "make",
cmd = "CodeSnap",
config = {
opts = {
bg_color = "#535c68",
code_font_family = "JetBrainsMono Nerd Font",
mac_window_bar = false,

View File

@ -1,5 +1,6 @@
return {
"mrcjkb/rustaceanvim",
lazy = false,
opts = {
server = {
default_settings = {
@ -7,8 +8,15 @@ return {
["rust-analyzer"] = {
cargo = {
targetDir = true,
buildScripts = {
enable = false,
},
},
checkOnSave = true,
-- check = {
-- command = "clippy",
-- },
},
},
},
},

View File

@ -5,7 +5,7 @@ return {
keys = {
{ "J", "<cmd>TSJToggle<cr>", desc = "Toggle Treesitter Join" },
{ "<space>tj", "<cmd>TSJJoin<cr>", desc = "Treesitter Join" },
{ "<space>ts", "<cmd>TSJToggle<cr>", desc = "Treesitter Split" },
{ "<space>ts", "<cmd>TSJSplit<cr>", desc = "Treesitter Split" },
},
config = function()
require("treesj").setup({ use_default_keymaps = false })