LINUX.ORG.RU

helm-projectile-find-file-dwim фильтрация

 ,


0

1

игнорирует фильтр. Как бы вообще заставить helm-projectile-find-file-dwim использовать ag + фильтрацию от ag?

(use-package projectile
  :demand t
  :commands projectile-global-mode
  :config
  (projectile-global-mode)
  projectile-project-root-files
    (setq projectile-completion-system 'ivy)
    (setq helm-projectile-fuzzy-match nil) ; strong search
    ;; (setq projectile-indexing-method 'hybrid)
    (setq projectile-enable-caching nil)
    (setq projectile-require-project-root t)

    (setq projectile-globally-ignored-directories
          (append '("*auto-save-list/"
                    "*migrations/"
                    "*static/"
                    ".env"
                    ".git"
                    ".hg"
                    ".svn"
                    "out"
                    "packages/ycmd"
                    "repl"
                    "target"
                    "*__pycache__/")
                  projectile-globally-ignored-directories))
    (setq projectile-globally-ignored-files
          (append '(".gitignore"
                    ".hgignore"
                    ".hidden"
                    ".locals.el"
                    ".lvimrc"
                    ".tags"
                    ".workspace.sh"
                    "__init__.py"
                    "manage.py"
                    "wsgi.py"
                    ".projectile"
                    ".env"
                    ".gitlab-ci.yml"
                    ".DS_Store")
                  projectile-globally-ignored-files))

    (setq projectile-globally-ignored-file-suffixes
          (append '(".orig"
                    ".origin"
                    ".svg"
                    ".pyc")
                  projectile-globally-ignored-file-suffixes))
    ;; (setq helm-boring-buffer-regexp-list (list (rx "*magit-") (rx "*Messages*")))

  ;; Use C-c C-f to find a file anywhere in the current project.
  :bind
  ("C-c C-f" . projectile-find-file)
  :diminish projectile-mode)