Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Holger Rapp
@manishrjain UltiSnips uses the filetype setting to filter snippets. If you open a .dat file, does :set filetype return dat?
If that is the case, than it is likely that UltiSnips ftdetect script is not sourced. The most likely source for that is a wrongly installed plugin manager
see SirVer/ultisnips#243 or https://github.com/SirVer/ultisnips/issues/264#issuecomment-40446248. There are other bugs with the same issue.
Severen Redwood
This message was deleted
Christopher Valerio
I cannot make UltiSnips work. I use YCM
buy I do everything I have found on google stackoverflow
I wonder if there is a way to debug this
I don't really know vim script
Christopher Valerio
I also use vim-snippets
but I don't know how it works
Holger Rapp
@freexploit you provide very little information about your actual problem. Why do you not open a bug report, attach your vimrc and details about the problems you see? Also try to make the repro case minimal, to make sure that it has nothing to do with other plugins.
Kareem Hepburn
I keep getting a warning that this plugin requires python 2.7 or 3 but I am already using pyhton 2.7.3
Holger Rapp
@magicalbanana That seems unlikely. Please verify inside vim: :py import sys; print(sys.version)
Holger Rapp
@magicalbanana My theory is that your Vim is using some sort of system python, not the one you are using on your console.
Kareem Hepburn
@SirVer It's telling me that command is not available in this version.
Holger Rapp
@magicalbanana That explains that: You do not have a Python enabled Vim. UltiSnips cannot work there and that is why it is complaining. Which OS are you on? If on Linux, try installing something like vim-huge or vim-gnome to fix that.
Kareem Hepburn
It's both on my OSX and Debian.
Holger Rapp
on debian install vim-gnome to fix
on mac, use homebrew to build a python and a vim
something like
brew install python
brew install macvim
Kareem Hepburn
Actually on OSX it's ok, I tried the debian fix but still no dice.
Yeah, I just ran :echo has('python') and returned 0
Mirzalazuardi Hermawan
Is ultisnips provide emberjs in coffeescript?
Holger Rapp
@mirzalazuardi I do not understand your question. All our snippets are in https://github.com/honza/vim-snippets/.
PSA: I am retiring as a maintainer. @seletskiy takes over. Please see for details SirVer/ultisnips#617.
Mirzalazuardi Hermawan
my question is there emberjs or other popular plugins like reactjs snippet provide by ultisnips
thanks for replying my question
Chris Paul
Hey, there seems to be an incompatibility with snipmate in some instances.please see this issue:
Severen Redwood
@SirVer I assume this is the reason for the stall in development on Swiboe?
Holger Rapp
@SShrike yes.
Camron Cade
does anyone know how I can make a snippet that replaces and spaces with underscores as I type?
maybe a live preg-replace?
Derek Robati
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:59)
Included patches: 1-52
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by buildd@
Huge version with GTK2 GUI. Features included (+) or not (-):
+acl +cscope +folding +menu
+netbeans_intg -sniff +virtualedit
+arabic +cursorbind -footer +mksession +path_extra
+startuptime +visual
+autocmd +cursorshape +fork() +modify_fname +perl
+statusline +visualextra
+balloon_eval +dialog_con_gui +gettext +mouse
+persistent_undo -sun_workshop +viminfo
+browse +diff -hangul_input +mouseshape +postscript
+syntax +vreplace
++builtin_terms +digraphs +iconv +mouse_dec +printer
+tag_binary +wildignore
+byte_offset +dnd +insert_expand +mouse_gpm +profile
+tag_old_static +wildmenu
+cindent -ebcdic +jumplist -mouse_jsbterm +python
-tag_any_white +windows
+clientserver +emacs_tags +keymap +mouse_netterm -python3
+tcl +writebackup
+clipboard +eval +langmap +mouse_sgr +quickfix
+terminfo +X11
+cmdline_compl +ex_extra +libcall -mouse_sysmouse +reltime
+termresponse -xfontset
+cmdline_hist +extra_search +linebreak +mouse_urxvt +rightleft
+textobjects +xim
+cmdline_info +farsi +lispindent +mouse_xterm +ruby
+title +xsmp_interact
+comments +file_in_path +listcmds +multi_byte +scrollbind
+toolbar +xterm_clipboard
+conceal +find_in_path +localmap +multi_lang +signs
+user_commands -xterm_save
+cryptv +float +lua -mzscheme +smartindent
+vertsplit +xpm
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H
-DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0
include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2
.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/include/pixman-1 -I/usr/inc
lude/libpng12 -I/usr/include/harfbuzz -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -U_FOR
-I/usr/include/tcl8.6 -D_REENTRANT=1
Linking: gcc -L. -Wl,-Bsymbolic-functions
-Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E
-Wl,-Bsymbolic-functions -Wl,-z,relro
-Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -
lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0
-lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp
-lSM -lICE -lm -ltinfo -lnsl -ls
oh sorry thought gitter would have gist support or something like slack
Either way I tested as the install docs say
and have the correct version of python and am even able to run those commands in vim fine
but when I load ultisnips I get crazy errors
I'll try not to paste those directly :\
Derek Robati
I was just thinking that maybe because I use vim-plug I need to update
nope PlugUpdate didn't change anything
Derek Robati
I think I solved the problem.
It looked like it was because I symlink .vim to a mounted dotfile folder in my vm
and then after I used a command to clean all pyc files