Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 2df5137
Author: TJ DeVries <devries.timothyj@gmail.com>
Date:   Wed Jul 17 21:37:31 2024 -0400

    fix: add required parsers from nvim-treesitter

commit 3e55ff1
Author: Folke Lemaitre <folke.lemaitre@gmail.com>
Date:   Tue Jul 16 18:06:47 2024 +0200

    fix(lazy): added error handling for bootstrap (nvim-lua#1001)

commit f5c9195
Author: Vladislav Grechannik <52157081+VlaDexa@users.noreply.github.com>
Date:   Tue Jul 16 18:05:40 2024 +0200

    which-key v3 update (nvim-lua#1022)

    * which-key v3 update

    * remove unneeded brackets from which-key registration
  • Loading branch information
cdf144 committed Jul 18, 2024
1 parent 237a54e commit 0927dde
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ vim.api.nvim_create_autocmd('TextYankPost', {
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not vim.uv.fs_stat(lazypath) then
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
local out = vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
if vim.v.shell_error ~= 0 then
error('Error cloning lazy.nvim:\n' .. out)
end
end ---@diagnostic disable-next-line: undefined-field
vim.opt.rtp:prepend(lazypath)

Expand All @@ -255,7 +258,6 @@ vim.opt.rtp:prepend(lazypath)
-- NOTE: Here is where you install your plugins.
require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).

'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
'tpope/vim-fugitive',
'dstein64/nvim-scrollview',
Expand Down Expand Up @@ -946,7 +948,7 @@ require('lazy').setup({
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
opts = {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' },
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
-- Autoinstall languages that are not installed
auto_install = true,
highlight = {
Expand Down

0 comments on commit 0927dde

Please sign in to comment.