Swap nightfox for improved onedark colourscheme

This commit is contained in:
Evie Litherland-Smith 2022-12-20 10:37:09 +00:00
parent 58d36e14b4
commit 70436441f8
5 changed files with 17 additions and 31 deletions

View file

@ -1,7 +1,7 @@
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'auto',
theme = 'onedark',
},
sections = {
-- lualine_x = {'encoding', 'fileformat', 'filetype'},

View file

@ -1,17 +0,0 @@
vim.opt.termguicolors = true
require('nightfox').setup {
modules = {
aerial = true,
cmp = true,
diagnostic = true,
fidget = true,
gitgutter = true,
hop = true,
lsp_trouble = true,
notify = true,
nvimtree = true,
telescope = true,
treesitter = true,
},
}
vim.cmd("colorscheme nightfox")

View file

@ -0,0 +1,5 @@
require("onedark").setup {
transparent = true,
customTelescope = true,
}
vim.cmd("colorscheme onedark")

View file

@ -5,15 +5,16 @@ vim.cmd([[
augroup end
]])
if vim.version().minor <= 7 then
NIGHTFOXVERSION = '15f3b5837a8d07f45cbe16753fbf13630bc167a3'
else
NIGHTFOXVERSION = '*'
end
require('packer').startup {
function(use)
use 'wbthomason/packer.nvim'
use {
'monsonjeremy/onedark.nvim',
branch = 'treesitter',
config = function()
require 'config_plugins.config_onedark'
end
}
use {
'rcarriga/nvim-notify',
config = function()
@ -39,13 +40,6 @@ require('packer').startup {
'hrsh7th/cmp-vsnip',
'hrsh7th/vim-vsnip',
}
use {
'EdenEast/nightfox.nvim',
tag = NIGHTFOXVERSION,
config = function()
require 'config_plugins.config_nightfox'
end
}
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',

View file

@ -6,6 +6,10 @@ bind r source-file ~/.tmux.conf\; display "Reloaded conf."
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",*256col*,*kitty,alacritty:Tc"
# set-option -sa terminal-overrides ',*256col*,alacritty:RGB' # TMUX > 3.2 only
# Undercurl
# set -g default-terminal "${TERM}"
# set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support
# set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
# Set escape time to something sensible
set-option -sg escape-time 10