summaryrefslogtreecommitdiff
path: root/lua/talha/lazy.lua
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-04-23 00:43:02 +0500
committertalha <talha@talhaamir.xyz>2024-04-23 00:43:02 +0500
commitf4431f6d75baa71aa23318ea50bea3848f946ab1 (patch)
treeb68fdc45b210d7c8adf2db39a2e7d499ccc1ba6f /lua/talha/lazy.lua
parent721ef14cf3906992d8615456493de439ada8e1b8 (diff)
Migrated to lazy.nvim, added neomake, a few remaps
Diffstat (limited to 'lua/talha/lazy.lua')
-rw-r--r--lua/talha/lazy.lua45
1 files changed, 45 insertions, 0 deletions
diff --git a/lua/talha/lazy.lua b/lua/talha/lazy.lua
new file mode 100644
index 0000000..089f254
--- /dev/null
+++ b/lua/talha/lazy.lua
@@ -0,0 +1,45 @@
+
+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
+ {'L3MON4D3/LuaSnip'}, -- Required
+ }
+ },
+})