This commit is contained in:
abs3nt 2023-03-02 15:53:24 -08:00
parent 9f182170c3
commit e24dbc10f6
3 changed files with 6 additions and 15 deletions

View File

@ -12,7 +12,7 @@ end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
require('mappings') require('mappings')
require("lazy").setup("plugins")
require('options') require('options')
require("lazy").setup("plugins")
require('lsp_settings') require('lsp_settings')
require('autocmds') require('autocmds')

View File

@ -1,12 +1,3 @@
-- globals
vim.g.colorizer_auto_color = 1
vim.g.tmuxline_previm = "minimal"
vim.g.powerline_pycmd = "py3"
vim.g.tex_flavor = "latex"
-- dictionary
vim.o.dictionary = "/usr/dict/words"
-- colors -- colors
vim.o.termguicolors = true vim.o.termguicolors = true

View File

@ -31,7 +31,9 @@ return {
-- auto color hex/rgb -- auto color hex/rgb
{ {
'norcalli/nvim-colorizer.lua', 'norcalli/nvim-colorizer.lua',
config = function() require('colorizer').setup() end, config = function()
require('colorizer').setup()
end,
}, },
{ {
@ -40,6 +42,7 @@ return {
require('document-color').setup({ require('document-color').setup({
mode = "background", mode = "background",
}) })
vim.g.colorizer_auto_color = 1
end end
}, },
@ -331,10 +334,7 @@ return {
":e $HOME/.config/nvim/init.lua | :cd %:p:h | split . | wincmd k | pwd<CR>"), ":e $HOME/.config/nvim/init.lua | :cd %:p:h | split . | wincmd k | pwd<CR>"),
dashboard.button("q", " Quit NVIM", ":qa<CR>"), dashboard.button("q", " Quit NVIM", ":qa<CR>"),
} }
local handle = assert(io.popen('fortune -s')) dashboard.section.footer.val = require 'alpha.fortune'
local fortune = handle:read("*all")
handle:close()
dashboard.section.footer.val = fortune
dashboard.section.header.opts.hl = "Title" dashboard.section.header.opts.hl = "Title"
dashboard.section.buttons.opts.hl = "Debug" dashboard.section.buttons.opts.hl = "Debug"
dashboard.section.footer.opts.hl = "Conceal" dashboard.section.footer.opts.hl = "Conceal"