Setted up telescope to show hidden files except .git dir

This commit is contained in:
Nikita Avgustanov 2026-02-12 13:40:29 +04:00
parent 131fc5509e
commit b0ce4d6219
1 changed files with 20 additions and 12 deletions

View File

@ -417,7 +417,14 @@ require('lazy').setup({
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' }, -- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
-- }, -- },
-- }, -- },
-- pickers = {} pickers = {
find_files = {
hidden = true,
file_ignore_patterns = { '%.git/' },
no_ignore = true,
no_ignore_parent = true,
},
},
extensions = { extensions = {
['ui-select'] = { ['ui-select'] = {
require('telescope.themes').get_dropdown(), require('telescope.themes').get_dropdown(),
@ -679,6 +686,7 @@ require('lazy').setup({
-- clangd = {}, -- clangd = {},
gopls = {}, gopls = {},
tofu_ls = {}, tofu_ls = {},
marksman = {},
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@ -866,18 +874,18 @@ require('lazy').setup({
}, },
sources = { sources = {
default = { 'lsp', 'path', 'snippets', 'lazydev', 'minuet' }, default = { 'lsp', 'path', 'snippets', 'lazydev' },
providers = { providers = {
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 }, lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
minuet = { -- minuet = {
name = 'minuet', -- name = 'minuet',
module = 'minuet.blink', -- -- module = 'minuet.blink',
async = true, -- -- async = true,
-- Should match minuet.config.request_timeout * 1000, -- -- -- Should match minuet.config.request_timeout * 1000,
-- since minuet.config.request_timeout is in seconds -- -- -- since minuet.config.request_timeout is in seconds
timeout_ms = 3000, -- timeout_ms = 3000,
score_offset = 50, -- Gives minuet higher priority among suggestions -- score_offset = 50, -- Gives minuet higher priority among suggestions
}, -- },
}, },
}, },
@ -965,7 +973,7 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = { opts = {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'go' }, ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'go', 'yaml', 'json' },
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {