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({
spec = {
{ -- Syntax Highlighter
'nvim-treesitter/nvim-treesitter', branch = 'master',
lazy = false, build = ":TSUpdate"
'nvim-treesitter/nvim-treesitter', branch = 'master',
lazy = false, build = ":TSUpdate"
},
{ -- Packager Manager (LSPs)
'williamboman/mason.nvim'
'williamboman/mason.nvim'
},
{ -- 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
'nvim-telescope/telescope.nvim',
@ -40,19 +55,28 @@ require("lazy").setup({
dependencies = { 'nvim-lua/plenary.nvim' }
},
{ -- File navigation utility
'ThePrimeagen/harpoon'
'ThePrimeagen/harpoon'
},
{ -- Undo.. tree
'mbbill/undotree'
'mbbill/undotree'
},
{ -- Git utility
'tpope/vim-fugitive'
'tpope/vim-fugitive'
},
{
'folke/which-key.nvim'
{ -- Keybind helper
'folke/which-key.nvim',
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
},
{ -- Color Scheme
'folke/tokyonight.nvim'
'folke/tokyonight.nvim'
}
},
-- Configure any other settings here. See the documentation for more details.