Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken syntax color #23

Open
juandinella opened this issue Jan 20, 2017 · 4 comments
Open

Broken syntax color #23

juandinella opened this issue Jan 20, 2017 · 4 comments

Comments

@juandinella
Copy link

screen shot 2017-01-20 at 5 34 46 pm

@gfpacheco
Copy link

Any idea on what could've happened or when it will be fixed?

@gfpacheco
Copy link

I'm back to using the old language-jade since it works better.

@in-in
Copy link

in-in commented Feb 10, 2017

Also returned to language-jade but it can't see .pug extension.
To resolve it add that to the core section in your config.cson

customFileTypes:
      'source.jade': [
        'pug'
      ]

http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-language-recognition

@juandinella
Copy link
Author

juandinella commented Feb 11, 2017

I 'fixed' it modifying the style.less file in atom.

This is my config:

atom-workspace,
atom-text-editor {
  font-family: "OperatorMono-Light";
  font-size: 14px;
  line-height: 1.7;
}

atom-panel.tool-panel {
  font-size: 0.88em;
}

atom-text-editor {
  font-size: 14px;
}


atom-text-editor.editor{
  .syntax--entity.syntax--other.syntax--attribute-name {
    font-style: italic;
  }
}

.syntax--source.syntax--script.syntax--jade.entity.syntax--name.syntax--tag.syntax--pug{
  color: #e06c75;
}

.syntax--constant.syntax--language.syntax--js,
.syntax--string.syntax--quoted.syntax--single.syntax--js{
  font-style: italic;
}

screen shot 2017-02-10 at 11 53 20 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants