plugins and config

This commit is contained in:
2025-05-06 23:37:50 +02:00
parent 850670d44c
commit cd3a5784fb
7 changed files with 166 additions and 13 deletions

View File

@ -0,0 +1,17 @@
return {
"rebelot/kanagawa.nvim",
config = function()
require('kanagawa').setup({
compile=true,
transparent=true,
background = {
dark = "wave",
light = "lotus"
},
});
vim.cmd("colorscheme kanagawa");
end,
build = function()
vim.cmd("KanagawaCompile");
end,
}

View File

@ -1,6 +1,23 @@
return {
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = "all",
},
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = "all",
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<Enter>",
node_incremental = "<Enter>",
scope_incremental = false,
node_decremental = "<Backspace>"
},
}
})
end
}

11
nvim/lua/plugins/oil.lua Normal file
View File

@ -0,0 +1,11 @@
return {
"stevearc/oil.nvim",
---@module 'oil'
---@type oil.SetupOpts
opts = {},
-- Optional dependencies
dependencies = { { "echasnovski/mini.icons", opts = {} } },
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
lazy = false,
}

View File

@ -0,0 +1,3 @@
return {
"tpope/vim-sleuth",
}

View File

@ -0,0 +1 @@
return { "echasnovski/mini.statusline", version = false, opts = {} }