diff options
author | Jongwook Choi <wookayin@gmail.com> | 2024-10-01 12:07:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 09:07:30 -0700 |
commit | 5331f87f6145f705c73c5c23f365cecb9fbc5067 (patch) | |
tree | bef2281db3348c630461d02b627b928eecf5d183 /runtime/lua/vim/_meta/options.lua | |
parent | bb7604eddafb31cd38261a220243762ee013273a (diff) | |
download | rneovim-5331f87f6145f705c73c5c23f365cecb9fbc5067.tar.gz rneovim-5331f87f6145f705c73c5c23f365cecb9fbc5067.tar.bz2 rneovim-5331f87f6145f705c73c5c23f365cecb9fbc5067.zip |
fix(treesitter): indent size for inspect_tree #28727
Problem: For :InspectTree, indent size (`&shiftwidth`) for the tree
viewer may be incorrect.
This is because the tree viewer buffer with the filetype `query` does
not explicitly configures the tab size, which can mismatch with the
default indent size (2) assumed by TSTreeView's implementation.
Solution: Set shiftwidth to be the same as TSTreeViewOpts specifies,
which defaults to 2.
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
0 files changed, 0 insertions, 0 deletions