diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 106a23d..6c819c7 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -122,7 +122,9 @@ vim.g.pcode_indentscope = true vim.g.pcode_minianimate = false vim.g.pcode_disable_cmpdoc = false +-- https://github.com/rachartier/tiny-devicons-auto-colors.nvim vim.g.pcode_adaptive_color_icon = true +-- https://github.com/lukas-reineke/virt-column.nvim vim.g.pcode_columnline = true ---@alias telescope_themes @@ -130,5 +132,5 @@ vim.g.pcode_columnline = true ---| "dropdown" # see `telescope.themes.get_dropdown()` ---| "ivy" # see `telescope.themes.get_ivy()` ---| "center" # retain the default telescope theme -vim.g.pcode_telscope_theme_find_file = "center" -vim.g.pcode_telscope_theme_live_grep = "dropdown" +vim.g.pcode_telescope_theme_find_file = "center" +vim.g.pcode_telescope_theme_live_grep = "dropdown" diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 78d1116..54bf9e3 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -10,15 +10,15 @@ return { local live_grep = { only_sort_text = true, } - if vim.g.pcode_telscope_theme_find_file and vim.g.pcode_telscope_theme_find_file ~= "center" then + if vim.g.pcode_telescope_theme_find_file and vim.g.pcode_telescope_theme_find_file ~= "center" then find_files = { - theme = vim.g.pcode_telscope_theme_find_file, + theme = vim.g.pcode_telescope_theme_find_file, hidden = true, } end - if vim.g.pcode_telscope_theme_live_grep and vim.g.pcode_telscope_theme_live_grep ~= "center" then + if vim.g.pcode_telescope_theme_live_grep and vim.g.pcode_telescope_theme_live_grep ~= "center" then live_grep = { - theme = vim.g.pcode_telscope_theme_live_grep, + theme = vim.g.pcode_telescope_theme_live_grep, only_sort_text = true, } end