Giter Club home page Giter Club logo

Comments (9)

rwstauner avatar rwstauner commented on June 17, 2024

What version of Vundle are you using?
What comand are you doing to include this repo?
What's your runtimepath before loading a less file? :echo substitute(&rtp, ",", "\n", "g")

from vim-less.

notrev avatar notrev commented on June 17, 2024

Vundle version: 0.10.2

To include this repo, I followed the instructions in the README, added "Bundle 'groenewege/vim-less'" to my vimrc and :BundleInstall to install it.

The result of the command :echo substitute(&rtp, ",", "\n", "g") is:

/home/everton/.vim
/home/everton/.vim/bundle/vundle
/home/everton/.vim/bundle/powerline
/home/everton/.vim/bundle/YouCompleteMe
/home/everton/.vim/bundle/emmet-vim
/home/everton/.vim/bundle/syntastic
/home/everton/.vim/bundle/html5.vim
/home/everton/.vim/bundle/vim-less
/var/lib/vim/addons
/usr/share/vim/vimfiles
/usr/share/vim/vim74
/usr/share/vim/vimfiles/after
/var/lib/vim/addons/after
/home/everton/.vim/after
/home/everton/.vim/bundle/vundle/
/home/everton/.vim/bundle/powerline/powerline/bindings/vim
/home/everton/.vim/bundle/vundle/after
/home/everton/.vim/bundle/powerline/after
/home/everton/.vim/bundle/YouCompleteMe/after
/home/everton/.vim/bundle/emmet-vim/after
/home/everton/.vim/bundle/syntastic/after
/home/everton/.vim/bundle/html5.vim/after
/home/everton/.vim/bundle/vim-less/after

from vim-less.

rwstauner avatar rwstauner commented on June 17, 2024

In your vimrc, do you have filetype off before loading vundle,
and filetype on after configuring vundle and all of your plugins?

This repo has an ftdetect file in it, but if you turn on filetype detection too early (before the runtimepath is modified) it may not be seen.

from vim-less.

notrev avatar notrev commented on June 17, 2024

@rwstauner, I followed your advice and it is working now, thank you.
Added filetype off before loading vundle plugins and filetype on after.

from vim-less.

groenewege avatar groenewege commented on June 17, 2024

@rwstauner thank you for your help on the vim-less repository.

from vim-less.

rwstauner avatar rwstauner commented on June 17, 2024

happy to help

from vim-less.

mike-engel avatar mike-engel commented on June 17, 2024

@rwstauner I don't know if I should open another issue, or continue on this one, but I'm having the same problem which isn't fixed by setting filetype on at the end.

Current .vimrc: https://github.com/mike-engel/vimfiles/blob/c1efaf1f839023055919bcd9c00d73f65be80bc3/vimrc

Any help/suggestions would be appreciated.

from vim-less.

rwstauner avatar rwstauner commented on June 17, 2024

@mike-engel the :au! at line 323 is killing any autocommands that aren't inside of a group, which probably isn't what you want. Assuming you just want to make sure your autocommands are only defined once, you should wrap them in an :augroup

from vim-less.

mike-engel avatar mike-engel commented on June 17, 2024

@rwstauner That did the trick. Thanks much!

from vim-less.

Related Issues (20)

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.