diff options
author | talha <talha@talhaamir.xyz> | 2024-04-23 00:43:02 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-04-23 00:43:02 +0500 |
commit | f4431f6d75baa71aa23318ea50bea3848f946ab1 (patch) | |
tree | b68fdc45b210d7c8adf2db39a2e7d499ccc1ba6f /lua/talha/lazy.lua | |
parent | 721ef14cf3906992d8615456493de439ada8e1b8 (diff) |
Migrated to lazy.nvim, added neomake, a few remaps
Diffstat (limited to 'lua/talha/lazy.lua')
-rw-r--r-- | lua/talha/lazy.lua | 45 |
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 + } + }, +}) |