Files
neovim/runtime/lua/vim
Jongwook Choi 68a2259804 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.

(cherry picked from commit 5331f87f61)
2024-10-01 16:30:12 +00:00
..
2024-03-06 10:45:22 +00:00
2024-04-26 15:13:06 +01:00
2024-01-16 09:33:10 +00:00
2024-01-19 11:54:04 +00:00
2024-05-15 07:18:33 +08:00
2024-03-16 19:26:10 +00:00
2024-03-16 19:26:10 +00:00
2024-04-30 07:04:42 +08:00