language-pug icon indicating copy to clipboard operation
language-pug copied to clipboard

Broken syntax color

Open juandinella opened this issue 8 years ago • 4 comments

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

juandinella avatar Jan 20 '17 20:01 juandinella

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

gfpacheco avatar Jan 31 '17 14:01 gfpacheco

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

gfpacheco avatar Jan 31 '17 14:01 gfpacheco

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

in-in avatar Feb 10 '17 23:02 in-in

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

juandinella avatar Feb 11 '17 02:02 juandinella