Skip to content

Commit

Permalink
Decrease size of bufferline number
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlf committed Jul 8, 2024
1 parent c8c6a18 commit a487901
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions config/lvim/lua/user/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lvim.builtin.treesitter.highlight.enable = true

-- completion settings
local sources_table = lvim.builtin.cmp.sources
sources_table[#sources_table+1] = {
sources_table[#sources_table + 1] = {
name = "codeium"
}

Expand All @@ -65,7 +65,9 @@ lvim.builtin.telescope.defaults.layout_strategy = "horizontal"

-- buffer line options
lvim.builtin.bufferline.options.middle_mouse_command = "bdelete! %d"
lvim.builtin.bufferline.options.numbers = "ordinal"
lvim.builtin.bufferline.options.numbers = function(opts)
return string.format("%s", opts.lower(opts.ordinal))
end
lvim.builtin.bufferline.options.separator_style = "slant"

-- tell project where my projects start
Expand All @@ -80,14 +82,14 @@ table.insert(lvim.builtin.alpha.dashboard.section.buttons.entries,
-- LSP
require("lvim.lsp.null-ls.formatters").setup {
{ name = "black",
args = {"-l", "99"}
args = { "-l", "99" }
},
{ name = "clang-format",
filetype = { "c", "cpp", "cs", "java" },
args = { "--style", "file" }
},
{ name = "isort",
args = {
args = {
"-l", "99",
"--profile", "black"
}
Expand Down

0 comments on commit a487901

Please sign in to comment.