mirror of
https://github.com/discourse/discourse.git
synced 2025-09-04 08:47:37 +08:00
correct sample to work with rails.vim
This commit is contained in:
parent
f04fbf911a
commit
9051ca7959
1 changed files with 2 additions and 3 deletions
|
@ -19,9 +19,8 @@ fi
|
|||
# 3. Add the following to your .vimrc
|
||||
#
|
||||
# function s:notify_file_change()
|
||||
# let git_root = fugitive#extract_git_dir(expand("%:p"))
|
||||
# let root = substitute(git_root, '.git', '', 'g')
|
||||
# let notify = root . "bin/notify_file_change"
|
||||
# let root = RailsRoot()
|
||||
# let notify = root . "/bin/notify_file_change"
|
||||
# if executable(notify)
|
||||
# if executable('socat')
|
||||
# execute "!" . notify . ' ' . expand("%:p") . " " . line(".")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue