diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..17cb885 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +indent_style = space +indent_size = 2 + +end_of_line = lf +charset = utf-8 + +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..985ca1e --- /dev/null +++ b/.luarc.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://raw.githubusercontent.com/luals/vscode-lua/master/setting/schema.json", + "Lua": { + "diagnostics": { + "globals": [ "vim" ] + }, + "runtime": { + "version": "LuaJIT", + }, + } +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..68701c9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 backdround + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/lua/tabscope/init.lua b/lua/tabscope/init.lua new file mode 100644 index 0000000..30a9305 --- /dev/null +++ b/lua/tabscope/init.lua @@ -0,0 +1,7 @@ +local M = {} + +M.setup = function(_) + print("hello new plugin") +end + +return M diff --git a/selene.toml b/selene.toml new file mode 100644 index 0000000..d03ab0a --- /dev/null +++ b/selene.toml @@ -0,0 +1 @@ +std = "vim" diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 0000000..f6c49a5 --- /dev/null +++ b/stylua.toml @@ -0,0 +1,4 @@ +column_width = 80 +indent_type = "Spaces" +indent_width = 2 +quote_style = "AutoPreferDouble" diff --git a/vim.yaml b/vim.yaml new file mode 100644 index 0000000..25336d6 --- /dev/null +++ b/vim.yaml @@ -0,0 +1,6 @@ +base: lua51 +name: vim + +globals: + vim: + any: true