add bufferline
This commit is contained in:
parent
abac984a52
commit
82102e5e29
1
init.lua
1
init.lua
|
@ -100,6 +100,7 @@ require('lazy').setup({
|
|||
require 'plugins.indentguess', -- Detects tabstop and shiftwidth to match orig
|
||||
require 'plugins.indent_line', -- Mark indent with vertical ruler (default as toggle off)
|
||||
require 'plugins.neovimacs', -- Emacs-style keybindings while in insert mode
|
||||
require 'plugins.bufferline', -- Filename header tabs
|
||||
require 'plugins.gitsigns', -- Add git changes to gutter
|
||||
require 'plugins.which-key', -- Show keybindings as you go
|
||||
require 'plugins.telescope', -- Fuzzy finder (file & LSP search)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
return {
'akinsho/bufferline.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
version = '*',
opts = {
options = {
always_show_bufferline = false,
mode = 'tabs',
},
},
}
|
|
@ -24,7 +24,12 @@ return {
|
|||
end,
|
||||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
python = { 'pyright', 'isort', 'black' },
|
||||
python = {
|
||||
'black',
|
||||
'isort',
|
||||
'ruff_format',
|
||||
'pyright',
|
||||
},
|
||||
md = { 'prettier' },
|
||||
nix = { 'nixfmt' },
|
||||
yaml = { 'yamlfmt' },
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
return {
|
||||
{
|
||||
{ -- properly configures LuaLS
|
||||
'folke/lazydev.nvim',
|
||||
ft = 'lua',
|
||||
opts = {
|
||||
|
|
Loading…
Reference in New Issue