mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
reorganize, remove most of useless code
This commit is contained in:
parent
bae9f32952
commit
d288e77a71
12 changed files with 190 additions and 428 deletions
|
|
@ -5,7 +5,7 @@ if exists('g:loaded_nvim_treesitter')
|
|||
endif
|
||||
|
||||
augroup NvimTreesitter
|
||||
augroup END
|
||||
augroup end
|
||||
|
||||
let g:loaded_nvim_treesitter = 1
|
||||
|
||||
|
|
@ -13,8 +13,5 @@ lua << EOF
|
|||
ts_installable_parsers = function()
|
||||
return table.concat(require'nvim-treesitter.configs'.available_parsers(), '\n')
|
||||
end
|
||||
ts_available_modules = function()
|
||||
return table.concat(require'nvim-treesitter.configs'.available_modules(), '\n')
|
||||
end
|
||||
require'nvim-treesitter'.setup()
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue