updates
This commit is contained in:
parent
9f182170c3
commit
e24dbc10f6
2
init.lua
2
init.lua
@ -12,7 +12,7 @@ end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require('mappings')
|
||||
require("lazy").setup("plugins")
|
||||
require('options')
|
||||
require("lazy").setup("plugins")
|
||||
require('lsp_settings')
|
||||
require('autocmds')
|
||||
|
@ -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
|
||||
vim.o.termguicolors = true
|
||||
|
||||
|
@ -31,7 +31,9 @@ return {
|
||||
-- auto color hex/rgb
|
||||
{
|
||||
'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({
|
||||
mode = "background",
|
||||
})
|
||||
vim.g.colorizer_auto_color = 1
|
||||
end
|
||||
},
|
||||
|
||||
@ -331,10 +334,7 @@ return {
|
||||
":e $HOME/.config/nvim/init.lua | :cd %:p:h | split . | wincmd k | pwd<CR>"),
|
||||
dashboard.button("q", " Quit NVIM", ":qa<CR>"),
|
||||
}
|
||||
local handle = assert(io.popen('fortune -s'))
|
||||
local fortune = handle:read("*all")
|
||||
handle:close()
|
||||
dashboard.section.footer.val = fortune
|
||||
dashboard.section.footer.val = require 'alpha.fortune'
|
||||
dashboard.section.header.opts.hl = "Title"
|
||||
dashboard.section.buttons.opts.hl = "Debug"
|
||||
dashboard.section.footer.opts.hl = "Conceal"
|
||||
|
Loading…
Reference in New Issue
Block a user