feat: first commit
This commit is contained in:
parent
5604b29cdc
commit
9a2464e2d7
24
LICENSE
24
LICENSE
|
@ -1,24 +0,0 @@
|
||||||
This is free and unencumbered software released into the public domain.
|
|
||||||
|
|
||||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
||||||
distribute this software, either in source code form or as a compiled
|
|
||||||
binary, for any purpose, commercial or non-commercial, and by any
|
|
||||||
means.
|
|
||||||
|
|
||||||
In jurisdictions that recognize copyright laws, the author or authors
|
|
||||||
of this software dedicate any and all copyright interest in the
|
|
||||||
software to the public domain. We make this dedication for the benefit
|
|
||||||
of the public at large and to the detriment of our heirs and
|
|
||||||
successors. We intend this dedication to be an overt act of
|
|
||||||
relinquishment in perpetuity of all present and future rights to this
|
|
||||||
software under copyright law.
|
|
||||||
|
|
||||||
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 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.
|
|
||||||
|
|
||||||
For more information, please refer to <https://unlicense.org>
|
|
59
init.lua
59
init.lua
|
@ -1,39 +1,26 @@
|
||||||
vim.g.base46_cache = vim.fn.stdpath "data" .. "/nvchad/base46/"
|
vim.cmd("set number")
|
||||||
vim.g.mapleader = " "
|
|
||||||
|
|
||||||
-- bootstrap lazy and all plugins
|
require("config.lazy")
|
||||||
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
|
||||||
|
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
require("mappings")
|
||||||
local repo = "https://github.com/folke/lazy.nvim.git"
|
|
||||||
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
|
|
||||||
end
|
|
||||||
|
|
||||||
vim.opt.rtp:prepend(lazypath)
|
require("config.plugins.acmp")
|
||||||
|
require("config.plugins.autotag")
|
||||||
local lazy_config = require "configs.lazy"
|
require("config.plugins.autocommand")
|
||||||
|
require("config.plugins.bufferline")
|
||||||
-- load plugins
|
require("config.plugins.colorizer")
|
||||||
require("lazy").setup({
|
require("config.plugins.comment")
|
||||||
{
|
require("config.plugins.dap")
|
||||||
"NvChad/NvChad",
|
require("config.plugins.dropbar")
|
||||||
lazy = false,
|
require("config.plugins.gitsigns")
|
||||||
branch = "v2.5",
|
require("ibl").setup()
|
||||||
import = "nvchad.plugins",
|
require("config.plugins.lualine")
|
||||||
config = function()
|
require("config.plugins.navic")
|
||||||
require "options"
|
require("config.plugins.noice")
|
||||||
end,
|
require("toggleterm").setup()
|
||||||
},
|
require("config.plugins.treesitter")
|
||||||
|
require("config.plugins.neotree")
|
||||||
{ import = "plugins" },
|
require("config.plugins.nvimufo")
|
||||||
}, lazy_config)
|
require("config.plugins.prettier")
|
||||||
|
require("config.plugins.winbar")
|
||||||
-- load theme
|
require("huez").setup({})
|
||||||
dofile(vim.g.base46_cache .. "defaults")
|
|
||||||
dofile(vim.g.base46_cache .. "statusline")
|
|
||||||
|
|
||||||
require "nvchad.autocmds"
|
|
||||||
|
|
||||||
vim.schedule(function()
|
|
||||||
require "mappings"
|
|
||||||
end)
|
|
||||||
|
|
Loading…
Reference in New Issue