summaryrefslogtreecommitdiff
path: root/config/nvim/stylua.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config/nvim/stylua.toml')
-rw-r--r--config/nvim/stylua.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/nvim/stylua.toml b/config/nvim/stylua.toml
new file mode 100644
index 0000000..2717ca2
--- /dev/null
+++ b/config/nvim/stylua.toml
@@ -0,0 +1,18 @@
+# StyLua configuration for Neovim Lua files
+# See: https://github.com/JohnnyMorganz/StyLua
+
+# Maximum line length before wrapping
+column_width = 120
+
+# Indentation settings
+indent_type = "Spaces"
+indent_width = 4
+
+# Quote style for strings
+quote_style = "AutoPreferDouble"
+
+# Call parentheses style
+call_parentheses = "Always"
+
+# Collapse simple statements onto a single line
+collapse_simple_statement = "Never"