nvim config setup

This commit is contained in:
2024-10-13 15:14:54 +02:00
parent 7be7be7262
commit 5701b5fd20
5 changed files with 255 additions and 69 deletions
+4 -18
View File
@@ -2,15 +2,8 @@ return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
--themes ---- commenting out ones I'm not actively using
--use ({'EdenEast/nightfox.nvim' })
--use 'rebelot/kanagawa.nvim' --not too bad a theme
use({ 'rose-pine/neovim', as = 'rose-pine' }) --pretty nice themes
--end themes
use({ 'rose-pine/neovim', as = 'rose-pine' })
--use 'Tetralux/odin.vim' --odin lang syntax highlighting
--use 'rust-lang/rust.vim' // don't need this anymore
use 'nvim-telescope/telescope.nvim'
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
use 'nvim-treesitter/playground'
@@ -19,21 +12,17 @@ return require('packer').startup(function(use)
use 'mbbill/undotree'
use 'theprimeagen/harpoon'
use 'nvim-lualine/lualine.nvim'
use 'mfussenegger/nvim-dap' -- debugger integration
use 'tpope/vim-fugitive' -- git integration
--LSP CONFIG
--
use {
'VonHeikemen/lsp-zero.nvim',
branch = 'v2.x',
branch = 'v4.x',
requires = {
-- LSP Support
{'neovim/nvim-lspconfig'}, -- Required
{ -- Optional
'williamboman/mason.nvim',
run = function()
pcall(vim.cmd, 'MasonUpdate')
end,
},
{'williamboman/mason.nvim'}, -- Optional
{'williamboman/mason-lspconfig.nvim'}, -- Optional
-- Autocompletion
@@ -50,7 +39,4 @@ return require('packer').startup(function(use)
}
}
use {"akinsho/toggleterm.nvim", tag = '*', config = function()
require("toggleterm").setup()
end}
end)