feat: Added code completion package back (required by LSP)

This commit is contained in:
Tristan Russell 2025-08-24 23:17:41 -04:00
parent 94e3ee2028
commit e186a765ee
Signed by: tristanr
GPG Key ID: 4495C92911DF04CA
1 changed files with 34 additions and 10 deletions

View File

@ -25,14 +25,29 @@ vim.g.maplocalleader = "\\"
require("lazy").setup({ require("lazy").setup({
spec = { spec = {
{ -- Syntax Highlighter { -- Syntax Highlighter
'nvim-treesitter/nvim-treesitter', branch = 'master', 'nvim-treesitter/nvim-treesitter', branch = 'master',
lazy = false, build = ":TSUpdate" lazy = false, build = ":TSUpdate"
}, },
{ -- Packager Manager (LSPs) { -- Packager Manager (LSPs)
'williamboman/mason.nvim' 'williamboman/mason.nvim'
}, },
{ -- Formatter, Linter, etc bridge?? { -- Formatter, Linter, etc bridge??
'nvimtools/none-ls.nvim' 'nvimtools/none-ls.nvim'
},
{ -- Code completion
'hrsh7th/nvim-cmp'
},
{ -- Utility thing for code completion
'hrsh7th/cmp-nvim-lsp'
},
{ -- Buffer source for code completion
'hrsh7th/cmp-buffer'
},
{ -- Path source for code completion
'hrsh7th/cmp-path'
},
{ -- Cmdline source for code completion
'hrsh7th/cmp-cmdline'
}, },
{ -- File navigation fuzzy finder { -- File navigation fuzzy finder
'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim',
@ -40,19 +55,28 @@ require("lazy").setup({
dependencies = { 'nvim-lua/plenary.nvim' } dependencies = { 'nvim-lua/plenary.nvim' }
}, },
{ -- File navigation utility { -- File navigation utility
'ThePrimeagen/harpoon' 'ThePrimeagen/harpoon'
}, },
{ -- Undo.. tree { -- Undo.. tree
'mbbill/undotree' 'mbbill/undotree'
}, },
{ -- Git utility { -- Git utility
'tpope/vim-fugitive' 'tpope/vim-fugitive'
}, },
{ { -- Keybind helper
'folke/which-key.nvim' 'folke/which-key.nvim',
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}, },
{ -- Color Scheme { -- Color Scheme
'folke/tokyonight.nvim' 'folke/tokyonight.nvim'
} }
}, },
-- Configure any other settings here. See the documentation for more details. -- Configure any other settings here. See the documentation for more details.