treesitter-context

main
Alpha Chen 2 years ago committed by Alpha Chen
parent 3a632b8182
commit 31c543f811
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -180,6 +180,9 @@
:aa "@parameter.outer" :aa "@parameter.outer"
:ia "@parameter.inner"}}}})) :ia "@parameter.inner"}}}}))
(let [tscontext (require :treesitter-context)]
(tscontext.setup))
(set vim.o.foldmethod :expr) (set vim.o.foldmethod :expr)
(set vim.o.foldexpr "nvim_treesitter#foldexpr()") (set vim.o.foldexpr "nvim_treesitter#foldexpr()")

4
.gitmodules vendored

@ -287,3 +287,7 @@
path = src/fzf-git.sh path = src/fzf-git.sh
url = https://github.com/junegunn/fzf-git.sh.git url = https://github.com/junegunn/fzf-git.sh.git
branch = main branch = main
[submodule ".local/share/nvim/site/pack/alpha/start/treesitter-context"]
path = .local/share/nvim/site/pack/alpha/start/treesitter-context
url = https://github.com/nvim-treesitter/nvim-treesitter-context.git
branch = master

@ -0,0 +1 @@
Subproject commit 959265a5d438462dc5d3dde215b915109c3d6fcb
Loading…
Cancel
Save