feat: nvim-treesitter plugin

This commit is contained in:
AngeD 2022-08-22 17:21:38 +02:00
parent 331331c620
commit ce9bf86211
4 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,13 @@
-- packages -- packages
vim.cmd("packadd nvim-treesitter") vim.cmd("packadd nvim-treesitter")
require'nvim-treesitter.configs'.setup { require'nvim-treesitter.configs'.setup {
auto_install = true,
highlight = {enable = true}, highlight = {enable = true},
indent = {enable = true},
}
vim.cmd("packadd nvim-treesitter-context")
require'treesitter-context'.setup {
enable = true,
} }
vim.cmd("packadd black") vim.cmd("packadd black")

@ -1 +1 @@
Subproject commit 09b13e9edb80d3890aa8f7dbebfdb21e34430212 Subproject commit 4b536a9709fa4cbbc4c9ae8b32e7a32821a7249e

@ -0,0 +1 @@
Subproject commit 8e88b67d0dc386d6ba1b3d09c206f19a50bc0625

3
.gitmodules vendored
View File

@ -19,3 +19,6 @@
[submodule ".pyenv"] [submodule ".pyenv"]
path = .pyenv path = .pyenv
url = https://github.com/pyenv/pyenv.git url = https://github.com/pyenv/pyenv.git
[submodule ".config/nvim/pack/plugins/opt/nvim-treesitter-context"]
path = .config/nvim/pack/plugins/opt/nvim-treesitter-context
url = https://github.com/nvim-treesitter/nvim-treesitter-context.git