-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathstylua.toml
More file actions
37 lines (29 loc) · 1.16 KB
/
Copy pathstylua.toml
File metadata and controls
37 lines (29 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# StyLua configuration for Neovim Lua development
# https://github.com/JohnnyMorganz/StyLua
# Column width for line wrapping (100 is a good balance for modern displays)
column_width = 100
# Line endings (Unix for cross-platform compatibility)
line_endings = "Unix"
# Indentation settings
indent_type = "Spaces"
indent_width = 2
# Quote style
# AutoPreferDouble: Automatically determines quote style, preferring double quotes
# Options: "AutoPreferDouble", "AutoPreferSingle", "ForceDouble", "ForceSingle"
quote_style = "AutoPreferDouble"
# Call parentheses
# Always: Always use parentheses for function calls
# Options: "Always", "NoSingleString", "NoSingleTable", "None"
call_parentheses = "Always"
# Collapse simple statements
# Never: Keep simple statements expanded for better readability
# Options: "Never", "FunctionOnly", "ConditionalOnly", "Always"
collapse_simple_statement = "Never"
# Space after function names
# Never: No space between function name and parentheses (Lua convention)
# Options: "Never", "Definitions", "Calls", "Always"
space_after_function_names = "Never"
# Sort requires
# Enable to automatically sort require statements
[sort_requires]
enabled = false