From 0f73cb3fed54b16791cca87271e436b23f62c817 Mon Sep 17 00:00:00 2001 From: Ian Griffin Date: Tue, 24 Jan 2023 12:41:40 +0800 Subject: updates --- lua/ui.lua | 44 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 9 deletions(-) (limited to 'lua/ui.lua') diff --git a/lua/ui.lua b/lua/ui.lua index 036bb70..4e14280 100644 --- a/lua/ui.lua +++ b/lua/ui.lua @@ -4,16 +4,42 @@ local ct = require 'conftool' -- -- Theme -- -vim.cmd('syntax on') +--vim.cmd('syntax on') +--vim.cmd('colo borterm') pk_use { - 'cormacrelf/vim-colors-github', + 'navarasu/onedark.nvim', setup = function() require('conftool').set({'background', 'dark'}) end, config = function() - vim.cmd [[colo github]] + local theme = require('onedark') + theme.setup { + style = 'darker', + } + theme.load() end } + +-- +-- Buffer Bar +-- +pk_use { + 'romgrk/barbar.nvim', + config = function() + require('bufferline').setup { + animation = false, + auto_hide = true, + icons = false, + icon_separator_active = '|', + icon_separator_inactive = ' ', + icon_close_tab = 'X', + icon_close_tab_modified = '*', + icon_pinned = '!' + + } + end +} + -- -- Indentation -- @@ -35,17 +61,17 @@ pk_use { } -- --- EtC. +-- Misc. -- -ct.set('ruler', 'showcmd', 'cursorline', 'number', 'termguicolors', 'title') +ct.set('ruler', 'showcmd', 'cursorline', 'number', 'title') ct.set( + {'termguicolors', true}, {'signcolumn', 'yes:1'}, - {'laststatus', 1}, - {'background', 'light'}, {'conceallevel', 0}, + {'colorcolumn', '81,121'}, {'textwidth', 0}, - {'wrapmargin', 0}, - {'laststatus', 1} + {'laststatus', 1}, + {'wrapmargin', 0} ) -- dont show line number in terminal window -- cgit v1.3