diff options
Diffstat (limited to 'lua/ui.lua')
| -rw-r--r-- | lua/ui.lua | 44 |
1 files changed, 35 insertions, 9 deletions
@@ -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 |
