bufferline: rm mapping overriding with defaults

This commit is contained in:
siduck76 2021-04-25 20:42:24 +05:30
parent fb60bb7da4
commit 928adbe21a
2 changed files with 1 additions and 7 deletions

View file

@ -29,7 +29,6 @@ require "bufferline".setup {
guifg = bar_fg, guifg = bar_fg,
guibg = "#1e222a" guibg = "#1e222a"
}, },
-- focused window -- focused window
buffer_selected = { buffer_selected = {
guifg = activeBuffer_fg, guifg = activeBuffer_fg,
@ -40,7 +39,6 @@ require "bufferline".setup {
guifg = "#353b45", guifg = "#353b45",
guibg = "#353b45" guibg = "#353b45"
}, },
-- unfocused opened window -- unfocused opened window
buffer_visible = { buffer_visible = {
guifg = "#9298a0", guifg = "#9298a0",
@ -50,17 +48,14 @@ require "bufferline".setup {
guifg = "#282c34", guifg = "#282c34",
guibg = "#282c34" guibg = "#282c34"
}, },
separator = { separator = {
guifg = "#1e222a", guifg = "#1e222a",
guibg = "#1e222a" guibg = "#1e222a"
}, },
indicator_selected = { indicator_selected = {
guifg = "#1e222a", guifg = "#1e222a",
guibg = "#1e222a" guibg = "#1e222a"
}, },
modified_selected = { modified_selected = {
guifg = bar_fg, guifg = bar_fg,
guibg = "#353b45" guibg = "#353b45"
@ -74,7 +69,7 @@ local map = vim.api.nvim_set_keymap
vim.g.mapleader = " " vim.g.mapleader = " "
--command that adds new buffer and moves to it --command that adds new buffer and moves to it
map("n", "<S-b>", [[<Cmd>tabnew<CR>]], opt) map("n", "<S-t>", [[<Cmd>tabnew<CR>]], opt)
--removing a buffer --removing a buffer
map("n", "<S-d>", [[<Cmd>bdelete<CR>]], opt) map("n", "<S-d>", [[<Cmd>bdelete<CR>]], opt)

View file

@ -12,7 +12,6 @@ ts_config.setup {
-- "cpp", -- "cpp",
-- "rust", -- "rust",
}, },
highlight = { highlight = {
enable = true, enable = true,
use_languagetree = true use_languagetree = true