@@ -361,6 +361,7 @@ require('lazy').setup({
361361 { -- Fuzzy Finder (files, lsp, etc)
362362 ' nvim-telescope/telescope.nvim' ,
363363 event = ' VimEnter' ,
364+ tag = ' v0.2.0' ,
364365 dependencies = {
365366 ' nvim-lua/plenary.nvim' ,
366367 { -- If encountering errors, see telescope-fzf-native README for installation instructions
@@ -941,21 +942,13 @@ require('lazy').setup({
941942 { -- Highlight, edit, and navigate code
942943 ' nvim-treesitter/nvim-treesitter' ,
943944 build = ' :TSUpdate' ,
944- main = ' nvim-treesitter.configs' , -- Sets main module to use for opts
945945 -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
946- opts = {
947- ensure_installed = { ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' markdown_inline' , ' query' , ' vim' , ' vimdoc' },
948- -- Autoinstall languages that are not installed
949- auto_install = true ,
950- highlight = {
951- enable = true ,
952- -- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
953- -- If you are experiencing weird indenting issues, add the language to
954- -- the list of additional_vim_regex_highlighting and disabled languages for indent.
955- additional_vim_regex_highlighting = { ' ruby' },
956- },
957- indent = { enable = true , disable = { ' ruby' } },
958- },
946+ config = function ()
947+ local ts = require ' nvim-treesitter'
948+ ts .setup {}
949+ ts .install ({ ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' markdown_inline' , ' query' , ' vim' , ' vimdoc' }):wait (30000 )
950+ end ,
951+
959952 -- There are additional nvim-treesitter modules that you can use to interact
960953 -- with nvim-treesitter. You should go explore a few and see what interests you:
961954 --
@@ -973,18 +966,18 @@ require('lazy').setup({
973966 -- Here are some example plugins that I've included in the Kickstart repository.
974967 -- Uncomment any of the lines below to enable them (you will need to restart nvim).
975968 --
976- -- require 'kickstart.plugins.debug',
977- -- require 'kickstart.plugins.indent_line',
978- -- require 'kickstart.plugins.lint',
979- -- require 'kickstart.plugins.autopairs',
980- -- require 'kickstart.plugins.neo-tree',
981- -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
969+ require ' kickstart.plugins.debug' ,
970+ require ' kickstart.plugins.indent_line' ,
971+ require ' kickstart.plugins.lint' ,
972+ require ' kickstart.plugins.autopairs' ,
973+ require ' kickstart.plugins.neo-tree' ,
974+ require ' kickstart.plugins.gitsigns' , -- adds gitsigns recommend keymaps
982975
983976 -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
984977 -- This is the easiest way to modularize your config.
985978 --
986979 -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
987- -- { import = 'custom.plugins' },
980+ { import = ' custom.plugins' },
988981 --
989982 -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
990983 -- Or use telescope!
0 commit comments