summaryrefslogtreecommitdiff
path: root/lua/talha/lazy.lua
blob: 8ac7f43f6e5d89baa7d6a6307aec874ef5a68c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

require("lazy").setup({
  { "nvim-lua/plenary.nvim" },
  {
    "nvim-telescope/telescope.nvim", version = "0.1.2",
    dependencies = { "nvim-lua/plenary.nvim" }
  },
  { "nvim-treesitter/nvim-treesitter", 
    build = ":TSUpdate",
    config = function () 
        local configs = require("nvim-treesitter.configs")

        configs.setup({
            ensure_installed = { "c", "vim", "vimdoc", "query", "javascript", "typescript", "python", "cpp"},
            sync_install = false,
            highlight = { 
              enable = true,
              additional_vim_regex_highlighting = false,
            },
            indent = { enable = true },  
          })
    end
  },
  "Mofiqul/vscode.nvim",
  "theprimeagen/harpoon",
  "mbbill/undotree",
  "tpope/vim-fugitive",
  "neomake/neomake",
  "ludovicchabant/vim-gutentags", 
  {
    "VonHeikemen/lsp-zero.nvim",
    branch = 'v2.x',
    dependencies = {
      -- LSP Support
      {'neovim/nvim-lspconfig'},             -- Required
      {'williamboman/mason.nvim'},           -- Optional
      {'williamboman/mason-lspconfig.nvim'}, -- Optional

      -- Autocompletion
      {'hrsh7th/nvim-cmp'},     -- Required
      {'hrsh7th/cmp-nvim-lsp'}, -- Required
      {'hrsh7th/cmp-buffer'}, -- Required
      {'hrsh7th/cmp-nvim-lua'}, 
      {'L3MON4D3/LuaSnip'},     -- Required
    }
  },
})