question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default syntax "***" is not installed!

See original GitHub issue

1. Summary

I don’t understand, how I can set syntax for GhostText tabs.

2. Expected behavior

Writing messages in syntax, which I set. No errors in Sublime Text console.

3. Actual behavior

In Sublime Text console:

Default syntax "MarkdownEditing/Markdown" is not installed!

4. Settings

I use MarkdownEditing, AcademicMarkdown and ApplySyntax packages.

My User/GhostText.sublime-settings file:

{
    "default_syntax": "MarkdownEditing/Markdown",
    "new_window_on_connect": true
}

Part of my User/ApplySyntax.sublime-settings file:

"new_file_syntax": "MarkdownEditing/Markdown",

It means that I open my new files in MarkdownEditing/Markdown syntax of MarkdownEditing package.

5. Steps to reproduce

I reproduce the problem in a version of Sublime Text without plugins and user settings.

  1. I open any page in my browser → I click to «Ghost» button in Firefox → I select textarea field → connection establish → in GhostText tab of Sublime Text I open Sublime Text console and I see in it:
Default syntax "MarkdownEditing/Markdown" is not installed!

I input in Sublime Text console:

>>> view.settings().get('syntax')
'Packages/MarkdownEditing/Markdown.tmLanguage'
  1. I delete "default_syntax": "MarkdownEditing/Markdown", line into my User/GhostText.sublime-settings file → I open any page in my browser → I click to «Ghost» button → I select textarea field → connection establish → in GhostText tab of Sublime Text I open Sublime Text console and input in it:
>>> view.settings().get('syntax')
'Packages/AcademicMarkdown/AcademicMarkdown.tmLanguage'

Syntax incorrect for me, I want Packages/MarkdownEditing/Markdown.tmLanguage syntax.

  1. I input in User/GhostText.sublime-settings file Packages/MarkdownEditing/Markdown.tmLanguage, MarkdownEditing/Markdown.tmLanguage, Packages/MarkdownEditing/Markdown instead of MarkdownEditing/Markdown → I get behavior, for example:
Default syntax "Packages/MarkdownEditing/Markdown" is not installed!
>>> view.settings().get('syntax')
'Packages/AcademicMarkdown/AcademicMarkdown.tmLanguage'

If I set MarkdownEditing/Markdown in User/GhostText.sublime-settings file, I get expected syntax for new GhostText tabs, but I get Default syntax "MarkdownEditing/Markdown" is not installed! in console.

6. Environment

Operating system and version: Windows 10 Enterprise LTSB 64-bit EN Sublime Text: Build 3126 Firefox: 51.0.1 (64-bit) GhostText for Firefox: 1.2.4.1 GhostText for Sublime Text: 1.0.13

Thanks.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
felixhao28commented, May 4, 2018

Markdown Editing maintainer here. I am not able to reproduce the issue. The theme just works fine when I click the GhostText button and a new tab is opened. I don’t have AcademicMarkdown or ApplySyntax installed. Maybe it is caused by a conflict with AcademicMarkdown or ApplySyntax?

1reaction
revoltercommented, May 7, 2018

I can’t reinstall Sublime Text, as I would have to redo a lot of settings and stuff.

I uninstalled both packages, restarted Sublime Text, re-installed both packages, restarted Sublime Text, and tried again, and it still opens a tab with the MultiMarkdown syntax applied.

And yes, I did have Markdown GFM syntax associated to all .md files. If I <kbd>cmd</kbd>+<kbd>p</kbd> to a Markdown file, it opens with the Markdown GFM syntax.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default syntax "***" is not installed! · Issue #97 · fregante/GhostText
Default syntax "MarkdownEditing/Markdown" is not installed! I input in Sublime Text console: >>> view.settings().get('syntax') ...
Read more >
pip install returning invalid syntax - python
try this. python -m pip ... -m module-name Searches sys.path for the named module and runs the corresponding .py file as a script....
Read more >
Can not install any apps due to syntax error in grub.cfg file
I ran into this error while using "sudo update-grub" Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' ...
Read more >
install Command
If you do not specify the Directory parameter, the install command searches a set of default directories (/usr/bin, /etc, and /usr/lib, in that...
Read more >
conda install
Use locally built packages. Identical to '-c local'. --override-channels. Do not search default or .condarc channels. Requires --channel.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found