diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-08-19 19:30:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 19:30:35 +0200 |
commit | b2f979b30beac67906b2dd717fcb6a34f46f5e54 (patch) | |
tree | 204e9fa22aeac12e4690b330fbf4e4820eb7c34b /src/nvim/edit.c | |
parent | 7e980a4df4f17baaf347b666aacc7b8474f5217e (diff) | |
download | rneovim-b2f979b30beac67906b2dd717fcb6a34f46f5e54.tar.gz rneovim-b2f979b30beac67906b2dd717fcb6a34f46f5e54.tar.bz2 rneovim-b2f979b30beac67906b2dd717fcb6a34f46f5e54.zip |
fix(filetype): only check first 100 and last line of buffer (#19819)
fix(filetype): only pass first 100 and last lines to contents check
sufficient for current content checks and avoids performance issues for
buffers with a large number of lines
fixes #19817
Diffstat (limited to 'src/nvim/edit.c')
0 files changed, 0 insertions, 0 deletions