Coder Social home page Coder Social logo

Conflict with UltiSnips about vim-gitignore HOT 5 OPEN

sassanh avatar sassanh commented on June 28, 2024 6
Conflict with UltiSnips

from vim-gitignore.

Comments (5)

sassanh avatar sassanh commented on June 28, 2024 1

Thanks but unfortunately I have plugins that proved snippets and I need those snippets, it may help others though.

from vim-gitignore.

sergei-dyshel avatar sergei-dyshel commented on June 28, 2024

Looks like Ultisnips is loading snippets from snippets directory which is intended only for Snipmate as there is separate Ultisnips directory. If you don't have other plugins which provides snippets in snippets directory that you need, you may add this to .vimrc and it will solve this problem:

let g:UltiSnipsSnipMateDirectories = ["Ultisnips"]

from vim-gitignore.

sassanh avatar sassanh commented on June 28, 2024

Looking at docs I guess you mean g:UltiSnipsSnippetDirectories I set it and unfortunately it's not working for me. Did you try it yourself?

from vim-gitignore.

sergei-dyshel avatar sergei-dyshel commented on June 28, 2024

You're right, it doesn't help. But this does:

let g:UltiSnipsEnableSnipMate = 0

from vim-gitignore.

wcn3 avatar wcn3 commented on June 28, 2024

I solved this by creating .vim/ftplugin/gitignore.vim

with the contents

let g:UltiSnipsEnableSnipMate=0

and that seems to work well.

from vim-gitignore.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.