Browse Source

Load theme.lua after other configs

main
Leslie Kerman 1 year ago
parent
commit
9eed37f83e
  1. 4
      lua/configs/bufferline.lua
  2. 9
      lua/core/init.lua
  3. 5
      lua/core/plugins.lua
  4. 6
      lua/core/theme.lua

4
lua/configs/bufferline.lua

@ -16,9 +16,9 @@ function M.config()
icon = '',
style = 'icon'
},
buffer_close_icon = '',
buffer_close_icon = '',
modified_icon = '',
close_icon = '',
close_icon = '',
left_trunc_marker = '|',
right_trunc_marker = '|',
--- name_formatter can be used to change the buffer's label in the bufferline.

9
lua/core/init.lua

@ -21,6 +21,7 @@ vim.opt.expandtab = true
vim.opt.autowrite = false
vim.opt.wrap = false
vim.opt.formatoptions = ''
vim.opt.signcolumn = "yes" -- prevent sign column flickering
require("core.plugins")
require("core.gui")
@ -40,17 +41,11 @@ vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.loaded_tutor_mode_plugin = 1
vim.g.loaded_remote_plugins = 1
require("core.theme")
-- Load plugin configs
-- plugins without extra configs are configured directly here
require("impatient")
-- duck lol
local duck = require("duck")
vim.keymap.set('n', '<leader>dd', function() duck.hatch("🦆", 1) end, {})
vim.keymap.set('n', '<leader>dk', function() duck.cook() end, {})
require("indent_blankline").setup {
space_char_blankline = " ",
show_current_context = true,
@ -73,3 +68,5 @@ require("configs.leetcode").config()
require("configs.lang.rust").config()
require("core.keymaps")
require("core.theme")

5
lua/core/plugins.lua

@ -32,7 +32,7 @@ return require('packer').startup(function()
use 'NLKNguyen/papercolor-theme'
-- use 'liuchengxu/space-vim-dark'
use 'sainnhe/edge'
use 'B4mbus/oxocarbon-lua.nvim'
use 'nyoom-engineering/oxocarbon.nvim'
-- use 'Th3Whit3Wolf/one-nvim'
-- language
@ -85,9 +85,6 @@ return require('packer').startup(function()
-- scroll bar
use 'petertriho/nvim-scrollbar'
-- AI completion!
use 'aduros/ai.vim'
-- duck lol
use 'tamton-aquib/duck.nvim'

6
lua/core/theme.lua

@ -48,12 +48,12 @@
-- edge
vim.g.edge_style = 'aura' -- neon, aura
vim.g.edge_better_performance = 1
vim.cmd("colorscheme edge")
-- vim.cmd("colorscheme edge")
-- github
-- vim.cmd("colorscheme github_dark_default")
-- vim.cmd("colorscheme github_dark_high_contrast")
-- oxocarbon
-- vim.cmd("colorscheme oxocarbon-lua")
vim.cmd("colorscheme oxocarbon")
vim.cmd("set background=dark")

Loading…
Cancel
Save