Skip to content

Commit

Permalink
Fixed boolean LuaLS annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-harding committed Mar 22, 2024
1 parent 6069c0c commit 7c30164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/neophyte/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ function M.get_scroll_speed()
end

---Sets the window to fullscreen or windowed
---@param is_fullscreen bool
---@param is_fullscreen boolean
function M.set_fullscreen(is_fullscreen)
vim.rpcnotify(1, 'neophyte.set_fullscreen', { is_fullscreen })
end

---Gets whether the window is fullscreen or windowed
---@return bool
---@return boolean
function M.get_fullscreen()
return vim.rpcrequest(1, 'neophyte.get_fullscreen', {})
end
Expand Down

0 comments on commit 7c30164

Please sign in to comment.