Skip to content

Commit

Permalink
Shell/Vim: add reference URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
kg8m committed Sep 1, 2024
1 parent 2195d4b commit b8a77d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .config/vim/autoload/kg8m/util/daemons.vim
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ def IsRubocopDaemonAvailable(): bool
enddef

def UpdateRoutingDependencies(): void
# https://github.com/drwl/annotaterb
if executable("annotaterb")
JobStart(["annotaterb", "routes"])
# https://github.com/ctran/annotate_models
elseif executable("annotate")
JobStart(["rails", "annotate_routes"])
endif

# https://github.com/pocke/rbs_rails
if isdirectory("sig/rbs_rails")
JobStart(["rails", "rbs_rails:generate_rbs_for_path_helpers"])
endif
Expand Down

0 comments on commit b8a77d1

Please sign in to comment.