aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorPhạm Bình An <111893501+brianhuster@users.noreply.github.com>2025-06-06 06:47:55 +0700
committerGitHub <noreply@github.com>2025-06-06 07:47:55 +0800
commit4e71d3bfab3d21059bb3492c447a383e91931541 (patch)
treef7cfdcf43a2a5ff3f61a20a79f53d2cff1d3b8a4 /runtime/lua/vim/_editor.lua
parenta9f544b712bd360502a236e6bf9d921cbd0ac3b1 (diff)
downloadrneovim-4e71d3bfab3d21059bb3492c447a383e91931541.tar.gz
rneovim-4e71d3bfab3d21059bb3492c447a383e91931541.tar.bz2
rneovim-4e71d3bfab3d21059bb3492c447a383e91931541.zip
vim-patch:eb59129: runtime(typescript): remove Fixedgq() function from indent script (#34334)
Problem: 1. The `Fixedgq()` function is broken (see vim/vim#17412) 2. The `'formatexpr'` for Typescript is not documented, which causes confusion to users when they try to set `'formatprg'`, since `'formatexpr'` always takes precedence over `'formatprg'`. See also https://github.com/HerringtonDarkholme/yats.vim/issues/209 3. Typescript already has a very good and popular formatter called `prettier`, that can be easily integrated to Vim via `'formatprg'` (see vim/vim#16989). I don't think there are any good reasons to reinvent a half-baked version in Vim. Solution: Remove the Fixedgq() 'formatexpr' function. fixes: vim/vim#17412 closes: vim/vim#17452 https://github.com/vim/vim/commit/eb59129d2c06fd6627f537fce4fb8660cc8d0cda
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions