My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 05, 2009
    issue 79 (supertab + snippetsemu) commented on by raffael   -   I have the same issue, but I don't have supertab installed. I am using vim-python though. Maybe that's a problem?
    I have the same issue, but I don't have supertab installed. I am using vim-python though. Maybe that's a problem?
  • Dec 04, 2009
    issue 132 (function contents are not indented) commented on by hackeron   -   A nice solution to this seems to be adding this to your .vimrc: autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
    A nice solution to this seems to be adding this to your .vimrc: autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
  • Dec 04, 2009
    issue 132 (function contents are not indented) reported by hackeron   -   What steps will reproduce the problem? 1. def<tab><tab><tab><tab><tab><tab> 2. 3. What is the expected output? def fname(): """ """ pass What do you see instead? def fname(): """ """ pass What version of SnippetsEmu are you using? On what operating system? 1.1, Ubuntu Karmic, 7.2.245 What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default Do you have any other plugins installed? supertab, ropevim
    What steps will reproduce the problem? 1. def<tab><tab><tab><tab><tab><tab> 2. 3. What is the expected output? def fname(): """ """ pass What do you see instead? def fname(): """ """ pass What version of SnippetsEmu are you using? On what operating system? 1.1, Ubuntu Karmic, 7.2.245 What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default Do you have any other plugins installed? supertab, ropevim
  • Dec 04, 2009
    issue 50 (Can't get snippets to work at all) commented on by hackeron   -   When I do def<tab><tab><tab><tab><tab> I get: def fname(): """ """ pass Any ideas why the function doesn't get indented correctly?
    When I do def<tab><tab><tab><tab><tab> I get: def fname(): """ """ pass Any ideas why the function doesn't get indented correctly?
  • Dec 04, 2009
    issue 79 (supertab + snippetsemu) commented on by hackeron   -   Looks like this error is back? I have snippetsemu from svn (r152) and supertab 0.61 running on vim 7.2 and experiencing the same problem: If I press tab on a blank line, I get: Error detected while processing function <SNR>13_Jumper: line 136: E554: Syntax error in \{...} Press ENTER or type command to continue Error detected while processing function <SNR>13_Jumper..<SNR>13_RestoreSearch: line 1: E554: Syntax error in \{...} Any ideas??
    Looks like this error is back? I have snippetsemu from svn (r152) and supertab 0.61 running on vim 7.2 and experiencing the same problem: If I press tab on a blank line, I get: Error detected while processing function <SNR>13_Jumper: line 136: E554: Syntax error in \{...} Press ENTER or type command to continue Error detected while processing function <SNR>13_Jumper..<SNR>13_RestoreSearch: line 1: E554: Syntax error in \{...} Any ideas??
  • Nov 30, 2009
    issue 131 (s:StrLen() in snippetsEmu.vim do not measure correct length ...) commented on by acevery   -   I try to do a hack on s:SetUpTags() . So that the s:StrLen() can be untouched: In snippetsEmu.vim, on line 280: let b:tag_name = "" "Here we check whether the cursor is just before the last empty tag, "and no space after this empty tag :) if s:StrLen(snip_start_tag.snip_end_tag) == s:StrLen(getline(".")[col(".")-1:]) "There is no space or other things after the last empty tag" " We delete the empty tag here as otherwise we can't determine whether we " need to send 'a' or 'A' as deleting the empty tag will sit us on the " final character either way call s:DeleteEmptyTag() call s:RestoreSearch() " do a double check if col(".") == strlen(getline(".")) return "\<Esc>A" endif else "Must be 1 character after the last empty tag" call s:DeleteEmptyTag() call s:RestoreSearch() " do a double check if col(".") == strlen(getline(".")) call s:Debug("SetUpTags","here") return "\<Esc>a" endif endif
    I try to do a hack on s:SetUpTags() . So that the s:StrLen() can be untouched: In snippetsEmu.vim, on line 280: let b:tag_name = "" "Here we check whether the cursor is just before the last empty tag, "and no space after this empty tag :) if s:StrLen(snip_start_tag.snip_end_tag) == s:StrLen(getline(".")[col(".")-1:]) "There is no space or other things after the last empty tag" " We delete the empty tag here as otherwise we can't determine whether we " need to send 'a' or 'A' as deleting the empty tag will sit us on the " final character either way call s:DeleteEmptyTag() call s:RestoreSearch() " do a double check if col(".") == strlen(getline(".")) return "\<Esc>A" endif else "Must be 1 character after the last empty tag" call s:DeleteEmptyTag() call s:RestoreSearch() " do a double check if col(".") == strlen(getline(".")) call s:Debug("SetUpTags","here") return "\<Esc>a" endif endif
  • Nov 30, 2009
    issue 131 (s:StrLen() in snippetsEmu.vim do not measure correct length ...) reported by acevery   -   What steps will reproduce the problem? If the current line contain characters like Chinese ideographs (which usually is 3 bytes in UTF-8), the col will return the byte length, and s:StrLen would return less length. This mismatch would cause the .st.et at the line end use \<ESC>a, which would move cursor one character before the line end. If do not substitute "." to "x", but directly return the strlen(a:str) in s:StrLen(), .st.et at the line end would correctly jump to. platform: Gentoo Linux with gVim-7.2.264
    What steps will reproduce the problem? If the current line contain characters like Chinese ideographs (which usually is 3 bytes in UTF-8), the col will return the byte length, and s:StrLen would return less length. This mismatch would cause the .st.et at the line end use \<ESC>a, which would move cursor one character before the line end. If do not substitute "." to "x", but directly return the strlen(a:str) in s:StrLen(), .st.et at the line end would correctly jump to. platform: Gentoo Linux with gVim-7.2.264

Earlier this year

  • Sep 25, 2009
    issue 50 (Can't get snippets to work at all) commented on by F.Ingram.lists   -   Two checks are performed when looking for snippet triggers: 1. Search backwards for keyword boundary - this will fail on the above example, as '%' is not in the default "iskeyword" list. 2. If no keyword matches then a search backwards for whitespace boundaries is done. This is why you need a space to match the trigger. There are a couple of suggestions: Add "%" to iskeyword - not recommended as you may break other things. Use a different trigger word - some ASCII should match before the ">" in the above example. Redefine the snippet to delete the space you have to add - a bit hacky but will work.
    Two checks are performed when looking for snippet triggers: 1. Search backwards for keyword boundary - this will fail on the above example, as '%' is not in the default "iskeyword" list. 2. If no keyword matches then a search backwards for whitespace boundaries is done. This is why you need a space to match the trigger. There are a couple of suggestions: Add "%" to iskeyword - not recommended as you may break other things. Use a different trigger word - some ASCII should match before the ">" in the above example. Redefine the snippet to delete the space you have to add - a bit hacky but will work.
  • Sep 21, 2009
    issue 50 (Can't get snippets to work at all) commented on by giulianisanches   -   if you have some text before the snippet command like: Snippet %% "[%".st.et."%]".st.et <title>%% <-- press tab here does not trigger the snippet. I need to add a space before the %% to get this working: <title> %% <-- now, everything works fine :\
    if you have some text before the snippet command like: Snippet %% "[%".st.et."%]".st.et <title>%% <-- press tab here does not trigger the snippet. I need to add a space before the %% to get this working: <title> %% <-- now, everything works fine :\
  • Aug 16, 2009
    issue 130 (I modify c_snippets.vim and add cpp_snippets.vim) reported by yen3rc   -   I love the plug-in, so I try to modify c_snippets.vim and add cpp_snippets.vim. Hope to help the ohter can use the plugin more happy.
    I love the plug-in, so I try to modify c_snippets.vim and add cpp_snippets.vim. Hope to help the ohter can use the plugin more happy.
  • Jul 11, 2009
    issue 126 (Tag being skipped) commented on by powerman.asdf   -   I think I discover another case for same bug. Vim 7.2, snippetsEmu 1.2.3 (btw, in snippetsEmu.vim revision number set to 1.1). The problem is same - wrong order while filling placeholders. Few buggy examples: exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR>" exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR> " exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR><CR>" Few working examples: exec "Snippet bug 1 =".st.et."2=".st.et."<CR>" exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR><Tab>" exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR>3" exec "Snippet bug 1 =".st.et."<CR>2=".st.et This bug in really annoying because it prevent finishing snippets with newline.
    I think I discover another case for same bug. Vim 7.2, snippetsEmu 1.2.3 (btw, in snippetsEmu.vim revision number set to 1.1). The problem is same - wrong order while filling placeholders. Few buggy examples: exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR>" exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR> " exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR><CR>" Few working examples: exec "Snippet bug 1 =".st.et."2=".st.et."<CR>" exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR><Tab>" exec "Snippet bug 1 =".st.et."<CR>2=".st.et."<CR>3" exec "Snippet bug 1 =".st.et."<CR>2=".st.et This bug in really annoying because it prevent finishing snippets with newline.
  • Jul 03, 2009
    issue 129 (sh_snippets additions) reported by M8R-bsv...@mailinator.com   -   What version of SnippetsEmu are you using? On what operating system? 1.2.3 - Linux Hi, Here are some addtions for the sh_snippets file. exec "Snippet forin for ".st."i".et." in ".st."x".et."; do<CR>".st.et."<CR>done".st.et exec "Snippet while while ".st."i".et."; do<CR>".st.et."<CR>done".st.et exec "Snippet until until ".st."i".et."; do<CR>".st.et."<CR>done".st.et exec "Snippet case case ".st."i".et." in<CR>".st."x".et.";;<CR>".st.et."<CR>esac".st.et exec "Snippet func ".st."i".et." ()<CR>{<CR>".st."x".et."<CR>}".st.et If you could make it so the ;; on the end of each additional line of the case statement appears automatically that would be good. If the case is being used in a while getopts then if you could put each of the given options at the start of the line too that would be even better :) Thanks for all your great work on the plugin.
    What version of SnippetsEmu are you using? On what operating system? 1.2.3 - Linux Hi, Here are some addtions for the sh_snippets file. exec "Snippet forin for ".st."i".et." in ".st."x".et."; do<CR>".st.et."<CR>done".st.et exec "Snippet while while ".st."i".et."; do<CR>".st.et."<CR>done".st.et exec "Snippet until until ".st."i".et."; do<CR>".st.et."<CR>done".st.et exec "Snippet case case ".st."i".et." in<CR>".st."x".et.";;<CR>".st.et."<CR>esac".st.et exec "Snippet func ".st."i".et." ()<CR>{<CR>".st."x".et."<CR>}".st.et If you could make it so the ;; on the end of each additional line of the case statement appears automatically that would be good. If the case is being used in a while getopts then if you could put each of the given options at the start of the line too that would be even better :) Thanks for all your great work on the plugin.
  • Jul 02, 2009
    issue 120 (Please add helper to run snippets with selected text) commented on by j...@freedesktop.org   -   Thanks! I look forward to seeing how it turns out.
    Thanks! I look forward to seeing how it turns out.
  • Jun 29, 2009
    issue 96 (setting start and end tags to square brackets [] causes an e...) Status changed by F.Ingram.lists   -   The fix was not generic enough. I think this may end with a contract change so that tags which will effect search strings are chosen at the user's risk.
    Status: Wontfix
    The fix was not generic enough. I think this may end with a contract change so that tags which will effect search strings are chosen at the user's risk.
    Status: Wontfix
  • Jun 29, 2009
    issue 127 (It seems impossible to type words starting with P in the sni...) Status changed by F.Ingram.lists   -   I can't recreate this on Windows. Can you check your vimrc and make sure that you've not set p to anything else?
    Status: Wontfix
    I can't recreate this on Windows. Can you check your vimrc and make sure that you've not set p to anything else?
    Status: Wontfix
  • Jun 29, 2009
    issue 100 (Cannot name snippet variables started with "p") Status changed by F.Ingram.lists   -   I cannot seem to recreate this, so I'm going to close this issue. Feel free to reopen it if it's still a problem.
    Status: Wontfix
    I cannot seem to recreate this, so I'm going to close this issue. Feel free to reopen it if it's still a problem.
    Status: Wontfix
  • Jun 23, 2009
    issue 110 (snippets with & in vaue of tags' name dont'work) Status changed by F.Ingram.lists   -   This is a trickier problem than I first thought. The problem is that certain characters will be expanded in the substitutions. These can turned off in some instances but not all (notably the substitute() function). I've made a simple change to fix the first part of this but will keep thinking about it.
    Status: Started
    This is a trickier problem than I first thought. The problem is that certain characters will be expanded in the substitutions. These can turned off in some instances but not all (notably the substitute() function). I've made a simple change to fix the first part of this but will keep thinking about it.
    Status: Started
  • Jun 23, 2009
    issue 109 (Improve snippets for TeX/LaTeX.) Status changed by F.Ingram.lists   -   Added in 152
    Status: Fixed
    Added in 152
    Status: Fixed
  • Jun 23, 2009
    r152 (Added updated TeX snippets from 109) committed by F.Ingram.lists   -   Added updated TeX snippets from 109
    Added updated TeX snippets from 109
  • Jun 23, 2009
    issue 108 (Add snippets for Lua.) Status changed by F.Ingram.lists   -   Added in 151
    Status: Fixed
    Added in 151
    Status: Fixed
  • Jun 23, 2009
    r151 (Added Lua snippets) committed by F.Ingram.lists   -   Added Lua snippets
    Added Lua snippets
  • Jun 23, 2009
    r150 (Fixed 96. 'Special' start and end tags) committed by F.Ingram.lists   -   Fixed 96. 'Special' start and end tags
    Fixed 96. 'Special' start and end tags
  • Jun 23, 2009
    issue 96 (setting start and end tags to square brackets [] causes an e...) Status changed by F.Ingram.lists   -   Fixed in 150
    Status: Fixed
    Fixed in 150
    Status: Fixed
  • Jun 23, 2009
    issue 91 (Nested snippets are broken) Status changed by F.Ingram.lists   -   Fixed in 149
    Status: Fixed
    Fixed in 149
    Status: Fixed
  • Jun 23, 2009
    r149 (Fix 91. Nested tags could not cope with addtional text being...) committed by F.Ingram.lists   -   Fix 91. Nested tags could not cope with addtional text being entered
    Fix 91. Nested tags could not cope with addtional text being entered
  • Jun 23, 2009
    issue 91 (Nested snippets are broken) Status changed by F.Ingram.lists   -   Recreated
    Status: Accepted
    Recreated
    Status: Accepted
  • Jun 23, 2009
    r148 (Tidied up Python snippets) committed by F.Ingram.lists   -   Tidied up Python snippets
    Tidied up Python snippets
  • Jun 23, 2009
    issue 73 (Improving Python support) Status changed by F.Ingram.lists   -   Fixed in 146
    Status: Fixed
    Fixed in 146
    Status: Fixed
  • Jun 15, 2009
    issue 120 (Please add helper to run snippets with selected text) changed by F.Ingram.lists   -   Wow. That's an ambitious request. It's something I've seen before, so maybe I'll look into it. Thanks for the pointers to the help pages.
    Status: Accepted
    Labels: Type-Enhancement
    Wow. That's an ambitious request. It's something I've seen before, so maybe I'll look into it. Thanks for the pointers to the help pages.
    Status: Accepted
    Labels: Type-Enhancement
  • Jun 15, 2009
    issue 126 (Tag being skipped) Status changed by F.Ingram.lists   -   Almost certainly a new edge case that you've discovered. I'll look into it.
    Status: Accepted
    Almost certainly a new edge case that you've discovered. I'll look into it.
    Status: Accepted
  • Jun 15, 2009
    issue 125 (java, rails and html not recongnized) Status changed by F.Ingram.lists   -   Hi both, The plugin uses Vim's own filetype detection to automatically load snippets and the snippets filenames should match the file type. As this starts to get tricky when using web frameworks etc, I'd look into using some autocommands to load your bundles for you. Or try setting up a keyboard command to load the bundles you want. You can use the ":emenu" command to access the Snippets menu. Hope that helps.
    Status: Wontfix
    Hi both, The plugin uses Vim's own filetype detection to automatically load snippets and the snippets filenames should match the file type. As this starts to get tricky when using web frameworks etc, I'd look into using some autocommands to load your bundles for you. Or try setting up a keyboard command to load the bundles you want. You can use the ":emenu" command to access the Snippets menu. Hope that helps.
    Status: Wontfix
  • Jun 15, 2009
    issue 127 (It seems impossible to type words starting with P in the sni...) Status changed by F.Ingram.lists   -   Can you check your vimrc and see whether you have p remapped at all? See here for similar issue: http://code.google.com/p/snippetsemu/issues/detail?id=100
    Status: Accepted
    Can you check your vimrc and see whether you have p remapped at all? See here for similar issue: http://code.google.com/p/snippetsemu/issues/detail?id=100
    Status: Accepted
  • Jun 04, 2009
    issue 109 (Improve snippets for TeX/LaTeX.) commented on by yuan0qi   -   On a related note, snippetEmu can integrate with the completion features of latex-suite with the following: let b:Imap_PlaceHolderStart='<{' " use snippetEmu placeholders let b:Imap_PlaceHolderEnd='}>' The best part about this is that ctrl-j, used by latex-suite to jump between placeholders, will continue to work.
    On a related note, snippetEmu can integrate with the completion features of latex-suite with the following: let b:Imap_PlaceHolderStart='<{' " use snippetEmu placeholders let b:Imap_PlaceHolderEnd='}>' The best part about this is that ctrl-j, used by latex-suite to jump between placeholders, will continue to work.
  • May 08, 2009
    issue 128 (extra spaces inserted when functions are used between escape...) reported by javg.deimos   -   What steps will reproduce the problem? 1. exec "Snippet filename The \"file\" name is \""expand("%")"\"" 2. edit hello_world.c 3. filename<TAB> What is the expected output? What do you see instead? expected: The "file" name is "hello_world.c" instead: The "file" name is " hello_world.c " What version of SnippetsEmu are you using? On what operating system? SnippetsEmu 1.2.3 Ubuntu 8.10 Intrepid Ibex What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default in c_snippets.vim (from bundles) Do you have any other plugins installed? no Do you have 'behave mswin' set or is selection set to exclusive? no Please provide any additional information below.
    What steps will reproduce the problem? 1. exec "Snippet filename The \"file\" name is \""expand("%")"\"" 2. edit hello_world.c 3. filename<TAB> What is the expected output? What do you see instead? expected: The "file" name is "hello_world.c" instead: The "file" name is " hello_world.c " What version of SnippetsEmu are you using? On what operating system? SnippetsEmu 1.2.3 Ubuntu 8.10 Intrepid Ibex What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default in c_snippets.vim (from bundles) Do you have any other plugins installed? no Do you have 'behave mswin' set or is selection set to exclusive? no Please provide any additional information below.
  • Mar 29, 2009
    issue 58 (Different key to insert snippent and different to jump betwe...) commented on by dpetroff   -   Fixed bug in my patch, now it works correctly.
    Fixed bug in my patch, now it works correctly.
  • Mar 28, 2009
    issue 125 (java, rails and html not recongnized) commented on by kazu.dev   -   To: Phillip From: Kazuyoshi Tlacaelel Hmm, I think the extension is "html.erb" for Rails applications. and this is not a bug! simply theres is no file for "rails-autocomptletitions" at least none that I am ware yet! Right now the latest bundle (v.1.2) does not include "rails" See: http://www.vim.org/scripts/script.php?script_id=1318 I'll try to make something in the next couple of days and send a svn patch or something so other people can use it! Good job Felix, this Rocks!
    To: Phillip From: Kazuyoshi Tlacaelel Hmm, I think the extension is "html.erb" for Rails applications. and this is not a bug! simply theres is no file for "rails-autocomptletitions" at least none that I am ware yet! Right now the latest bundle (v.1.2) does not include "rails" See: http://www.vim.org/scripts/script.php?script_id=1318 I'll try to make something in the next couple of days and send a svn patch or something so other people can use it! Good job Felix, this Rocks!
  • Mar 26, 2009
    issue 58 (Different key to insert snippent and different to jump betwe...) commented on by dpetroff   -   Hello, I've made a little dirty hack to make this work. I don't know, how will this deal with supertab, but it works ok without it. I've added a new variable g:snippetsEmu_jump_key, that defaults to <C-S>. Hope it will help someone. Thanks for a great plugin!
    Hello, I've made a little dirty hack to make this work. I don't know, how will this deal with supertab, but it works ok without it. I've added a new variable g:snippetsEmu_jump_key, that defaults to <C-S>. Hope it will help someone. Thanks for a great plugin!
  • Feb 19, 2009
    issue 127 (It seems impossible to type words starting with P in the sni...) commented on by jo...@jonty.co.uk   -   I should add that this only occurs when default text is between the start and end tag, and that text is automatically highlighted.
    I should add that this only occurs when default text is between the start and end tag, and that text is automatically highlighted.
  • Feb 19, 2009
    issue 127 (It seems impossible to type words starting with P in the sni...) reported by jo...@jonty.co.uk   -   What steps will reproduce the problem? 1. Open a document 2. Start a trigger 3. Type a word beginning with 'p' in the selection What is the expected output? What do you see instead? It seems that Vim pastes whatever is in the buffer instead of typing p What version of SnippetsEmu are you using? On what operating system? 1.2.3 on Debian 4.0 What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? Default Do you have any other plugins installed? bufexplorer Do you have 'behave mswin' set or is selection set to exclusive? No Please provide any additional information below. This makes snippetsEmu useless for me, I mainly wanted it for PHP, and making methods private or protected is very awkward now ;)
    What steps will reproduce the problem? 1. Open a document 2. Start a trigger 3. Type a word beginning with 'p' in the selection What is the expected output? What do you see instead? It seems that Vim pastes whatever is in the buffer instead of typing p What version of SnippetsEmu are you using? On what operating system? 1.2.3 on Debian 4.0 What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? Default Do you have any other plugins installed? bufexplorer Do you have 'behave mswin' set or is selection set to exclusive? No Please provide any additional information below. This makes snippetsEmu useless for me, I mainly wanted it for PHP, and making methods private or protected is very awkward now ;)
  • Feb 15, 2009
    issue 126 (Tag being skipped) reported by vladsmailtotomas   -   When I have a Snippet like the following: <{Name}> <{}> <{Name}> <{}> The second tag gets skipped completely because of the tag substitution. The end result is that I get to the second tag at the end of the sequence of tabbing. I would expect that this snippet would work like this(order of jumps): 1. <{NewName}> 2. <{}> <{NewName}> 3. <{}> not 1. <{NewName}> 3. <{}> <{NewName}> 2. <{}> I'm using Vim 7.2 with the latest version of snippetsEmu(1.2.3). The following snippet reproduces the problem: :Snippet test <{name}><CR><{}><CR><{name}><CR><{}> test<TAB>NewName<TAB><TAB> The start and end tags are unchanged. Also I have SuperTab installed.
    When I have a Snippet like the following: <{Name}> <{}> <{Name}> <{}> The second tag gets skipped completely because of the tag substitution. The end result is that I get to the second tag at the end of the sequence of tabbing. I would expect that this snippet would work like this(order of jumps): 1. <{NewName}> 2. <{}> <{NewName}> 3. <{}> not 1. <{NewName}> 3. <{}> <{NewName}> 2. <{}> I'm using Vim 7.2 with the latest version of snippetsEmu(1.2.3). The following snippet reproduces the problem: :Snippet test <{name}><CR><{}><CR><{name}><CR><{}> test<TAB>NewName<TAB><TAB> The start and end tags are unchanged. Also I have SuperTab installed.
  • Feb 11, 2009
    issue 125 (java, rails and html not recongnized) reported by Philippe.hac   -   What steps will reproduce the problem? 1. open a .java or .erb.html or .html 2. try to insert a related snippet What is the expected output? What do you see instead? it should execute the snippets for that language but it does nothing (in .erb.html it executes ruby instead) What version of SnippetsEmu are you using? On what operating system? 1.1 on openSuSE and WinVista, latest ViM What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default Do you have any other plugins installed? no Do you have 'behave mswin' set or is selection set to exclusive? I didn't set that for myself Please provide any additional information below. It look like the plugin, or maybe vim, is not recognizing the filetype correctly. It would also be good to have html snippets in php and erb.html files, once they are mixed.
    What steps will reproduce the problem? 1. open a .java or .erb.html or .html 2. try to insert a related snippet What is the expected output? What do you see instead? it should execute the snippets for that language but it does nothing (in .erb.html it executes ruby instead) What version of SnippetsEmu are you using? On what operating system? 1.1 on openSuSE and WinVista, latest ViM What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default Do you have any other plugins installed? no Do you have 'behave mswin' set or is selection set to exclusive? I didn't set that for myself Please provide any additional information below. It look like the plugin, or maybe vim, is not recognizing the filetype correctly. It would also be good to have html snippets in php and erb.html files, once they are mixed.
  • Jan 21, 2009
    issue 110 (snippets with & in vaue of tags' name dont'work) commented on by F.Ingram.lists   -   Issue 123 has been merged into this issue.
    Issue 123 has been merged into this issue.
  • Jan 21, 2009
    issue 123 (Backslash \ at beginning of variable does not delete <{}>) changed by F.Ingram.lists   -   Accepted. This is due to the backslash not being properly escaped in the search and replace function. Merging with 110.
    Status: Duplicate
    Accepted. This is due to the backslash not being properly escaped in the search and replace function. Merging with 110.
    Status: Duplicate
  • Jan 18, 2009
    issue 123 (Backslash \ at beginning of variable does not delete <{}>) reported by hgkawa   -   What steps will reproduce the problem? 1.: emenu: Snippets.latex 2. sec <TAB> 3. \section{<{name}>}\label{sec:<{name}>} <{}> 4. inserting \a <TAB> What is the expected output? What do you see instead? expected: \section{\a}\label{sec:a} instead: \section{<{\a}>}\label{sec:a} What version of SnippetsEmu are you using? On what operating system? Latest Trunk, and/or latest package from vim.org Mac OSX Tiger What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default Do you have any other plugins installed? No Do you have 'behave mswin' set or is selection set to exclusive? No Please provide any additional information below. Thanks for the plugin and your help. Great work!
    What steps will reproduce the problem? 1.: emenu: Snippets.latex 2. sec <TAB> 3. \section{<{name}>}\label{sec:<{name}>} <{}> 4. inserting \a <TAB> What is the expected output? What do you see instead? expected: \section{\a}\label{sec:a} instead: \section{<{\a}>}\label{sec:a} What version of SnippetsEmu are you using? On what operating system? Latest Trunk, and/or latest package from vim.org Mac OSX Tiger What are your start and end tags currently set to (answer 'default' if you haven't set them yourself)? default Do you have any other plugins installed? No Do you have 'behave mswin' set or is selection set to exclusive? No Please provide any additional information below. Thanks for the plugin and your help. Great work!
  • Jan 09, 2009
    issue 119 (Snippet indentation not consistent with indentation settings) commented on by j...@freedesktop.org   -   You have tabstop=4 and I don't. When you try to reproduce this, does the "return 0;" line have four spaces or a tab? If it has a tab, then you did reproduce this. We both have expandtab, so that line should have four spaces.
    You have tabstop=4 and I don't. When you try to reproduce this, does the "return 0;" line have four spaces or a tab? If it has a tab, then you did reproduce this. We both have expandtab, so that line should have four spaces.

Older

  • Dec 18, 2008
    issue 122 (where did my previous issue go? - problem with vimball on wi...) Status changed by F.Ingram.lists   -  
    Status: Invalid
    Status: Invalid
  • Dec 17, 2008
    issue 122 (where did my previous issue go? - problem with vimball on wi...) reported by peteris.krumins   -   What steps will reproduce the problem? 1. download plugin + bundle 2. open in vim 3. observe that they do not get extracted on win32 My suggestion: cut the ph.d. crap and distribute them as a zip!
    What steps will reproduce the problem? 1. download plugin + bundle 2. open in vim 3. observe that they do not get extracted on win32 My suggestion: cut the ph.d. crap and distribute them as a zip!
  • Dec 13, 2008
    r147 (Fixed another typo in the java snippets.) committed by F.Ingram.lists   -   Fixed another typo in the java snippets.
    Fixed another typo in the java snippets.
  • Dec 13, 2008
    issue 89 (main produce "public main static void main..." with java_sni...) commented on by F.Ingram.lists   -   True. And 'args' not 'ars' as well.
    True. And 'args' not 'ars' as well.
  • Dec 11, 2008
    issue 89 (main produce "public main static void main..." with java_sni...) commented on by yaojingguo   -   The actual result is: public main static void main(String[] ars) { <{"System.exit(0)"}>; } <{}> public main static void main(String[] ars) should be public static void main(String[] ars)
    The actual result is: public main static void main(String[] ars) { <{"System.exit(0)"}>; } <{}> public main static void main(String[] ars) should be public static void main(String[] ars)
 
Hosted by Google Code