mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:54:41 +08:00
correct sample to work with rails.vim
This commit is contained in:
@ -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(".")
|
||||
|
Reference in New Issue
Block a user