feat(nvim): telescope UI + lint fixes
This commit is contained in:
parent
c0df020743
commit
8d79b104a5
4 changed files with 29 additions and 7 deletions
|
@ -1,4 +1,5 @@
|
|||
return {
|
||||
{ "akinsho/bufferline.nvim", enabled = false },
|
||||
-- add more plugins to disable here
|
||||
{ "lukas-reineke/indent-blankline.nvim", enabled = false },
|
||||
{ "echasnovski/mini.indentscope", enabled = false },
|
||||
}
|
||||
|
|
|
@ -87,7 +87,29 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
|
||||
{ "lukas-reineke/indent-blankline.nvim", enabled = false },
|
||||
{ "echasnovski/mini.indentscope", enabled = false },
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
opts = {
|
||||
defaults = {
|
||||
layout_strategy = "center",
|
||||
layout_config = {
|
||||
prompt_position = "top",
|
||||
preview_cutoff = 1, -- Preview should always show (unless previewer = false)
|
||||
width = function(_, max_columns, _)
|
||||
return math.min(max_columns, 80)
|
||||
end,
|
||||
height = function(_, _, max_lines)
|
||||
return math.min(max_lines, 15)
|
||||
end,
|
||||
},
|
||||
sorting_strategy = "ascending",
|
||||
border = true,
|
||||
borderchars = {
|
||||
prompt = { "─", "│", " ", "│", "╭", "╮", "│", "│" },
|
||||
results = { "─", "│", "─", "│", "├", "┤", "╯", "╰" },
|
||||
preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# cli programs should be available on servers and desktop
|
||||
{ lib, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
|
@ -13,7 +13,6 @@
|
|||
mpd.musicDirectory = "/home/mrflos/Musique";
|
||||
mpd.user = "mrflos";
|
||||
mpd.group = "users";
|
||||
#mpd.dataDir
|
||||
mpd.startWhenNeeded = true;
|
||||
mpd.extraConfig = ''
|
||||
audio_output {
|
||||
|
|
Loading…
Reference in a new issue