Skip to content

Commit 82102e5

Browse files
committed
add bufferline
1 parent abac984 commit 82102e5

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ require('lazy').setup({
100100
require 'plugins.indentguess', -- Detects tabstop and shiftwidth to match orig
101101
require 'plugins.indent_line', -- Mark indent with vertical ruler (default as toggle off)
102102
require 'plugins.neovimacs', -- Emacs-style keybindings while in insert mode
103+
require 'plugins.bufferline', -- Filename header tabs
103104
require 'plugins.gitsigns', -- Add git changes to gutter
104105
require 'plugins.which-key', -- Show keybindings as you go
105106
require 'plugins.telescope', -- Fuzzy finder (file & LSP search)

lua/plugins/bufferline.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
return { 'akinsho/bufferline.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, version = '*', opts = { options = { always_show_bufferline = false, mode = 'tabs', }, },}

lua/plugins/conform.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ return {
2424
end,
2525
formatters_by_ft = {
2626
lua = { 'stylua' },
27-
python = { 'pyright', 'isort', 'black' },
27+
python = {
28+
'black',
29+
'isort',
30+
'ruff_format',
31+
'pyright',
32+
},
2833
md = { 'prettier' },
2934
nix = { 'nixfmt' },
3035
yaml = { 'yamlfmt' },

lua/plugins/lsp.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
return {
2-
{
2+
{ -- properly configures LuaLS
33
'folke/lazydev.nvim',
44
ft = 'lua',
55
opts = {

0 commit comments

Comments
 (0)