summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/plugins/incline.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/incline.lua
parent94980b0be13a690128992d98a2ed5db3ab592642 (diff)
neovim: restarted config
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins/incline.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/plugins/incline.lua25
1 files changed, 0 insertions, 25 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/incline.lua b/pkgs/custom-neovim/config/lua/plugins/incline.lua
deleted file mode 100644
index 92ced03..0000000
--- a/pkgs/custom-neovim/config/lua/plugins/incline.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-local icons = require 'mini.icons'
-require('incline').setup {
- hide = {
- only_win = true,
- },
- window = {
- padding = 0,
- margin = { horizontal = 0 },
- },
- render = function(props)
- local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ':t')
- if filename == '' then
- filename = '[No Name]'
- end
- local ft_icon, ft_hl = icons.get("file", filename)
- local modified = vim.bo[props.buf].modified
- return {
- ft_icon and { ' ', ft_icon, ' ', gui = ft_hl } or '',
- ' ',
- { filename, gui = 'bold' },
- ' ',
- modified and '[+] ' or '',
- }
- end,
-}