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