Comments (8)
Hard to say without seeing your config. Usually, problems like this are related to VundleVim/Vundle.vim#202.
from vim-snippets.
OK, I've just put my .vimrc here.
The problem you've linked to is about bad filetype recognition. But as I wrote, the autocomplete of
:set filetype=<TAB>
outputs php
. Isn't that a sign that filetype recognition works?
from vim-snippets.
no, it isn't.
from vim-snippets.
Looking over your vimrc right now. Generally speaking the comment marker does only work on the beginning of the line - it sometimes also works later, but that is not guaranteed.
I also do not see UltiSnips sourced in your .vimrc.
from vim-snippets.
Thanks for hint about the comment marker.
About UltiSnips: As I wrote, I am using garbas/vim-snipmate for snippets, isn't that OK for this snippet plugin?
from vim-snippets.
Ah, sorry. Yes, you can use garbas/vim-snipmate. But I cannot give you support for that as I do not know it :). If you have python support in your vim, you can also try tracking https://github.com/sirver/ultisnips instead which I know well and can help track down problems.
from vim-snippets.
Hi @georgjaehnig! In SnipMate, when loading snippets for certain scopes, other scopes may be loaded automatically. These are called scope aliases, and SnipMate defines some by default, including a PHP -> JavaScript, HTML alias. This is all documented under the SnipMate-options
helptag. If you want, you can disable the default aliases entirely by putting let g:snipMate_no_default_aliases = 1
in your vimrc.
from vim-snippets.
Thanks, this was what I was looking for!
from vim-snippets.
Related Issues (20)
- Can I just using the official way to install? HOT 1
- Some TeX snippets don't expand according to config HOT 2
- How to Redefine a Snippet HOT 1
- CPP syntax error HOT 5
- I'm curious that why "vim-snippets" can not write "endsnippet" in his *.snippets HOT 2
- Why having snippets tha explicitly use ${0} in the inside of the inserted text, leaving no way to get out of the snippet?
- Lua function snippet is recursive
- Problematic snippets in tex
- How can call python in snippet? HOT 1
- How can make the trigger_word as argument to python?
- Various design issues with Python snippets
- This lll snippets is very annoying when one is filling the second arg of a tabular environment. HOT 4
- snippets for using GNU R - how to contribute and combine efforts (and how to accord with r-maintainer) HOT 1
- tex snip looks was incorrect? HOT 1
- Is it possible to generate dosctring after defining a function? HOT 1
- nvim error when expanding commands from shell HOT 1
- terraform snippets HOT 1
- Python 3.12: Syntax warnings for escape sequences HOT 5
- Can I remove all trailing spaces from TeX snippets?
- Gleam snippets are broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-snippets.