change theme
This commit is contained in:
parent
66cbb8fe5d
commit
666df2ef74
@ -11,7 +11,7 @@ M.load_default_options = function()
|
|||||||
foldmethod = "manual", -- folding, set to "expr" for treesitter based folding
|
foldmethod = "manual", -- folding, set to "expr" for treesitter based folding
|
||||||
foldexpr = "", -- set to "nvim_treesitter#foldexpr()" for treesitter based folding
|
foldexpr = "", -- set to "nvim_treesitter#foldexpr()" for treesitter based folding
|
||||||
guifont = "monospace:h17", -- the font used in graphical neovim applications
|
guifont = "monospace:h17", -- the font used in graphical neovim applications
|
||||||
background = "light", -- set the background to light or dark
|
background = "dark", -- set the background to light or dark
|
||||||
hidden = true, -- required to keep multiple buffers and open multiple buffers
|
hidden = true, -- required to keep multiple buffers and open multiple buffers
|
||||||
hlsearch = true, -- highlight all matches on previous search pattern
|
hlsearch = true, -- highlight all matches on previous search pattern
|
||||||
ignorecase = true, -- ignore case in search patterns
|
ignorecase = true, -- ignore case in search patterns
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
require('code_runner').setup{
|
require("code_runner").setup({
|
||||||
focus = false,
|
focus = false,
|
||||||
filetype = {
|
filetype = {
|
||||||
c = "cd $dir && gcc $fileName -o $fileNameWithoutExt -g && $dir/$fileNameWithoutExt",
|
c = "cd $dir && gcc $fileName -o $fileNameWithoutExt -g && $dir/$fileNameWithoutExt",
|
||||||
cpp = "cd $dir && g++ $fileName -o $fileNameWithoutExt -g && $dir/$fileNameWithoutExt",
|
cpp = "cd $dir && g++ $fileName -o $fileNameWithoutExt -g && $dir/$fileNameWithoutExt",
|
||||||
}
|
},
|
||||||
}
|
})
|
||||||
|
@ -1,40 +1,40 @@
|
|||||||
require('lualine').setup {
|
require("lualine").setup({
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'ayu_light',
|
theme = "",
|
||||||
component_separators = { left = '', right = ''},
|
component_separators = { left = "", right = "" },
|
||||||
section_separators = { left = '', right = ''},
|
section_separators = { left = "", right = "" },
|
||||||
disabled_filetypes = {
|
disabled_filetypes = {
|
||||||
statusline = {},
|
statusline = {},
|
||||||
winbar = {},
|
winbar = {},
|
||||||
},
|
},
|
||||||
ignore_focus = {},
|
ignore_focus = {},
|
||||||
always_divide_middle = true,
|
always_divide_middle = true,
|
||||||
globalstatus = false,
|
globalstatus = false,
|
||||||
refresh = {
|
refresh = {
|
||||||
statusline = 1000,
|
statusline = 1000,
|
||||||
tabline = 1000,
|
tabline = 1000,
|
||||||
winbar = 1000,
|
winbar = 1000,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = {'mode'},
|
lualine_a = { "mode" },
|
||||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
lualine_b = { "branch", "diff", "diagnostics" },
|
||||||
lualine_c = {'filename'},
|
lualine_c = { "filename" },
|
||||||
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
lualine_x = { "encoding", "fileformat", "filetype" },
|
||||||
lualine_y = {'progress'},
|
lualine_y = { "progress" },
|
||||||
lualine_z = {'location'}
|
lualine_z = { "location" },
|
||||||
},
|
},
|
||||||
inactive_sections = {
|
inactive_sections = {
|
||||||
lualine_a = {},
|
lualine_a = {},
|
||||||
lualine_b = {},
|
lualine_b = {},
|
||||||
lualine_c = {'filename'},
|
lualine_c = { "filename" },
|
||||||
lualine_x = {'location'},
|
lualine_x = { "location" },
|
||||||
lualine_y = {},
|
lualine_y = {},
|
||||||
lualine_z = {}
|
lualine_z = {},
|
||||||
},
|
},
|
||||||
tabline = {},
|
tabline = {},
|
||||||
winbar = {},
|
winbar = {},
|
||||||
inactive_winbar = {},
|
inactive_winbar = {},
|
||||||
extensions = {}
|
extensions = {},
|
||||||
}
|
})
|
||||||
|
@ -2,15 +2,24 @@ return require("packer").startup(function()
|
|||||||
-- Packer can manage itself
|
-- Packer can manage itself
|
||||||
use("wbthomason/packer.nvim")
|
use("wbthomason/packer.nvim")
|
||||||
|
|
||||||
|
------------------ themes --------------------------
|
||||||
-- Nova theme for neovim light
|
-- Nova theme for neovim light
|
||||||
use({
|
-- use({
|
||||||
"zanglg/nova.nvim",
|
-- "zanglg/nova.nvim",
|
||||||
config = function()
|
-- config = function()
|
||||||
-- support both dark and light style
|
-- -- support both dark and light style
|
||||||
require("nova").setup({ background = "light" })
|
-- require("nova").setup({ background = "light" })
|
||||||
|
|
||||||
-- load colorscheme
|
-- -- load colorscheme
|
||||||
require("nova").load()
|
-- require("nova").load()
|
||||||
|
-- end,
|
||||||
|
-- })
|
||||||
|
|
||||||
|
use({
|
||||||
|
"navarasu/onedark.nvim",
|
||||||
|
config = function()
|
||||||
|
require("onedark").setup({ style = "darker" })
|
||||||
|
require("onedark").load()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user