Skip to content

Commit 62b37d8

Browse files
kickstart
1 parent d16df76 commit 62b37d8

File tree

3 files changed

+93
-7
lines changed

3 files changed

+93
-7
lines changed

init.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
9191
vim.g.maplocalleader = ' '
9292

9393
-- Set to true if you have a Nerd Font installed and selected in the terminal
94-
vim.g.have_nerd_font = false
94+
vim.g.have_nerd_font = true
9595

9696
-- [[ Setting options ]]
9797
-- See `:help vim.opt`
@@ -134,7 +134,7 @@ vim.opt.signcolumn = 'yes'
134134
-- Decrease update time
135135
vim.opt.updatetime = 250
136136

137-
-- Decrease mapped sequence wait time
137+
-- Decrease mapped sequence wait tim
138138
-- Displays which-key popup sooner
139139
vim.opt.timeoutlen = 300
140140

@@ -618,7 +618,7 @@ require('lazy').setup({
618618
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
619619
local servers = {
620620
clangd = {},
621-
-- gopls = {},
621+
gopls = {},
622622
pyright = {},
623623
-- rust_analyzer = {},
624624
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@@ -847,7 +847,7 @@ require('lazy').setup({
847847
-- Load the colorscheme here.
848848
-- Like many other themes, this one has different styles, and you could load
849849
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
850-
vim.cmd.colorscheme 'tokyonight-night'
850+
vim.cmd.colorscheme 'tokyonight-storm'
851851

852852
-- You can configure highlights by doing something like:
853853
vim.cmd.hi 'Comment gui=none'
@@ -933,14 +933,14 @@ require('lazy').setup({
933933
-- require 'kickstart.plugins.indent_line',
934934
-- require 'kickstart.plugins.lint',
935935
-- require 'kickstart.plugins.autopairs',
936-
-- require 'kickstart.plugins.neo-tree',
937-
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
936+
require 'kickstart.plugins.neo-tree',
937+
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
938938

939939
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
940940
-- This is the easiest way to modularize your config.
941941
--
942942
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
943-
-- { import = 'custom.plugins' },
943+
{ import = 'custom.plugins' },
944944
--
945945
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
946946
-- Or use telescope!

lua/custom/plugins/bufferline.lua

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
return {
2+
'akinsho/bufferline.nvim',
3+
dependencies = {
4+
'moll/vim-bbye',
5+
'nvim-tree/nvim-web-devicons',
6+
},
7+
config = function()
8+
require('bufferline').setup {
9+
options = {
10+
mode = 'buffers', -- set to "tabs" to only show tabpages instead
11+
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
12+
numbers = 'none', -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
13+
close_command = 'Bdelete! %d', -- can be a string | function, see "Mouse actions"
14+
buffer_close_icon = '',
15+
close_icon = '',
16+
path_components = 1, -- Show only the file name without the directory
17+
modified_icon = '',
18+
left_trunc_marker = '',
19+
right_trunc_marker = '',
20+
max_name_length = 30,
21+
max_prefix_length = 30, -- prefix used when a buffer is de-duplicated
22+
tab_size = 21,
23+
diagnostics = false,
24+
diagnostics_update_in_insert = false,
25+
color_icons = true,
26+
show_buffer_icons = true,
27+
show_buffer_close_icons = true,
28+
show_close_icon = true,
29+
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
30+
separator_style = { '', '' }, -- | "thick" | "thin" | { 'any', 'any' },
31+
enforce_regular_tabs = true,
32+
always_show_bufferline = true,
33+
show_tab_indicators = false,
34+
indicator = {
35+
-- icon = '▎', -- this should be omitted if indicator style is not 'icon'
36+
style = 'none', -- Options: 'icon', 'underline', 'none'
37+
},
38+
icon_pinned = '󰐃',
39+
minimum_padding = 1,
40+
maximum_padding = 5,
41+
maximum_length = 15,
42+
sort_by = 'insert_at_end',
43+
},
44+
highlights = {
45+
separator = {
46+
fg = '#434C5E',
47+
},
48+
buffer_selected = {
49+
bold = true,
50+
italic = false,
51+
},
52+
-- separator_selected = {},
53+
-- tab_selected = {},
54+
-- background = {},
55+
-- indicator_selected = {},
56+
-- fill = {},
57+
},
58+
}
59+
end,
60+
}
61+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
return {
2+
'lukas-reineke/indent-blankline.nvim',
3+
main = 'ibl',
4+
opts = {
5+
indent = {
6+
char = '',
7+
},
8+
scope = {
9+
show_start = false,
10+
show_end = false,
11+
show_exact_scope = false,
12+
},
13+
exclude = {
14+
filetypes = {
15+
'help',
16+
'startify',
17+
'dashboard',
18+
'packer',
19+
'neogitstatus',
20+
'NvimTree',
21+
'Trouble',
22+
},
23+
},
24+
},
25+
}

0 commit comments

Comments
 (0)