summaryrefslogtreecommitdiff
path: root/src/lsp/lsp_index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lsp/lsp_index.h')
-rw-r--r--src/lsp/lsp_index.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lsp/lsp_index.h b/src/lsp/lsp_index.h
index 1b45c57..5702503 100644
--- a/src/lsp/lsp_index.h
+++ b/src/lsp/lsp_index.h
@@ -18,15 +18,15 @@ typedef enum
*/
typedef struct LSPRange
{
- int start_line; ///< Start line (1-based).
- int start_col; ///< Start column (1-based).
- int end_line; ///< End line.
- int end_col; ///< End column (approximated).
- RangeType type; ///< Type of range (def or ref).
- int def_line; ///< Line of definition (if reference).
- int def_col; ///< Column of definition (if reference).
- char *hover_text; ///< Tooltip text / signature.
- ASTNode *node; ///< Associated AST node.
+ int start_line; ///< Start line (1-based).
+ int start_col; ///< Start column (1-based).
+ int end_line; ///< End line.
+ int end_col; ///< End column (approximated).
+ RangeType type; ///< Type of range (def or ref).
+ int def_line; ///< Line of definition (if reference).
+ int def_col; ///< Column of definition (if reference).
+ char *hover_text; ///< Tooltip text / signature.
+ ASTNode *node; ///< Associated AST node.
struct LSPRange *next;
} LSPRange;
@@ -35,8 +35,8 @@ typedef struct LSPRange
*/
typedef struct LSPIndex
{
- LSPRange *head; ///< First range in the file.
- LSPRange *tail; ///< Last range in the file.
+ LSPRange *head; ///< First range in the file.
+ LSPRange *tail; ///< Last range in the file.
} LSPIndex;
// API.