aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2024-05-12 18:12:03 -0400
committerChristian Clason <c.clason@uni-graz.at>2024-05-13 09:19:54 +0200
commitb6fdde5224250ec5dc3d5dcfec32d62a887173ff (patch)
tree1d8a23dc749b7093cd4e5acb59669008ed44d8a6 /runtime/lua/vim/shared.lua
parentc7958356bef304320d86cd541d0de8db968c6cc8 (diff)
downloadrneovim-b6fdde5224250ec5dc3d5dcfec32d62a887173ff.tar.gz
rneovim-b6fdde5224250ec5dc3d5dcfec32d62a887173ff.tar.bz2
rneovim-b6fdde5224250ec5dc3d5dcfec32d62a887173ff.zip
fix(treesitter): text alignment in checkhealth vim.treesitter
Problem: The column width 10 for parser name (lang) is too short. For example, `markdown_inline` has 15 characters, which results in a slight misalignment with other lines. e.g. it looked like: ``` - OK Parser: markdown ABI: 14, path: .../parser/markdown.so - OK Parser: markdown_inline ABI: 14, path: .../parser/markdown_inline.so - OK Parser: php ABI: 14, path: .../parser/php.so ``` Solution: Use column width 20. As of now, the longest name among those available in nvim-treesitter has length 18 (`haskell_persistent`). e.g.: ``` - OK Parser: markdown ABI: 14, path: .../parser/markdown.so - OK Parser: markdown_inline ABI: 14, path: .../parser/markdown_inline.so - OK Parser: php ABI: 14, path: .../parser/php.so ```
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions