mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-14 11:24:43 +02:00
using bufferline, barbar had too many conflicts unfortunately
This commit is contained in:
parent
632e7bf194
commit
c899acb744
4 changed files with 66 additions and 21 deletions
|
@ -46,12 +46,12 @@ return require("packer").startup(function(use)
|
|||
}
|
||||
-- Snap TODO disable for now, need to only install fzy when user specifies they want to use snap
|
||||
-- use {
|
||||
-- "camspiers/snap",
|
||||
-- rocks = "fzy",
|
||||
-- config = function()
|
||||
-- require("lv-snap").config()
|
||||
-- end,
|
||||
-- disable = not O.plugin.snap.active
|
||||
-- "camspiers/snap",
|
||||
-- rocks = "fzy",
|
||||
-- config = function()
|
||||
-- require("lv-snap").config()
|
||||
-- end,
|
||||
-- disable = not O.plugin.snap.active
|
||||
-- }
|
||||
-- Autocomplete
|
||||
use {
|
||||
|
@ -114,15 +114,9 @@ return require("packer").startup(function(use)
|
|||
use {"glepnir/galaxyline.nvim"}
|
||||
|
||||
use {
|
||||
"romgrk/barbar.nvim",
|
||||
|
||||
"akinsho/nvim-bufferline.lua",
|
||||
config = function()
|
||||
vim.api.nvim_set_keymap('n', '<TAB>', ':BufferNext<CR>',
|
||||
{noremap = true, silent = true})
|
||||
vim.api.nvim_set_keymap('n', '<S-TAB>', ':BufferPrevious<CR>',
|
||||
{noremap = true, silent = true})
|
||||
vim.api.nvim_set_keymap('n', '<S-x>', ':BufferClose<CR>',
|
||||
{noremap = true, silent = true})
|
||||
require("lv-bufferline").config()
|
||||
end,
|
||||
event = "BufRead"
|
||||
|
||||
|
@ -228,8 +222,9 @@ return require("packer").startup(function(use)
|
|||
vim.g.indentLine_enabled = 1
|
||||
vim.g.indent_blankline_char = "▏"
|
||||
|
||||
vim.g.indent_blankline_filetype_exclude =
|
||||
{"help", "terminal", "dashboard"}
|
||||
vim.g.indent_blankline_filetype_exclude = {
|
||||
"help", "terminal", "dashboard"
|
||||
}
|
||||
vim.g.indent_blankline_buftype_exclude = {"terminal"}
|
||||
|
||||
vim.g.indent_blankline_show_trailing_blankline_indent = false
|
||||
|
@ -401,7 +396,7 @@ return require("packer").startup(function(use)
|
|||
use {
|
||||
"rktjmp/lush.nvim",
|
||||
-- cmd = {"LushRunQuickstart", "LushRunTutorial", "Lushify"},
|
||||
disable = not O.plugin.lush.active,
|
||||
disable = not O.plugin.lush.active
|
||||
}
|
||||
-- HTML preview
|
||||
use {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue