Coder Social home page Coder Social logo

Comments (4)

ap avatar ap commented on July 18, 2024

Support for them is included, you shouldn’t have to do anything. Does it not work?

Have you installed the plugin? (And is it this fork instead of some other version?)

What does :set ft? say when you open a LESS or SASS file?

from vim-css-color.

danbruegge avatar danbruegge commented on July 18, 2024

Sure, i've installed the plugin. ;) With vim-plug. Yes the plugin works with .css files.

I've made a screenshot, that should explains it?!
vim-css-color

from vim-css-color.

ap avatar ap commented on July 18, 2024

Oh, right. Seems like cakebaker/scss-syntax.vim#41 is the relevant issue, i.e. you probably want to upgrade that plugin.

from vim-css-color.

danbruegge avatar danbruegge commented on July 18, 2024

Ok, the plugin is not necessary for me i think. But it showed me were my problem was.
I discovered some lines in my .vimrc which i removed:

" less with css
autocmd BufNewFile,BufRead *.less set filetype=less.css 

" sass with css
autocmd BufNewFile,BufRead *.scss set filetype=scss.css
autocmd FileType scss set iskeyword+=-

Now it is working. :)

Thanks for the help!

from vim-css-color.

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.