mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
correct sample to work with rails.vim
This commit is contained in:
parent
f04fbf911a
commit
9051ca7959
@ -19,9 +19,8 @@ fi
|
|||||||
# 3. Add the following to your .vimrc
|
# 3. Add the following to your .vimrc
|
||||||
#
|
#
|
||||||
# function s:notify_file_change()
|
# function s:notify_file_change()
|
||||||
# let git_root = fugitive#extract_git_dir(expand("%:p"))
|
# let root = RailsRoot()
|
||||||
# let root = substitute(git_root, '.git', '', 'g')
|
# let notify = root . "/bin/notify_file_change"
|
||||||
# let notify = root . "bin/notify_file_change"
|
|
||||||
# if executable(notify)
|
# if executable(notify)
|
||||||
# if executable('socat')
|
# if executable('socat')
|
||||||
# execute "!" . notify . ' ' . expand("%:p") . " " . line(".")
|
# execute "!" . notify . ' ' . expand("%:p") . " " . line(".")
|
||||||
|
Loading…
Reference in New Issue
Block a user