aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/filetype.lua
diff options
context:
space:
mode:
authorRaphael <glepnir@neovim.pro>2023-07-10 19:38:15 +0800
committerGitHub <noreply@github.com>2023-07-10 04:38:15 -0700
commit766f4978d6cb146511cf0b676c01e5327db46647 (patch)
tree84fddf19619077a9e8fcf8bab33dbedbe08d0fad /runtime/lua/vim/filetype.lua
parentfbeef0d4ef1aadc4e50b9f33946cf4dca8ca6b62 (diff)
downloadrneovim-766f4978d6cb146511cf0b676c01e5327db46647.tar.gz
rneovim-766f4978d6cb146511cf0b676c01e5327db46647.tar.bz2
rneovim-766f4978d6cb146511cf0b676c01e5327db46647.zip
fix(lint): lint warnings #24226
Diffstat (limited to 'runtime/lua/vim/filetype.lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index bc880ed130..33d451315d 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -28,7 +28,7 @@ end
--- If only start_lnum is specified, return a single line as a string.
--- If both start_lnum and end_lnum are omitted, return all lines from the buffer.
---
----@param bufnr integer|nil The buffer to get the lines from
+---@param bufnr integer The buffer to get the lines from
---@param start_lnum integer|nil The line number of the first line (inclusive, 1-based)
---@param end_lnum integer|nil The line number of the last line (inclusive, 1-based)
---@return table<string>|string Array of lines, or string when end_lnum is omitted