mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-14 11:24:43 +02:00
going back to barbar
This commit is contained in:
parent
5c73e9bea5
commit
9b10d9298c
2 changed files with 49 additions and 31 deletions
|
@ -118,13 +118,21 @@ return require("packer").startup(function(use)
|
|||
use { "glepnir/galaxyline.nvim" }
|
||||
|
||||
use {
|
||||
"akinsho/nvim-bufferline.lua",
|
||||
"romgrk/barbar.nvim",
|
||||
config = function()
|
||||
require("lv-bufferline").config()
|
||||
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 })
|
||||
end,
|
||||
event = "BufRead",
|
||||
}
|
||||
|
||||
-- use {
|
||||
-- "akinsho/nvim-bufferline.lua",
|
||||
-- config = function() require("lv-bufferline").config() end,
|
||||
-- event = "BufRead"
|
||||
-- }
|
||||
|
||||
-- Extras, these do not load by default
|
||||
|
||||
-- Better motions
|
||||
|
@ -224,7 +232,11 @@ 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
|
||||
|
@ -256,9 +268,14 @@ return require("packer").startup(function(use)
|
|||
use {
|
||||
"mfussenegger/nvim-dap",
|
||||
config = function()
|
||||
require('dap')
|
||||
vim.fn.sign_define('DapBreakpoint', {text='', texthl='LspDiagnosticsSignError', linehl='', numhl=''})
|
||||
require('dap').defaults.fallback.terminal_win_cmd = '50vsplit new'
|
||||
require "dap"
|
||||
vim.fn.sign_define("DapBreakpoint", {
|
||||
text = "",
|
||||
texthl = "LspDiagnosticsSignError",
|
||||
linehl = "",
|
||||
numhl = "",
|
||||
})
|
||||
require("dap").defaults.fallback.terminal_win_cmd = "50vsplit new"
|
||||
end,
|
||||
disable = not O.plugin.debug.active,
|
||||
}
|
||||
|
@ -462,6 +479,7 @@ return require("packer").startup(function(use)
|
|||
requires = "hrsh7th/nvim-compe",
|
||||
disable = not O.plugin.tabnine.active,
|
||||
}
|
||||
for _, plugin in pairs(O.custom_plugins) do packer.use(plugin) end
|
||||
|
||||
for _, plugin in pairs(O.custom_plugins) do
|
||||
packer.use(plugin)
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue