From f4431f6d75baa71aa23318ea50bea3848f946ab1 Mon Sep 17 00:00:00 2001 From: talha Date: Tue, 23 Apr 2024 00:43:02 +0500 Subject: Migrated to lazy.nvim, added neomake, a few remaps --- lua/talha/lazy.lua | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 lua/talha/lazy.lua (limited to 'lua/talha/lazy.lua') 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 + } + }, +}) -- cgit v1.2.3