0

I'm using smarty to develop a website and I need syntax highlighting. Currently gedit only highlights the html. Since my tpl files contains only html and smarty template functions. I've Google'd for this functionality and found this solution posted on github, but I didn't get it to work.

Does anyone have a solution for this?

I just want a basic editor I don't care for fancy stuff that eclipse and other programs have. I just want a text editor with syntax highlighting.

3

I got the github link to work. The steps I took was the following:

  1. Copy the files to a folder.

  2. Navigate to the folder with the cd command in a terminal.

  3. Make smarty.sh executable

    chmod +x ./smarty.sh

  4. And finally install it!

    ./smarty.sh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.