Fork me on GitHub
#emacs
<
2019-01-09
>
Macroz06:01:17

I recently upgraded to a new emacs + cider and am looking at my extensions with a critical eye. What is the best completion setup these days? company-mode?

vemv07:01:41

I'd say so yeah, haven't perceived changes in that area in the last few years

bozhidar08:01:18

Yeah, it’s company-mode.

enn21:01:07

Is there a way to tell projectile to consider an entire git repo one project, no matter how many profile.cljs are present? I tried messing with projectile-project-root-files-functions but I don't really know how it works.

chopmo23:01:28

@enn This question rings a bell, but I'm not 100% sure how I fixed it way back... I think this snippet might be it:

(projectile-project-root-files
   (quote
    ("rebar.config" "project.clj" "build.boot" "SConstruct" "pom.xml" "build.sbt" "gradlew" "build.gradle" ".ensime" "Gemfile" "requirements.txt" "setup.py" "tox.ini" "composer.json" "Cargo.toml" "mix.exs" "stack.yaml" "info.rkt" "DESCRIPTION" "TAGS" "GTAGS")))

chopmo23:01:58

So, whitelisting the files that mark the root of a project (and leaving eg. profile.clj out)

enn23:01:54

Ideally I’d be able to do it for one specific project without changing the default behavior