summaryrefslogtreecommitdiff
path: root/lua/talha/lazy.lua
blob: b984c541321788b526099dfe975485d3baf8edf9 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<<<<<<< HEAD

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
    }
  },
=======
      {'hrsh7th/cmp-nvim-lua'},
      {'L3MON4D3/LuaSnip'},     -- Required
    }
  },
  {
    "kristijanhusak/vim-dadbod-ui",
    dependencies = {
      { 'tpope/vim-dadbod', lazy = true },
      { 'kristijanhusak/vim-dadbod-completion', ft = { 'sql', 'mysql', 'plsql' }, lazy = true },
    },
    cmd = {
      'DBUI',
      'DBUIToggle',
      'DBUIAddConnection',
      'DBUIFindBuffer'
    },
    init = function()
      vim.g.db_ui_use_nerd_fonts = 1
    end,
  }
  --- @DISABLED
  -- "mbbill/undotree",
})