AutoYADM commit: 2024-11-18 23:37:56

This commit is contained in:
Daniel Fichtinger 2024-11-18 23:37:56 -05:00
parent 5775c18d14
commit ed6562f5d0
4 changed files with 79 additions and 83 deletions

View file

@ -0,0 +1,55 @@
return {
"nvim-treesitter/nvim-treesitter",
opts = {
highlight = { enable = true },
indent = { enable = true },
ensure_installed = {
"bash",
"c",
"diff",
"html",
"javascript",
"jsdoc",
"json",
"jsonc",
"lua",
"luadoc",
"luap",
"markdown",
"markdown_inline",
"printf",
"python",
"query",
"regex",
"toml",
"tsx",
"typescript",
"vim",
"vimdoc",
"xml",
"yaml",
},
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<C-space>",
node_incremental = "<C-space>",
scope_incremental = false,
node_decremental = "<bs>",
},
},
textobjects = {
keymaps = {
["lf"] = "@function.inner",
["lc"] = "@class.inner",
},
move = {
enable = true,
goto_next_start = { ["]f"] = "@function.outer", ["]c"] = "@class.outer", ["]a"] = "@parameter.inner" },
goto_next_end = { ["]F"] = "@function.outer", ["]C"] = "@class.outer", ["]A"] = "@parameter.inner" },
goto_previous_start = { ["[f"] = "@function.outer", ["[c"] = "@class.outer", ["[a"] = "@parameter.inner" },
goto_previous_end = { ["[F"] = "@function.outer", ["[C"] = "@class.outer", ["[A"] = "@parameter.inner" },
},
},
},
}

View file

@ -1,25 +0,0 @@
return {
"folke/zen-mode.nvim",
enabled = false,
opts = {
window = {
options = {
signcolumn = "no",
-- number = false,
-- relativenumber = false,
-- cursorline = false,
foldcolumn = "0",
list = false,
},
},
plugins = {
options = {},
twilight = { enabled = false },
kitty = {
enabled = false,
-- enabled = true,
font = "+4",
},
},
},
}