From 7db25daccf6e0eb5a14c0314493a768316b2e5da Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 8 Jun 2024 15:01:08 +0200 Subject: [PATCH] chore: autoformat with stylua --- lua/neocomplete/types/config.lua | 2 +- lua/neocomplete/types/context.lua | 2 +- lua/neocomplete/types/core.lua | 2 +- lua/neocomplete/types/entry.lua | 2 +- lua/neocomplete/types/internal_source.lua | 2 +- lua/neocomplete/types/menu.lua | 2 +- lua/neocomplete/types/misc.lua | 2 +- lua/neocomplete/types/source.lua | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lua/neocomplete/types/config.lua b/lua/neocomplete/types/config.lua index dba94dd..97ca66c 100644 --- a/lua/neocomplete/types/config.lua +++ b/lua/neocomplete/types/config.lua @@ -33,4 +33,4 @@ --- The border of the documentation view ---@field border string|string[]|string[][] --- The icons used for the different completion item types ----@alias neocomplete.config.ui.type_icons table \ No newline at end of file +---@alias neocomplete.config.ui.type_icons table diff --git a/lua/neocomplete/types/context.lua b/lua/neocomplete/types/context.lua index e9b1767..2c24d87 100644 --- a/lua/neocomplete/types/context.lua +++ b/lua/neocomplete/types/context.lua @@ -15,4 +15,4 @@ --- A cursor position ---@class neocomplete.context.cursor ---@field row integer ----@field col integer \ No newline at end of file +---@field col integer diff --git a/lua/neocomplete/types/core.lua b/lua/neocomplete/types/core.lua index 087337f..299ed3e 100644 --- a/lua/neocomplete/types/core.lua +++ b/lua/neocomplete/types/core.lua @@ -11,4 +11,4 @@ --- The function that gets invoked when the text changes ---@field on_change fun(neocomplete.core): nil --- Setup core (for now autocommands) ----@field setup fun(self: neocomplete.core): nil \ No newline at end of file +---@field setup fun(self: neocomplete.core): nil diff --git a/lua/neocomplete/types/entry.lua b/lua/neocomplete/types/entry.lua index ae7ec27..3276a38 100644 --- a/lua/neocomplete/types/entry.lua +++ b/lua/neocomplete/types/entry.lua @@ -5,4 +5,4 @@ --- Score from filtering ---@field score number --- The kind of the completion item ----@field kind? string|lsp.CompletionItemKind \ No newline at end of file +---@field kind? string|lsp.CompletionItemKind diff --git a/lua/neocomplete/types/internal_source.lua b/lua/neocomplete/types/internal_source.lua index 3e35555..55352db 100644 --- a/lua/neocomplete/types/internal_source.lua +++ b/lua/neocomplete/types/internal_source.lua @@ -9,4 +9,4 @@ --- Whether the source is incomplete ---@field incomplete boolean --- The entries recieved by last completion ----@field get_offset fun(self: neocomplete.internal_source, context: neocomplete.context): integer \ No newline at end of file +---@field get_offset fun(self: neocomplete.internal_source, context: neocomplete.context): integer diff --git a/lua/neocomplete/types/menu.lua b/lua/neocomplete/types/menu.lua index a6cc8f7..4951dcc 100644 --- a/lua/neocomplete/types/menu.lua +++ b/lua/neocomplete/types/menu.lua @@ -35,4 +35,4 @@ --- Window of menu ---@field winnr integer? --- Index of selected item ----@field index integer \ No newline at end of file +---@field index integer diff --git a/lua/neocomplete/types/misc.lua b/lua/neocomplete/types/misc.lua index edf7be9..b85aa4b 100644 --- a/lua/neocomplete/types/misc.lua +++ b/lua/neocomplete/types/misc.lua @@ -5,4 +5,4 @@ --- Reason for triggering completion ---@alias neocomplete.completionReason ---| 1 # Auto ----| 2 # Manual \ No newline at end of file +---| 2 # Manual diff --git a/lua/neocomplete/types/source.lua b/lua/neocomplete/types/source.lua index 3ee44bb..3b5c284 100644 --- a/lua/neocomplete/types/source.lua +++ b/lua/neocomplete/types/source.lua @@ -9,4 +9,4 @@ --- Get keyword pattern for this source ---@field get_keyword_pattern? fun(self: neocomplete.source): string --- Returns completion in the provided context ----@field complete fun(completion_context: neocomplete.completion_context, callback: fun(items: neocomplete.entry[], is_incomplete?: boolean)): nil \ No newline at end of file +---@field complete fun(completion_context: neocomplete.completion_context, callback: fun(items: neocomplete.entry[], is_incomplete?: boolean)): nil