Skip to content

Commit

Permalink
barbar plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
shnaky committed Feb 20, 2023
1 parent 524fab2 commit f3131d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require("ori.plugins.cmp")
require("ori.plugins.treesitter")
require("ori.plugins.autopairs")
require("ori.plugins.gitsigns")
require("ori.plugins.barbar")

-- lsp
require("ori.plugins.lsp.mason")
Expand Down
8 changes: 8 additions & 0 deletions nvim/lua/ori/plugins/barbar.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- import barbar safely
local setup, barbar = pcall(require, "bufferline")
if not setup then
return
end

-- configure barbar
barbar.setup()

0 comments on commit f3131d4

Please sign in to comment.