summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/plugins/dropbar.lua
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-08-16 20:20:21 -0400
committertriethyl <triethylammonium@pm.me>2025-08-16 20:20:21 -0400
commit58ceb817bb6ba195d1189160878f318f3bcda0ef (patch)
tree6c17c013c92af8c6e410bb1d4fe3a2557841d0d3 /pkgs/custom-neovim/config/lua/plugins/dropbar.lua
parent94980b0be13a690128992d98a2ed5db3ab592642 (diff)
neovim: restarted config
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins/dropbar.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/plugins/dropbar.lua43
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/dropbar.lua b/pkgs/custom-neovim/config/lua/plugins/dropbar.lua
deleted file mode 100644
index 5d4bb43..0000000
--- a/pkgs/custom-neovim/config/lua/plugins/dropbar.lua
+++ /dev/null
@@ -1,43 +0,0 @@
-local dropbar = require('dropbar')
-local sources = require('dropbar.sources')
-local utils = require('dropbar.utils')
-
-Utils.link_highlight("DropBarFileName", "MiniFilesTitleFocused")
-
-local custom_path = {
- get_symbols = function(buff, win, cursor)
- local symbols = sources.path.get_symbols(buff, win, cursor)
- symbols[#symbols].name_hl = 'DropBarFileName'
- if vim.bo[buff].modified then
- symbols[#symbols].name = symbols[#symbols].name .. ' [+]'
- symbols[#symbols].name_hl = 'DropBarFileName'
- symbols[#symbols].truncate = false
- end
- return symbols
- end,
-}
-
-dropbar.setup({
- bar = {
- sources = function(buf, _)
- if vim.bo[buf].ft == 'markdown' then
- return {
- custom_path,
- sources.markdown,
- }
- end
- -- if vim.bo[buf].buftype == 'terminal' then
- -- return {
- -- sources.terminal,
- -- }
- -- end
- return {
- custom_path,
- utils.source.fallback {
- sources.lsp,
- sources.treesitter,
- },
- }
- end,
- },
-})