-- bootstrap lazy.nvim local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, }) end vim.opt.rtp:prepend(lazypath) require("lazy").setup({ -- Core { "nvim-lua/plenary.nvim" }, { "nvim-telescope/telescope.nvim", tag = "0.1.5", lazy = false }, -- LSP and Autocomplete { "neovim/nvim-lspconfig" }, { "hrsh7th/nvim-cmp" }, { "hrsh7th/cmp-nvim-lsp" }, { "hrsh7th/cmp-buffer" }, { "hrsh7th/cmp-path" }, { "hrsh7th/cmp-cmdline" }, { "hrsh7th/cmp-vsnip" }, { "hrsh7th/vim-vsnip" }, -- Treesitter { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", config = function() require("nvim-treesitter.configs").setup({ ensure_installed = { "ruby", "lua", "vim", "bash", "json" }, -- include ruby highlight = { enable = true, additional_vim_regex_highlighting = false, }, }) end }, -- Appearance { "tomasiser/vim-code-dark" }, { "vim-airline/vim-airline" }, { "vim-airline/vim-airline-themes" }, -- File Explorer / Git / Misc { "preservim/nerdtree" }, { "tpope/vim-fugitive" }, { "rust-lang/rust.vim" }, { "ray-x/go.nvim" }, { "vim-syntastic/syntastic" }, { "tokorom/syntastic-swiftlint.vim" }, }) vim.api.nvim_create_autocmd("User", { pattern = "LazyDone", callback = function() vim.cmd("colorscheme codedark") end, })