summaryrefslogtreecommitdiff
path: root/lua/talha/lazy.lua
blob: 4d7d798456f8a5140a64b3c411983459322b71e8 (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
48
49
50
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", "cpp",
              "vim", "vimdoc", "query",
              "javascript", "typescript",
              "python"
            },
            sync_install = false,
            highlight = {
              enable = true,
              additional_vim_regex_highlighting = false,
            },
            indent = { enable = true },
          })
    end
  },
  "Mofiqul/vscode.nvim",
  "theprimeagen/harpoon",
  "tpope/vim-fugitive",
  {
    "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
    }
  },
  --- @DISABLED
  -- "mbbill/undotree",
})