mogga / sublime-nunjucks

Sublime Text syntax for Nunjucks template language
25 stars 28 forks source link

Error loading syntax file "Packages/Nunjucks Syntax/Nunjucks.tmLanguage": Wrong type for key begin expected string #6

Open jitendravyas opened 8 years ago

jitendravyas commented 8 years ago

Mac Yosemite Sublime Text 3

rmobis commented 8 years ago

I have the same issue on my ST3, Build 3095 on Windws 10.

Spheerys commented 8 years ago

Same issue here with ST3 under Linux Solved by saving this file : https://raw.githubusercontent.com/mogga/sublime-nunjucks/master/Nunjucks.tmLanguage ... inside the right directory/file : "Packages/Nunjucks Syntax/Nunjucks.tmLanguage"

Hlanderd commented 8 years ago

Yep, that worked on mac too, but you have to create the directory: /Users/_YOURUSERNAME/Library/Application Support/Sublime Text 3/Packages/Nunjucks Syntax

thx Spheerys!

flepp commented 8 years ago

Tried it on windows 8, no luck. Swig syntax highlighting works, so I think I'll stick with it for now.

JamesJosephFinn commented 8 years ago

yeah, jinja2 syntax package works like a charm. this package may not even be needed.

optimix-designer commented 8 years ago

Yes, the solution above works perfect (Sublime Text 3, Mac OS). Thanks a lot guys! :)

connor11528 commented 8 years ago

Worked for me!

cd Library/Application\ Support/Sublime\ Text\ 3/Packages
mkdir "Nunjucks Synatx"
touch Nunjucks\ Synatx/Nunjucks.tmLanguage

And then paste in file from here: https://raw.githubusercontent.com/mogga/sublime-nunjucks/master/Nunjucks.tmLanguage

When you go back to sublime, in the bottom right corner select the language to Nunjucks

CrescentCraftorium commented 7 years ago

Little late to the party, but this is how I got it working with Sublime Text 3 on Windows 7 (work) and Windows 10 (home) ... Install Nunjucks through Package Control Navigate to Preferences > Browse Packages... Create a new folder named 'Nunjucks Syntax' Paste the above Nunjucks.tmLanguage file into the new folder you just made.