Fix outdated plugin configs: lualine, noice, telescope
- lualine: change default theme from 'nord' to 'auto' to match kanagawa - noice: remove cmp.entry.get_documentation override (for nvim-cmp, not blink.cmp) - telescope: move live_grep and git_files into pickers where they belong, move path_display into defaults so it actually takes effect - Remove empty after/lsp directory (svelte.lua was the only file) https://claude.ai/code/session_01CZ49E2kHN3z3B8BaymxJJC
This commit is contained in:
parent
070b3710b7
commit
0bfd8f0f5b
3 changed files with 15 additions and 16 deletions
|
|
@ -37,12 +37,12 @@ return {
|
|||
}
|
||||
|
||||
-- Import color theme based on environment variable NVIM_THEME
|
||||
local env_var_nvim_theme = os.getenv 'NVIM_THEME' or 'nord'
|
||||
local env_var_nvim_theme = os.getenv 'NVIM_THEME' or 'auto'
|
||||
|
||||
-- Define a table of themes
|
||||
local themes = {
|
||||
onedark = onedark_theme,
|
||||
nord = 'nord',
|
||||
auto = 'auto',
|
||||
}
|
||||
|
||||
local hide_in_width = function()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ return {
|
|||
override = {
|
||||
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
|
||||
['vim.lsp.util.stylize_markdown'] = true,
|
||||
['cmp.entry.get_documentation'] = true, -- requires hrsh7th/nvim-cmp
|
||||
},
|
||||
},
|
||||
-- you can enable a preset for easier configuration
|
||||
|
|
|
|||
|
|
@ -33,6 +33,11 @@ return {
|
|||
height = { padding = 0 },
|
||||
},
|
||||
},
|
||||
path_display = {
|
||||
filename_first = {
|
||||
reverse_directories = true,
|
||||
},
|
||||
},
|
||||
mappings = {
|
||||
i = {
|
||||
['<C-k>'] = actions.move_selection_previous, -- move to prev result
|
||||
|
|
@ -66,16 +71,14 @@ return {
|
|||
oldfiles = {
|
||||
initial_mode = 'normal',
|
||||
},
|
||||
},
|
||||
live_grep = {
|
||||
file_ignore_patterns = { 'node_modules', '.git', '.venv' },
|
||||
additional_args = function(_)
|
||||
return { '--hidden' }
|
||||
end,
|
||||
},
|
||||
path_display = {
|
||||
filename_first = {
|
||||
reverse_directories = true,
|
||||
live_grep = {
|
||||
file_ignore_patterns = { 'node_modules', '.git', '.venv' },
|
||||
additional_args = function(_)
|
||||
return { '--hidden' }
|
||||
end,
|
||||
},
|
||||
git_files = {
|
||||
previewer = false,
|
||||
},
|
||||
},
|
||||
extensions = {
|
||||
|
|
@ -83,9 +86,6 @@ return {
|
|||
require('telescope.themes').get_dropdown(),
|
||||
},
|
||||
},
|
||||
git_files = {
|
||||
previewer = false,
|
||||
},
|
||||
}
|
||||
|
||||
-- Enable telescope fzf native, if installed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue