From 0342a892fb316abcea268057159d3b090efb7a50 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 3 Feb 2026 21:00:07 -0500 Subject: [PATCH] chore: update project configs to match cp.nvim - Add .editorconfig - Add .luarc.json for LSP support - Rename .stylua.toml to stylua.toml - Update .gitignore --- .editorconfig | 9 +++++++++ .gitignore | 6 ++++-- .luarc.json | 8 ++++++++ .stylua.toml | 4 ---- stylua.toml | 8 ++++++++ 5 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 .editorconfig create mode 100644 .luarc.json delete mode 100644 .stylua.toml create mode 100644 stylua.toml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b9de190 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +insert_final_newline = true +charset = utf-8 + +[*.lua] +indent_style = space +indent_size = 2 diff --git a/.gitignore b/.gitignore index 43abc87..c70d0ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ doc/tags -vim.toml -selene.toml +.*cache* +CLAUDE.md +.claude/ +node_modules/ diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..3ccfeda --- /dev/null +++ b/.luarc.json @@ -0,0 +1,8 @@ +{ + "runtime.version": "Lua 5.1", + "runtime.path": ["lua/?.lua", "lua/?/init.lua"], + "diagnostics.globals": ["vim"], + "workspace.library": ["$VIMRUNTIME/lua", "${3rd}/luv/library"], + "workspace.checkThirdParty": false, + "completion.callSnippet": "Replace" +} diff --git a/.stylua.toml b/.stylua.toml deleted file mode 100644 index 54e6142..0000000 --- a/.stylua.toml +++ /dev/null @@ -1,4 +0,0 @@ -quote_style = "AutoPreferSingle" -call_parentheses = "None" -indent_type = "Spaces" -column_width = 80 diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 0000000..01ded03 --- /dev/null +++ b/stylua.toml @@ -0,0 +1,8 @@ +column_width = 100 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 2 +quote_style = "AutoPreferSingle" +call_parentheses = "Always" +[sort_requires] +enabled = true