feat: config

This commit is contained in:
hexlocation 2025-05-12 07:48:47 +02:00
commit d47035b8c7
11 changed files with 421 additions and 0 deletions

41
lua/hex/installer.lua Normal file
View file

@ -0,0 +1,41 @@
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use 'j-hui/fidget.nvim'
use {
'nvim-telescope/telescope.nvim', tag = '0.1.8',
-- or , branch = '0.1.x',
requires = { { 'nvim-lua/plenary.nvim' } },
config = function ()
require('telescope').setup({
pickers = {
buffers = {
show_all_buffers = true,
},
},
})
end
}
use('mrcjkb/rustaceanvim')
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
use({"nvim-lualine/lualine.nvim"})
use({ 'neovim/nvim-lspconfig' })
use({ 'hrsh7th/nvim-cmp' })
use({ 'hrsh7th/cmp-nvim-lsp' })
use({ 'hrsh7th/cmp-buffer' })
use {
'williamboman/mason-lspconfig.nvim',
requires = { { 'williamboman/mason.nvim' } }
}
use({'mfussenegger/nvim-jdtls'})
use ({"rose-pine/neovim"})
end)

1
lua/hex/keymaps.lua Normal file
View file

@ -0,0 +1 @@
vim.keymap.set("n", "<leader>f", vim.cmd.Ex)