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

47
lua/plugins.lua Normal file
View File

@@ -0,0 +1,47 @@
return{
{
"kylechui/nvim-surround",
version = "^3.0.0",
event = "VeryLazy",
config= function()
require("nvim-surround").setup({})
end
},
{
"mfussenegger/nvim-dap",
branch = 'master'
},
{
'windwp/nvim-autopairs',
event = "InsertEnter",
config = true
-- use opts = {} for passing setup options
-- this is equivalent to setup({}) function
},
{
"nvim-neo-tree/neo-tree.nvim",
branch="v3.x",
dependencies={
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
"3rd/image.nvim"
}
},
--{
-- 'neovim/nvim-lspconfig'
-- },
{
'hrsh7th/nvim-cmp'
},
{
'L3MON4D3/LuaSnip',
},
{
'saadparwaiz1/cmp_luasnip'
},
{
'rafamadriz/friendly-snippets'
}
}

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
}