current nvim-config

This commit is contained in:
2025-10-09 00:02:38 +02:00
commit 25782b6cfa
7 changed files with 195 additions and 0 deletions

9
lua/plugins/kanagawa.lua Normal file
View File

@@ -0,0 +1,9 @@
return {
"rebelot/kanagawa.nvim",
lazy=false,
name = "kanagawa",
priority = 1000,
config=function()
vim.cmd.colorscheme "kanagawa"
end
}

View File

@@ -0,0 +1,8 @@
return {
"kylechui/nvim-surround",
version = "^3.0.0",
event = "VeryLazy",
config=function()
require("nvim-surround").setup({})
end
}

12
lua/plugins/telescope.lua Normal file
View File

@@ -0,0 +1,12 @@
return {
'nvim-telescope/telescope.nvim', tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' },
config=function()
--telescope
local builtin = require("telescope.builtin")
vim.keymap.set('n', '<C-p>', builtin.find_files, {})
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>fo', builtin.treesitter, {})
end
}

View File

@@ -0,0 +1,15 @@
return {
"nvim-treesitter/nvim-treesitter",
branch = 'master',
lazy = false,
build = ":TSUpdate",
config= function()
--TREESITTER
local config = require("nvim-treesitter.configs")
config.setup({
ensure_installed ={"lua", "c", "python", "cpp", "typescript", "javascript", "html", "json5"},
highlight ={enable=true},
indent ={ disable=true },
})
end
}