aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Weakly <jaredweakly@gmail.com>2022-03-25 11:12:00 -0700
committerGitHub <noreply@github.com>2022-03-25 12:12:00 -0600
commit5e64d65df690000e56fd91577978e1744d6e9e8e (patch)
tree055652080afabf5df18748c80ccf3e695c59bb69 /src
parentd72e82d3dba10c54c0de79c0fa43da7f71345a91 (diff)
downloadrneovim-5e64d65df690000e56fd91577978e1744d6e9e8e.tar.gz
rneovim-5e64d65df690000e56fd91577978e1744d6e9e8e.tar.bz2
rneovim-5e64d65df690000e56fd91577978e1744d6e9e8e.zip
fix(filetype.lua): always return a string in getline helper function (#17852)
Uses of `getline` in `filetype.lua` currently assume it always returns a string. However, if the buffer is unloaded when filetype detection runs, `getline` returns `nil`. Fixing this prevents errors when filetype detection is run on unloaded buffers.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions