diff --git a/after/plugin/barbar.lua b/after/plugin/barbar.lua index cbdb120..019136f 100644 --- a/after/plugin/barbar.lua +++ b/after/plugin/barbar.lua @@ -1,180 +1,184 @@ -local map = vim.api.nvim_set_keymap -local opts = { noremap = true, silent = true } --- Move to previous/next -map('n', '', 'BufferPrevious', opts) -map('n', '', 'BufferNext', opts) --- Re-order to previous/next -map('n', '', 'BufferMovePrevious', opts) -map('n', '>', 'BufferMoveNext', opts) --- Goto buffer in position... -map('n', '', 'BufferGoto 1', opts) -map('n', '', 'BufferGoto 2', opts) -map('n', '', 'BufferGoto 3', opts) -map('n', '', 'BufferGoto 4', opts) -map('n', '', 'BufferGoto 5', opts) -map('n', '', 'BufferGoto 6', opts) -map('n', '', 'BufferGoto 7', opts) -map('n', '', 'BufferGoto 8', opts) -map('n', '', 'BufferGoto 9', opts) -map('n', '', 'BufferLast', opts) --- Pin/unpin buffer -map('n', '', 'BufferPin', opts) --- Close buffer -map('n', '', 'BufferClose', opts) --- Wipeout buffer --- :BufferWipeout --- Close commands --- :BufferCloseAllButCurrent --- :BufferCloseAllButPinned --- :BufferCloseAllButCurrentOrPinned --- :BufferCloseBuffersLeft --- :BufferCloseBuffersRight --- Magic buffer-picking mode -map('n', '', 'BufferPick', opts) --- Sort automatically by... -map('n', 'bb', 'BufferOrderByBufferNumber', opts) -map('n', 'bn', 'BufferOrderByName', opts) -map('n', 'bd', 'BufferOrderByDirectory', opts) -map('n', 'bl', 'BufferOrderByLanguage', opts) -map('n', 'bw', 'BufferOrderByWindowNumber', opts) +local enable = false +if (enable) then --- Other: --- :BarbarEnable - enables barbar (enabled by default) --- :BarbarDisable - very bad command, should never be used + local map = vim.api.nvim_set_keymap + local opts = { noremap = true, silent = true } + -- Move to previous/next + map('n', '', 'BufferPrevious', opts) + map('n', '', 'BufferNext', opts) + -- Re-order to previous/next + map('n', '', 'BufferMovePrevious', opts) + map('n', '>', 'BufferMoveNext', opts) + -- Goto buffer in position... + map('n', '', 'BufferGoto 1', opts) + map('n', '', 'BufferGoto 2', opts) + map('n', '', 'BufferGoto 3', opts) + map('n', '', 'BufferGoto 4', opts) + map('n', '', 'BufferGoto 5', opts) + map('n', '', 'BufferGoto 6', opts) + map('n', '', 'BufferGoto 7', opts) + map('n', '', 'BufferGoto 8', opts) + map('n', '', 'BufferGoto 9', opts) + map('n', '', 'BufferLast', opts) + -- Pin/unpin buffer + map('n', '', 'BufferPin', opts) + -- Close buffer + map('n', '', 'BufferClose', opts) + -- Wipeout buffer + -- :BufferWipeout + -- Close commands + -- :BufferCloseAllButCurrent + -- :BufferCloseAllButPinned + -- :BufferCloseAllButCurrentOrPinned + -- :BufferCloseBuffersLeft + -- :BufferCloseBuffersRight + -- Magic buffer-picking mode + map('n', '', 'BufferPick', opts) + -- Sort automatically by... + map('n', 'bb', 'BufferOrderByBufferNumber', opts) + map('n', 'bn', 'BufferOrderByName', opts) + map('n', 'bd', 'BufferOrderByDirectory', opts) + map('n', 'bl', 'BufferOrderByLanguage', opts) + map('n', 'bw', 'BufferOrderByWindowNumber', opts) -require'barbar'.setup { - -- WARN: do not copy everything below into your config! - -- It is just an example of what configuration options there are. - -- The defaults are suitable for most people. + -- Other: + -- :BarbarEnable - enables barbar (enabled by default) + -- :BarbarDisable - very bad command, should never be used - -- Enable/disable animations - animation = true, + require'barbar'.setup { + -- WARN: do not copy everything below into your config! + -- It is just an example of what configuration options there are. + -- The defaults are suitable for most people. - -- Automatically hide the tabline when there are this many buffers left. - -- Set to any value >=0 to enable. - auto_hide = false, + -- Enable/disable animations + animation = true, - -- Enable/disable current/total tabpages indicator (top right corner) - tabpages = true, + -- Automatically hide the tabline when there are this many buffers left. + -- Set to any value >=0 to enable. + auto_hide = false, - -- Enables/disable clickable tabs - -- - left-click: go to buffer - -- - middle-click: delete buffer - clickable = true, + -- Enable/disable current/total tabpages indicator (top right corner) + tabpages = true, - -- Excludes buffers from the tabline - exclude_ft = {'javascript'}, - exclude_name = {'package.json'}, + -- Enables/disable clickable tabs + -- - left-click: go to buffer + -- - middle-click: delete buffer + clickable = true, - -- A buffer to this direction will be focused (if it exists) when closing the current buffer. - -- Valid options are 'left' (the default), 'previous', and 'right' - focus_on_close = 'left', + -- Excludes buffers from the tabline + exclude_ft = {'javascript'}, + exclude_name = {'package.json'}, - -- Hide inactive buffers and file extensions. Other options are `alternate`, `current`, and `visible`. - --hide = {extensions = true, inactive = true}, + -- A buffer to this direction will be focused (if it exists) when closing the current buffer. + -- Valid options are 'left' (the default), 'previous', and 'right' + focus_on_close = 'left', - -- Disable highlighting alternate buffers - highlight_alternate = false, + -- Hide inactive buffers and file extensions. Other options are `alternate`, `current`, and `visible`. + --hide = {extensions = true, inactive = true}, - -- Disable highlighting file icons in inactive buffers - highlight_inactive_file_icons = false, + -- Disable highlighting alternate buffers + highlight_alternate = false, - -- Enable highlighting visible buffers - highlight_visible = true, + -- Disable highlighting file icons in inactive buffers + highlight_inactive_file_icons = false, - icons = { - -- Configure the base icons on the bufferline. - -- Valid options to display the buffer index and -number are `true`, 'superscript' and 'subscript' - buffer_index = true, - buffer_number = false, - button = '', - -- Enables / disables diagnostic symbols - diagnostics = { - [vim.diagnostic.severity.ERROR] = {enabled = true, icon = 'ff'}, - [vim.diagnostic.severity.WARN] = {enabled = false}, - [vim.diagnostic.severity.INFO] = {enabled = false}, - [vim.diagnostic.severity.HINT] = {enabled = true}, - }, - gitsigns = { - added = {enabled = true, icon = '+'}, - changed = {enabled = true, icon = '~'}, - deleted = {enabled = true, icon = '-'}, - }, - filetype = { - -- Sets the icon's highlight group. - -- If false, will use nvim-web-devicons colors - custom_colors = false, + -- Enable highlighting visible buffers + highlight_visible = true, - -- Requires `nvim-web-devicons` if `true` - enabled = true, - }, - separator = {left = '▎', right = ''}, + icons = { + -- Configure the base icons on the bufferline. + -- Valid options to display the buffer index and -number are `true`, 'superscript' and 'subscript' + buffer_index = true, + buffer_number = false, + button = '', + -- Enables / disables diagnostic symbols + diagnostics = { + [vim.diagnostic.severity.ERROR] = {enabled = true, icon = 'ff'}, + [vim.diagnostic.severity.WARN] = {enabled = false}, + [vim.diagnostic.severity.INFO] = {enabled = false}, + [vim.diagnostic.severity.HINT] = {enabled = true}, + }, + gitsigns = { + added = {enabled = true, icon = '+'}, + changed = {enabled = true, icon = '~'}, + deleted = {enabled = true, icon = '-'}, + }, + filetype = { + -- Sets the icon's highlight group. + -- If false, will use nvim-web-devicons colors + custom_colors = false, - -- If true, add an additional separator at the end of the buffer list - separator_at_end = true, + -- Requires `nvim-web-devicons` if `true` + enabled = true, + }, + separator = {left = '▎', right = ''}, - -- Configure the icons on the bufferline when modified or pinned. - -- Supports all the base icon options. - modified = {button = '●'}, - pinned = {button = '', filename = true}, + -- If true, add an additional separator at the end of the buffer list + separator_at_end = true, - -- Use a preconfigured buffer appearance— can be 'default', 'powerline', or 'slanted' - preset = 'default', + -- Configure the icons on the bufferline when modified or pinned. + -- Supports all the base icon options. + modified = {button = '●'}, + pinned = {button = '', filename = true}, - -- Configure the icons on the bufferline based on the visibility of a buffer. - -- Supports all the base icon options, plus `modified` and `pinned`. - alternate = {filetype = {enabled = false}}, - current = {buffer_index = true}, - inactive = {button = '×'}, - visible = {modified = {buffer_number = false}}, - }, + -- Use a preconfigured buffer appearance— can be 'default', 'powerline', or 'slanted' + preset = 'default', - -- If true, new buffers will be inserted at the start/end of the list. - -- Default is to insert after current buffer. - insert_at_end = false, - insert_at_start = false, + -- Configure the icons on the bufferline based on the visibility of a buffer. + -- Supports all the base icon options, plus `modified` and `pinned`. + alternate = {filetype = {enabled = false}}, + current = {buffer_index = true}, + inactive = {button = '×'}, + visible = {modified = {buffer_number = false}}, + }, - -- Sets the maximum padding width with which to surround each tab - maximum_padding = 1, + -- If true, new buffers will be inserted at the start/end of the list. + -- Default is to insert after current buffer. + insert_at_end = false, + insert_at_start = false, - -- Sets the minimum padding width with which to surround each tab - minimum_padding = 1, + -- Sets the maximum padding width with which to surround each tab + maximum_padding = 1, - -- Sets the maximum buffer name length. - maximum_length = 30, + -- Sets the minimum padding width with which to surround each tab + minimum_padding = 1, - -- Sets the minimum buffer name length. - minimum_length = 0, + -- Sets the maximum buffer name length. + maximum_length = 30, - -- If set, the letters for each buffer in buffer-pick mode will be - -- assigned based on their name. Otherwise or in case all letters are - -- already assigned, the behavior is to assign letters in order of - -- usability (see order below) - semantic_letters = true, + -- Sets the minimum buffer name length. + minimum_length = 0, - -- Set the filetypes which barbar will offset itself for - sidebar_filetypes = { - -- Use the default values: {event = 'BufWinLeave', text = '', align = 'left'} - NvimTree = true, - -- Or, specify the text used for the offset: - undotree = { - text = 'undotree', - align = 'center', -- *optionally* specify an alignment (either 'left', 'center', or 'right') - }, - -- Or, specify the event which the sidebar executes when leaving: - ['neo-tree'] = {event = 'BufWipeout'}, - -- Or, specify all three - Outline = {event = 'BufWinLeave', text = 'symbols-outline', align = 'right'}, - }, + -- If set, the letters for each buffer in buffer-pick mode will be + -- assigned based on their name. Otherwise or in case all letters are + -- already assigned, the behavior is to assign letters in order of + -- usability (see order below) + semantic_letters = true, - -- New buffer letters are assigned in this order. This order is - -- optimal for the qwerty keyboard layout but might need adjustment - -- for other layouts. - letters = 'asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP', + -- Set the filetypes which barbar will offset itself for + sidebar_filetypes = { + -- Use the default values: {event = 'BufWinLeave', text = '', align = 'left'} + NvimTree = true, + -- Or, specify the text used for the offset: + undotree = { + text = 'undotree', + align = 'center', -- *optionally* specify an alignment (either 'left', 'center', or 'right') + }, + -- Or, specify the event which the sidebar executes when leaving: + ['neo-tree'] = {event = 'BufWipeout'}, + -- Or, specify all three + Outline = {event = 'BufWinLeave', text = 'symbols-outline', align = 'right'}, + }, - -- Sets the name of unnamed buffers. By default format is "[Buffer X]" - -- where X is the buffer number. But only a static string is accepted here. - no_name_title = nil, -} + -- New buffer letters are assigned in this order. This order is + -- optimal for the qwerty keyboard layout but might need adjustment + -- for other layouts. + letters = 'asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERUTYQP', + + -- Sets the name of unnamed buffers. By default format is "[Buffer X]" + -- where X is the buffer number. But only a static string is accepted here. + no_name_title = nil, + } +end diff --git a/after/plugin/lualine.lua b/after/plugin/lualine.lua index 7271747..4042659 100644 --- a/after/plugin/lualine.lua +++ b/after/plugin/lualine.lua @@ -1,32 +1,113 @@ +local map = vim.api.nvim_set_keymap +local opts = { noremap = true, silent = true } + +-- Move to previous/next +map('n', '', 'bnext', opts) +map('n', '', 'bprevious', opts) +-- Re-order to previous/next +--map('n', '', 'BufferMovePrevious', opts) +--map('n', '>', 'BufferMoveNext', opts) +-- Goto buffer in position... +map('n', '', 'LualineBuffersJump! 1', opts) +map('n', '', 'LualineBuffersJump! 2', opts) +map('n', '', 'LualineBuffersJump! 3', opts) +map('n', '', 'LualineBuffersJump! 4', opts) +map('n', '', 'LualineBuffersJump! 5', opts) +map('n', '', 'LualineBuffersJump! 6', opts) +map('n', '', 'LualineBuffersJump! 7', opts) +map('n', '', 'LualineBuffersJump! 8', opts) +map('n', '', 'LualineBuffersJump! 9', opts) +map('n', '', 'BufferLast', opts) +-- Pin/unpin buffer +--map('n', '', 'BufferPin', opts) +-- Close buffer +map('n', '', 'bdelete', opts) + local colors = { white = "#cccccc", grey = "#303030", black = "#080808" } - local custom = require'lualine.themes.palenight' custom.normal.c.fg = colors.white custom.normal.c.gui = "" require('lualine').setup { - options = { - icons_enabled = false, - theme = custom, - component_separators = { left = ' ', right = '|'}, - section_separators = { left = ' ', right = ' '}, - disabled_filetypes = { - statusline = {}, - winbar = {}, + options = { + icons_enabled = false, + theme = custom, + component_separators = { left = ' ', right = '|'}, + section_separators = { left = ' ', right = ' '}, + disabled_filetypes = { + statusline = {}, + winbar = {}, + }, + ignore_focus = {}, + always_divide_middle = true, + globalstatus = false, + refresh = { + statusline = 1000, + tabline = 1000, + winbar = 1000, + }, }, - ignore_focus = {}, - always_divide_middle = true, - globalstatus = false, - refresh = { - statusline = 1000, - tabline = 1000, - winbar = 1000, + tabline = { + lualine_a = + { + { + 'buffers', + show_filename_only = true, -- Shows shortened relative path when set to false. + hide_filename_extension = false, -- Hide filename extension when set to true. + show_modified_status = true, -- Shows indicator when the buffer is modified. + + mode = 2, -- 0: Shows buffer name + -- 1: Shows buffer index + -- 2: Shows buffer name + buffer index + -- 3: Shows buffer number + -- 4: Shows buffer name + buffer number + + max_length = vim.o.columns, + + filetype_names = { + netrw = 'netrw', + TelescopePrompt = 'Telescope', + dashboard = 'Dashboard', + packer = 'Packer', + fzf = 'FZF', + alpha = 'Alpha' + }, -- Shows specific buffer name for that filetype ( { `filetype` = `buffer_name`, ... } ) + + -- Automatically updates active buffer color to match color of other components (will be overidden if buffers_color is set) + use_mode_colors = true, + + buffers_color = { + active = { + --fg = '#ffffff', + --bg = '#0000ff', + gui = 'bold' + }, + inactive = { + fg = colors.white, + bg = colors.grey, + gui = 'bold' + }, + }, + + symbols = { + modified = ' ●', -- Text to show when the buffer is modified + alternate_file = '#', -- Text to show to identify the alternate file + directory = '', -- Text to show when the buffer is a directory + }, + } + }, + lualine_b = {}, + lualine_c = {}, + lualine_x = {}, + lualine_y = {}, + lualine_z = {'tabs'} } - }, } + + diff --git a/lazy-lock.json b/lazy-lock.json index 313624d..0854099 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,34 +1,35 @@ { - "LuaSnip": { "branch": "master", "commit": "b152822e1a4bafb6bdf11a16cc26525cbd95ee00" }, - "barbar.nvim": { "branch": "master", "commit": "79f7d16578a167bdf5355725551ef7d90613a601" }, + "LuaSnip": { "branch": "master", "commit": "7ad2eaeaca56d6ed63acacbfc114b99f1f67b982" }, + "barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" }, "cmp-look": { "branch": "master", "commit": "971e65a6be0e75c3438fe7b176d4fc020cb89d7b" }, - "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" }, - "conform.nvim": { "branch": "master", "commit": "6dc1603ea408f476a57937bbeaf7f86520a21a98" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, + "conform.nvim": { "branch": "master", "commit": "62eba813b7501b39612146cbf29cd07f1d4ac29c" }, "cutlass.nvim": { "branch": "main", "commit": "1ac7e4b53d79410be52a9e464d44c60556282b3e" }, "flatten.nvim": { "branch": "main", "commit": "e420e531d2ab24aebcf7b3c9fca28e6c5c34964d" }, - "fzf-lua": { "branch": "main", "commit": "9c953dfa7650191d892800333d187f3439e01afd" }, - "gitsigns.nvim": { "branch": "main", "commit": "bcae8395fb1033ed0340dd00d61b3bf050b1bd8e" }, + "fzf-lua": { "branch": "main", "commit": "1ac27d5734ccd057ef2b46a8644022913f37b89e" }, + "gitsigns.nvim": { "branch": "main", "commit": "562dc47189ad3c8696dbf460d38603a74d544849" }, "harpoon": { "branch": "master", "commit": "ccae1b9bec717ae284906b0bf83d720e59d12b91" }, "instant.nvim": { "branch": "master", "commit": "294b6d08143b3db8f9db7f606829270149e1a786" }, - "lazy.nvim": { "branch": "main", "commit": "d3974346b6cef2116c8e7b08423256a834cb7cbc" }, - "lsp-zero.nvim": { "branch": "v3.x", "commit": "d1114ca5ff28ffcd0bc2a3fdd4c13019b1c41812" }, - "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, + "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, + "lsp-zero.nvim": { "branch": "v3.x", "commit": "56db3d5ce5476b183783160e6045f7337ba12b83" }, + "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, "markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "05744f0f1967b5757bd05c08df4271ab8ec990aa" }, - "mason.nvim": { "branch": "main", "commit": "751b1fcbf3d3b783fcf8d48865264a9bcd8f9b10" }, - "neovim": { "branch": "main", "commit": "17b466e79479758b332a3cac12544a3ad2be6241" }, - "nvim-autopairs": { "branch": "master", "commit": "14e97371b2aab6ee70054c1070a123dfaa3e217e" }, - "nvim-cmp": { "branch": "main", "commit": "cd2cf0c124d3de577fb5449746568ee8e601afc8" }, - "nvim-lspconfig": { "branch": "master", "commit": "a3d9395455f2b2e3b50a0b0f37b8b4c23683f44a" }, - "nvim-possession": { "branch": "main", "commit": "253e52fe26f2816acae68e7e0ced9d89adf3f85a" }, - "nvim-treesitter": { "branch": "master", "commit": "1be5aa99e3e0e4a36c31fa7066dcf46a4e0142dd" }, - "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, - "plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" }, - "telescope-file-browser.nvim": { "branch": "master", "commit": "4d5fd21bae12ee6e9a79232e1c377f43c419d0c5" }, - "telescope.nvim": { "branch": "master", "commit": "fac83a556e7b710dc31433dec727361ca062dbe9" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "482350b050bd413931c2cdd4857443c3da7d57cb" }, + "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, + "neovim": { "branch": "main", "commit": "256d086c218a282ae5de79d2c091b1e592a65367" }, + "nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, + "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, + "nvim-lspconfig": { "branch": "master", "commit": "911167921d49cd5c1c9b2436031d0da3945e787f" }, + "nvim-possession": { "branch": "main", "commit": "0844f6d21b358f748b4d753c91ec767517aca447" }, + "nvim-treesitter": { "branch": "master", "commit": "bef7ec6f7a01ba0717da73082e33c224bdc2ddcc" }, + "nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" }, + "pkl-neovim": { "branch": "main", "commit": "a0ae099c7eb926150ee0a126b1dd78086edbe3fc" }, + "plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" }, + "telescope-file-browser.nvim": { "branch": "master", "commit": "a46780830b576049c675680650f773bedfa8677a" }, + "telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" }, "undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" }, - "vim-fugitive": { "branch": "master", "commit": "ce882460cf3db12e99f8bf579cbf99e331f6dd4f" }, + "vim-fugitive": { "branch": "master", "commit": "0444df68cd1cdabc7453d6bd84099458327e5513" }, "vim-vinegar": { "branch": "master", "commit": "bb1bcddf43cfebe05eb565a84ab069b357d0b3d6" }, "wilder.nvim": { "branch": "master", "commit": "679f348dc90d80ff9ba0e7c470c40a4d038dcecf" }, - "wrapping.nvim": { "branch": "master", "commit": "d1ac69c0db82ff0c7540088a0f91d74ad7378c3d" } + "wrapping.nvim": { "branch": "master", "commit": "3a823200c297885b70515fa8d974e1763c578e26" } } \ No newline at end of file diff --git a/lua/juliuswaldmann/lazynvim.lua b/lua/juliuswaldmann/lazynvim.lua index 7a31593..c3a60c6 100644 --- a/lua/juliuswaldmann/lazynvim.lua +++ b/lua/juliuswaldmann/lazynvim.lua @@ -43,6 +43,7 @@ return lazy.setup({ }) end }, + "apple/pkl-neovim", -- Other useful plugins 'theprimeagen/harpoon', @@ -81,7 +82,7 @@ return lazy.setup({ { 'stevearc/conform.nvim', opts = {}, - }, + }, { "jbyuki/instant.nvim", config = function() @@ -149,33 +150,33 @@ return lazy.setup({ lazy = false, priority = 1001, }, - {'romgrk/barbar.nvim', - dependencies = { - 'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status - 'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons - }, - init = function() vim.g.barbar_auto_setup = false end, - opts = { - -- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default: - -- animation = true, - -- insert_at_start = true, - -- …etc. - }, - version = '^1.0.0', -- optional: only update when a new 1.x version is released - }, - { - dir = "~/Documents/code/here.nvim", - name = "here", - config = function () - require("here") - end - }, - { - "iamcco/markdown-preview.nvim", - cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, - ft = { "markdown" }, - build = function() vim.fn["mkdp#util#install"]() end, - } + --{'romgrk/barbar.nvim', + -- dependencies = { + -- 'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status + -- 'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons + -- }, + -- init = function() vim.g.barbar_auto_setup = false end, + -- opts = { + -- -- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default: + -- -- animation = true, + -- -- insert_at_start = true, + -- -- …etc. + -- }, + -- version = '^1.0.0', -- optional: only update when a new 1.x version is released + --}, + { + dir = "~/Documents/code/here.nvim", + name = "here", + config = function () + require("here") + end + }, + { + "iamcco/markdown-preview.nvim", + cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, + ft = { "markdown" }, + build = function() vim.fn["mkdp#util#install"]() end, + } -- Uncomment these lines if you want to use the plugins -- use 'nvim-tree/nvim-tree.lua'