feat: Added code completion package back (required by LSP)
This commit is contained in:
parent
94e3ee2028
commit
e186a765ee
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue