From 0f3fd37d43d7f46dc762d739197bfa4e0ad0bdf9 Mon Sep 17 00:00:00 2001 From: hyper Date: Sun, 6 Oct 2024 13:16:37 +0800 Subject: [PATCH] ooops --- init.lua | 23 +++++++++++++++++++++++ lazy-lock.json | 27 +++++++++++++++++++++++++++ lazyvim.json | 9 +++++++++ {config => lua/config}/lazy.lua | 0 {plugins => lua/plugins}/editing.lua | 0 {plugins => lua/plugins}/tsdev.lua | 0 {plugins => lua/plugins}/visuals.lua | 0 7 files changed, 59 insertions(+) create mode 100644 init.lua create mode 100644 lazy-lock.json create mode 100644 lazyvim.json rename {config => lua/config}/lazy.lua (100%) rename {plugins => lua/plugins}/editing.lua (100%) rename {plugins => lua/plugins}/tsdev.lua (100%) rename {plugins => lua/plugins}/visuals.lua (100%) diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..3355a73 --- /dev/null +++ b/init.lua @@ -0,0 +1,23 @@ +if vim.g.vscode then + -- VSCode extension +else + -- ordinary Neovim + vim.g.mapleader = ' ' + vim.g.maplocalleader = ' ' + require("config.lazy") +end + +vim.opt.clipboard = 'unnamedplus' +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.expandtab = true +vim.opt.shiftwidth = 4 +vim.opt.smartindent = true +vim.opt.autoindent = true + +vim.opt.termguicolors = true +vim.opt.background = "dark" +vim.opt.title = true +vim.opt.number = true +vim.opt.cursorline = true +vim.opt.ttyfast = true diff --git a/lazy-lock.json b/lazy-lock.json new file mode 100644 index 0000000..0eb5f25 --- /dev/null +++ b/lazy-lock.json @@ -0,0 +1,27 @@ +{ + "actions-preview.nvim": { "branch": "master", "commit": "9f52a01c374318e91337697ebed51c6fae57f8a4" }, + "bufferline.nvim": { "branch": "main", "commit": "2e3c8cc5a57ddd32f1edd2ffd2ccb10c09421f6c" }, + "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, + "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, + "flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, + "grug-far.nvim": { "branch": "main", "commit": "b7c2b28e49d55ff71cd9bb3ad19a2021316510d8" }, + "gruvbox.nvim": { "branch": "main", "commit": "49d9c0b150ba70efcd831ec7b3cb8ee740067045" }, + "lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" }, + "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, + "mini.ai": { "branch": "main", "commit": "40e380a589d07ec2c856940c6422aafe5d949a0d" }, + "mini.pairs": { "branch": "main", "commit": "e543c760edc5e746e5b6cbd02c066c17ead3ef16" }, + "neo-tree.nvim": { "branch": "v3.x", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" }, + "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, + "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, + "nvim-lspconfig": { "branch": "master", "commit": "d78f318d71d504b183ea9db26907eab740e06dd6" }, + "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, + "nvim-treesitter": { "branch": "master", "commit": "7821feb7e7d55a76b7ffeeb6b0bfb7b8f499ce94" }, + "nvim-web-devicons": { "branch": "master", "commit": "56f17def81478e406e3a8ec4aa727558e79786f3" }, + "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, + "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, + "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, + "trouble.nvim": { "branch": "main", "commit": "254145ffd528b98eb20be894338e2d5c93fa02c2" }, + "typescript-tools.nvim": { "branch": "master", "commit": "f8c2e0b36b651c85f52ad5c5373ff8b07adc15a7" }, + "which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" } +} diff --git a/lazyvim.json b/lazyvim.json new file mode 100644 index 0000000..8e6b0ec --- /dev/null +++ b/lazyvim.json @@ -0,0 +1,9 @@ +{ + "extras": [ + + ], + "news": { + "NEWS.md": "6520" + }, + "version": 6 +} \ No newline at end of file diff --git a/config/lazy.lua b/lua/config/lazy.lua similarity index 100% rename from config/lazy.lua rename to lua/config/lazy.lua diff --git a/plugins/editing.lua b/lua/plugins/editing.lua similarity index 100% rename from plugins/editing.lua rename to lua/plugins/editing.lua diff --git a/plugins/tsdev.lua b/lua/plugins/tsdev.lua similarity index 100% rename from plugins/tsdev.lua rename to lua/plugins/tsdev.lua diff --git a/plugins/visuals.lua b/lua/plugins/visuals.lua similarity index 100% rename from plugins/visuals.lua rename to lua/plugins/visuals.lua