mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
17 lines
324 B
VimL
17 lines
324 B
VimL
" Last Change: 2020 avril 19
|
|
|
|
if exists('g:loaded_nvim_treesitter')
|
|
finish
|
|
endif
|
|
|
|
augroup NvimTreesitter
|
|
augroup end
|
|
|
|
let g:loaded_nvim_treesitter = 1
|
|
|
|
lua << EOF
|
|
ts_installable_parsers = function()
|
|
return table.concat(require'nvim-treesitter.configs'.available_parsers(), '\n')
|
|
end
|
|
require'nvim-treesitter'.setup()
|
|
EOF
|