split treej
This commit is contained in:
parent
cd44c18646
commit
b34963906f
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"mrcjkb/rustaceanvim",
|
||||
lazy = false,
|
||||
opts = {
|
||||
server = {
|
||||
default_settings = {
|
||||
|
@ -7,7 +8,14 @@ return {
|
|||
["rust-analyzer"] = {
|
||||
cargo = {
|
||||
targetDir = true,
|
||||
buildScripts = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
checkOnSave = true,
|
||||
-- check = {
|
||||
-- command = "clippy",
|
||||
-- },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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 })
|
||||
|
|
Loading…
Reference in a new issue