summaryrefslogtreecommitdiffstats
path: root/misc/ninja-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* Misc typo fixes by https://github.com/codespell-project/codespell/Mo Zhou2018-09-061-1/+1
|
* Remove unneeded save-excursion.Fanael Linithien2014-11-241-22/+21
| | | | syntax-propertize-function is allowed to move the point and mark.
* Use lexical-binding.Fanael Linithien2014-11-231-1/+1
| | | | | There's no reason not to use lexical-binding when supporting only Emacs 24+. Its semantics are just that much saner.
* Add a Emacs 24 requirement.Fanael Linithien2014-11-231-0/+2
| | | | Only Emacs >= 24 has prog-mode.
* Correctly recognize a comment if the previous line is a comment ending in $.Fanael Linithien2014-11-231-2/+9
|
* Avoid putting properties past the end of the buffer.Fanael Linithien2014-11-231-1/+4
|
* Don't use dotted list syntax unless necessary.Fanael Linithien2014-11-231-4/+4
|
* Remove unnecessary regexp group.Fanael Linithien2014-11-231-2/+2
|
* Correctly recognize comments.Fanael Linithien2014-11-231-0/+17
|
* Set up a proper syntax table for ninja-mode.Fanael Linithien2014-11-231-5/+8
| | | | | | | | Since quotes are not meant to be treated as string delimiters, the syntax table is the place to tell Emacs so. This also means syntactic fontification can be reenabled and the font-lock keyword entry for comments removed.
* Set comment-start buffer-locally, not globally.Fanael Linithien2014-11-231-1/+1
|
* Use quasi-quoting instead of list+cons.Fanael Linithien2014-11-231-15/+14
|
* Reindent ninja-mode.el using Emacs.Fanael Linithien2014-11-231-16/+16
| | | | Emacs knows best how to indent Emacs Lisp.
* Use double semicolon comments.Fanael Linithien2014-11-231-2/+2
|
* Don't leave lone closing parens.Fanael Linithien2014-11-231-4/+2
|
* Merge pull request #772 from drbo/syntax_bugfixEvan Martin2014-11-231-0/+1
|\ | | | | Added highlighting in Emacs for ${...} variables
| * Removed tab and added . in variable name regexpDemetri Obenour2014-06-011-1/+1
| |
| * Added highlighting in Emacs for ${...} variablesDemetri Obenour2014-06-011-0/+1
| |
* | Merge pull request #813 from cdlm/emacs-mode-require-newlineEvan Martin2014-11-181-2/+2
|\ \ | | | | | | Emacs mode: inherit from prog-mode
| * | Emacs mode: inherit from prog-modeDamien Pollet2014-09-161-2/+2
| | | | | | | | | | | | | | | | | | | | | `prog-mode` ensures a final newline when saving files, which is useful since ninja fails otherwise. See `require-final-newline` and `mode-require-final-newline`.
* | | emacs: Remove an empty line, wrap a comment.Nico Weber2014-11-171-2/+2
|/ /
* | Add highlighting of rule in build statementsdonkopotamus2014-06-271-1/+5
| | | | | | Highlight the rule being used in a build statement. Also add `.` to acceptable characters in a rule name and relax whitespace matching before the name.
* | Update ninja-mode for emacs to handle hyphens in rule namesdonkopotamus2014-06-261-1/+1
|/
* ninja-mode: add autoload cookie for the mode itselfSteve Purcell2014-01-221-0/+2
|
* Merge branch 'fix-provide-form' of git://github.com/yasuyk/ninjaEvan Martin2014-01-211-2/+2
|\ | | | | | | | | Conflicts: misc/ninja-mode.el
| * emacs: Place provide form at end of fileYasuyuki Oka2014-01-211-2/+2
| | | | | | | | | | Any errors in the code after "provide" will leave the feature registered, so it should always be at the end.
* | Merge branch 'fix-warning' of git://github.com/yasuyk/ninjaEvan Martin2014-01-211-1/+1
|\ \ | | | | | | | | | | | | Conflicts: misc/ninja-mode.el
| * | emacs: Fix a warningYasuyuki Oka2014-01-211-1/+1
| |/ | | | | | | | | Fix a following byte-compile warning: ninja-mode.el:18:7:Warning: assignment to free variable `ninja-keywords'
* | emacs: ELPA compatibilityYasuyuki Oka2014-01-211-0/+8
|/
* Add missing default keywordRobert Iannucci2012-12-141-1/+1
|
* Add poolRobert Iannucci2012-12-141-1/+2
|
* emacs: hook up ninja-mode to extensionEvan Martin2012-04-281-0/+4
|
* Improvements to ninja-mode Humza2011-11-131-0/+4
| | | | * provide ninja-mode feature * highlight rule names
* emacs: highlight variable expansions tooEvan Martin2011-05-221-0/+2
|
* add copyrightsEvan Martin2011-02-061-0/+14
|
* fancier elisp, handle "include"Evan Martin2011-01-231-4/+7
|
* improved emacs modeEvan Martin2011-01-081-2/+6
|
* move src into subdirEvan Martin2010-12-051-0/+10