@@ -238,7 +238,10 @@ vim.api.nvim_create_autocmd('TextYankPost', {
238
238
local lazypath = vim .fn .stdpath ' data' .. ' /lazy/lazy.nvim'
239
239
if not vim .uv .fs_stat (lazypath ) then
240
240
local lazyrepo = ' https://github.com/folke/lazy.nvim.git'
241
- vim .fn .system { ' git' , ' clone' , ' --filter=blob:none' , ' --branch=stable' , lazyrepo , lazypath }
241
+ local out = vim .fn .system { ' git' , ' clone' , ' --filter=blob:none' , ' --branch=stable' , lazyrepo , lazypath }
242
+ if vim .v .shell_error ~= 0 then
243
+ error (' Error cloning lazy.nvim:\n ' .. out )
244
+ end
242
245
end --- @diagnostic disable-next-line : undefined-field
243
246
vim .opt .rtp :prepend (lazypath )
244
247
@@ -255,7 +258,6 @@ vim.opt.rtp:prepend(lazypath)
255
258
-- NOTE: Here is where you install your plugins.
256
259
require (' lazy' ).setup ({
257
260
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
258
-
259
261
' tpope/vim-sleuth' , -- Detect tabstop and shiftwidth automatically
260
262
' tpope/vim-fugitive' ,
261
263
' dstein64/nvim-scrollview' ,
@@ -946,7 +948,7 @@ require('lazy').setup({
946
948
' nvim-treesitter/nvim-treesitter' ,
947
949
build = ' :TSUpdate' ,
948
950
opts = {
949
- ensure_installed = { ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' vim' , ' vimdoc' },
951
+ ensure_installed = { ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' markdown_inline ' , ' query ' , ' vim' , ' vimdoc' },
950
952
-- Autoinstall languages that are not installed
951
953
auto_install = true ,
952
954
highlight = {
0 commit comments