feat: add treesitter playground and parser info

Added a comment because I always have the same issue on windows:
"ghost" treesitter parsers hidden under scoop install dir. I hope I will
remember where to read its location, because I can never remember its
location...
This commit is contained in:
əlemi 2023-01-10 16:54:43 +01:00
parent 5455fef6af
commit 2665133e25
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -173,18 +173,20 @@ local init_fn = function(use)
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
run = ':TSUpdate', -- if parsers break upon install, check under scoop/apps/neovim/{version}/lib/nvim/parser
config = function()
require('nvim-treesitter.configs').setup {
require('nvim-treesitter.configs').setup({
highlight = { enable = true },
incremental_selection = { enable = true },
textobjects = { enable = true }
}
})
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
end
}
use 'nvim-treesitter/playground'
use {
'kyazdani42/nvim-tree.lua', -- tree file explorer, alternative to nerdtree in lua
requires = { 'kyazdani42/nvim-web-devicons' }, -- optional, for file icons