We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43838b commit 7f5938dCopy full SHA for 7f5938d
1 file changed
autoload/rails.vim
@@ -4512,6 +4512,9 @@ function! s:BufSettings()
4512
call self.setvar('surround_69', "\1expr: \1\rend")
4513
call self.setvar('surround_101', "\r\nend")
4514
endif
4515
+ if exists(':UltiSnipsAddFiletypes') == 2
4516
+ UltiSnipsAddFiletypes rails
4517
+ endif
4518
elseif ft =~# 'yaml\>' || fnamemodify(self.name(),':e') ==# 'yml'
4519
call self.setvar('&define',self.define_pattern())
4520
elseif ft =~# '^eruby\>'
0 commit comments