We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac63f9a commit 2f8adaeCopy full SHA for 2f8adae
plugin/rails.vim
@@ -41,6 +41,12 @@ function! RailsDetect(...) abort
41
let path = getcwd() . (exists('+shellslash') && !&shellslash ? '\' : '/') . path
42
endif
43
let path = substitute(path, '[' . s:slash . '/]$', '', '')
44
+ try
45
+ if exists('*ExcludeBufferFromDiscovery') && ExcludeBufferFromDiscovery(file, 'projectionist')
46
+ return
47
+ endif
48
+ catch
49
+ endtry
50
51
if exists('*ProjectionistHas')
52
let previous = ''
0 commit comments