summaryrefslogtreecommitdiff
path: root/lua/ui.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ui.lua')
-rw-r--r--lua/ui.lua76
1 files changed, 0 insertions, 76 deletions
diff --git a/lua/ui.lua b/lua/ui.lua
index c9c0bfb..f856e00 100644
--- a/lua/ui.lua
+++ b/lua/ui.lua
@@ -1,68 +1,6 @@
-local pk_use = require 'packer'.use
local ct = require 'conftool'
--
--- Theme
---
-
-pk_use {
- 'Mofiqul/adwaita.nvim',
- config = function()
- local ct = require('conftool')
- ct.set({'background', 'dark'})
- -- vim.g.adwaita_darker = true
- vim.cmd [[colo adwaita]]
- vim.keymap.set(
- 'n',
- '<Leader>c',
- function()
- if vim.o.background == 'light' then
- vim.o.background = 'dark'
- else
- vim.o.background = 'light'
- vim.api.nvim_set_hl(0, 'ColorColumn', {bg = '#c0bfbc'})
- vim.cmd('redraw')
- vim.cmd('redraw')
- end
- end,
- {noremap = true}
- )
-
- end
-}
-
-
---
--- Buffer Bar
---
---[[
-pk_use {
- 'romgrk/barbar.nvim',
- config = function()
- require('bufferline').setup {
- animation = false,
- auto_hide = true,
- icons = {
- filetype = {
- custom_colors = false,
- enabled = false
- },
- inactive = {left = ' '},
- modified = {button = '*'},
- -- separator = {left = '|'},
- pinned = {button = '!'},
- button = 'X'
- },
- sidebar_filetypes = {
- aerial = true,
- netrw = true
- }
- }
- end
-}
---]]
-
---
-- Indentation
--
vim.cmd('filetype plugin indent on')
@@ -74,15 +12,6 @@ ct.set({'tabstop', 5}, {'shiftwidth', 5})
--
vim.opt.list = true
--vim.cmd([[set lcs=tab:\|\ ]])
-pk_use {
- 'nathanaelkane/vim-indent-guides',
- setup = function()
- vim.g.indent_guides_guide_size = 1
- vim.g.indent_guides_tab_guides = 0
- vim.g.indent_guides_start_level = 2
- vim.g.indent_guides_enable_on_vim_startup = 1
- end
-}
--
-- Misc.
@@ -98,11 +27,6 @@ ct.set(
{'wrapmargin', 0}
)
--- Rainbow Delimiters
-pk_use {
- 'hiphish/rainbow-delimiters.nvim',
-}
-
-- dont show line number in terminal window
vim.cmd('autocmd TermOpen * setlocal nonu')
-- turn on mouse