first commit
This commit is contained in:
commit
5d5eca8684
6 changed files with 78 additions and 0 deletions
0
README.md
Normal file
0
README.md
Normal file
10
init.lua
Normal file
10
init.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
require("config.lazy")
|
||||||
|
require("config.settings")
|
||||||
|
|
||||||
|
local neopywal = require("neopywal")
|
||||||
|
neopywal.setup({
|
||||||
|
transparent_background = true,
|
||||||
|
terminal_colors = true,
|
||||||
|
show_end_of_buffer = false,
|
||||||
|
})
|
||||||
|
vim.cmd.colorscheme("neopywal")
|
4
lazy-lock.json
Normal file
4
lazy-lock.json
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "703be1dda35e142e76e94e7503cf67d6b98a1d35" },
|
||||||
|
"neopywal": { "branch": "master", "commit": "2d65d138463bbbe9d824b9bc1048ef1888017da6" }
|
||||||
|
}
|
35
lua/config/lazy.lua
Normal file
35
lua/config/lazy.lua
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
-- Bootstrap lazy.nvim
|
||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
|
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||||
|
if vim.v.shell_error ~= 0 then
|
||||||
|
vim.api.nvim_echo({
|
||||||
|
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||||
|
{ out, "WarningMsg" },
|
||||||
|
{ "\nPress any key to exit..." },
|
||||||
|
}, true, {})
|
||||||
|
vim.fn.getchar()
|
||||||
|
os.exit(1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||||
|
-- loading lazy.nvim so that mappings are correct.
|
||||||
|
-- This is also a good place to setup other settings (vim.opt)
|
||||||
|
vim.g.mapleader = " "
|
||||||
|
vim.g.maplocalleader = "\\"
|
||||||
|
|
||||||
|
-- Setup lazy.nvim
|
||||||
|
require("lazy").setup({
|
||||||
|
spec = {
|
||||||
|
-- import your plugins
|
||||||
|
{ import = "plugins" },
|
||||||
|
},
|
||||||
|
-- Configure any other settings here. See the documentation for more details.
|
||||||
|
-- colorscheme that will be used when installing plugins.
|
||||||
|
install = { colorscheme = { "habamax" } },
|
||||||
|
-- automatically check for plugin updates
|
||||||
|
checker = { enabled = true },
|
||||||
|
})
|
20
lua/config/settings.lua
Normal file
20
lua/config/settings.lua
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
local global = vim.g
|
||||||
|
local o = vim.opt
|
||||||
|
|
||||||
|
o.number = true
|
||||||
|
o.syntax = "on"
|
||||||
|
o.autoindent = true
|
||||||
|
o.cursorline = true
|
||||||
|
o.expandtab = true
|
||||||
|
o.shiftwidth = 2
|
||||||
|
o.tabstop = 2
|
||||||
|
o.encoding = "UTF-8"
|
||||||
|
o.ruler = true
|
||||||
|
o.hidden = true
|
||||||
|
o.ttimeoutlen = 0
|
||||||
|
o.wildmenu = true
|
||||||
|
o.showmatch = true
|
||||||
|
o.inccommand = "split"
|
||||||
|
o.splitright = true
|
||||||
|
o.splitbelow = true
|
||||||
|
o.termguicolors = true
|
9
lua/plugins/neopywal.lua
Normal file
9
lua/plugins/neopywal.lua
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"RedsXDD/neopywal.nvim",
|
||||||
|
name = "neopywal",
|
||||||
|
lazy = false,
|
||||||
|
priority = 1000,
|
||||||
|
opts = {},
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue