0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NeovimのTelescopeプラグインで.gitignoreに指定したフィアルも検索したい

Posted at

はじめに

NeovimのTelescopeプラグインでファイル検索のデフォルト設定は .gitignore に記述されたファイルが検索対象になりません。.gitignoreに記述したファイルも検索対象に含める設定を紹介します。

設定方法

telescopeに no_ignore = true の設定を追加します。以下はlazy.nvimで設定をする例です。

require('telescope').setup {
  --省略
  
  pickers = {
    find_files = {
      no_ignore = true,
    },
  },
  
  --省略
}

動作を確認したバージョン

  • neovim 0.10.1
  • Telescope 0.1.8
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?