summaryrefslogtreecommitdiffstatshomepage
path: root/nginx-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* Allow anything to follow a closing brace at start of lineindent-closing-brace-with-comment-fixGravatar Tom Willemse2024-04-041-1/+1
| | | | | | | | | | | | | | | | | Specifically this fixes an indentation issue with this: if ($host = example.com) { return 301 https://$host$request_uri; } # managed by Certbot Before this change this would have been indented as: if ($host = example.com) { return 301 https://$host$request_uri; } # managed by Certbot Because the regular expression was looking for a ‘}’ with nothing following it, but comments can follow this construct just fine.
* bump versionGravatar Andrew J Cosgriff2017-06-121-1/+1
|
* Add top-level Nginx configuration blocks to ↵Gravatar Joe Wreschnig2017-06-101-0/+5
| | | | | | | | | | | | | magic-fallback-mode-alist. As mentioned in issue #6, Nginx configuration today is often edited indirectly as part of a CMS, and the files are often fragments rather than a single nginx.conf. By adding the common top-level blocks to a magic mode alist, we can still automatically detect these files. By choosing the fallback alist, we still allow other major modes to make a stronger claim based on extension or literal content / interpreter match.
* version bumpGravatar Andrew J Cosgriff2017-05-251-1/+1
|
* Remove `run-hook`, it is run automatically.Gravatar Matus Goljer2017-05-241-2/+1
| | | | | | | | | | | | | | | | | | | Hi. When using `define-derived-mode` one doesn't need (and shouldn't) use `run-hook` because the macro adds the form `run-mode-hook` itself when expanded (use macroexpand to check!). This results in the hook being called twice, see ```elisp (defun my-nginx-mode-init () (message "Hello")) (add-hook 'nginx-mode-hook 'my-nginx-mode-init) ``` In messages I have Hello [2 times] Simply removing the form and using the one provided by the macro is enough to fix this.
* version bumpGravatar Andrew J Cosgriff2017-02-141-1/+1
|
* Use syntax table instead of font-lock regexpGravatar USAMI Kenta2017-02-131-9/+11
|
* one more ref to font-lock-operator-face.Gravatar Andrew J Cosgriff2016-10-231-2/+2
|
* font-lock-operator-face is gone.\n\nFixes #14.Gravatar Andrew J Cosgriff2016-10-231-2/+3
|
* removed sites-enabled from default (has issues with ↵Gravatar Vasily Korytov2014-10-141-3/+1
| | | | apache-mode autoloads)
* auto-mode-alist now works :-)Gravatar Vasily Korytov2014-10-141-3/+5
|
* version increaseGravatar Andrew J Cosgriff2014-03-221-1/+1
|
* Merge pull request #8 from yasuyk/auto-mode-alistGravatar Andrew J. Cosgriff2014-03-221-4/+5
|\ | | | | Set auto-mode-alist at top-level and Add autoload cookie
| * Set auto-mode-alist at top-level and Add autoload cookieGravatar Yasuyuki Oka2014-02-011-4/+5
| |
* | Remove duplicated provide formGravatar Yasuyuki Oka2014-02-011-2/+0
|/
* add some auto-mode-alist magic. Fixes #6.Gravatar Andrew J Cosgriff2013-12-231-2/+6
|
* Remove font-lock-pseudo-keyword-face. I can't think of ↵Gravatar Andrew J Cosgriff2013-12-231-1/+0
| | | | anything else to highlight semicolons with, and really, it doesn't matter that much anyway. Fixes #5.
* fix commenting/uncommenting as per suggestion from ↵Gravatar Andrew J Cosgriff2013-05-311-2/+1
| | | | @mbunkus - fixes #3.
* add a version number to make marmalade-repo.org happyGravatar Andrew J Cosgriff2011-12-011-0/+1
|
* fix indentation of commented-out blocks, as per ↵Gravatar Andrew J Cosgriff2010-11-091-18/+8
| | | | https://github.com/ajc/nginx-mode/issues/#issue/1
* * nginx-mode.el: fix to use md-readme to generate a ↵Gravatar Andrew J Cosgriff2010-10-201-4/+11
| | | | | | handy README.md file (see http://jugglingbits.wordpress.com/2009/11/14/announcing-md-readme/ )
* hrm. maybe highlighting parens and curly braces wasn't ↵Gravatar Andrew J Cosgriff2010-10-141-1/+3
| | | | such a good idea (my eyes!)
* syntax highlighting improvements, of a sort.Gravatar Andrew J Cosgriff2010-10-141-1/+8
|
* mention where you can find itGravatar Andrew J Cosgriff2010-10-141-0/+2
|
* initial checkin of working codeGravatar Andrew J Cosgriff2010-10-141-0/+184