Commit graph

12 commits

Author SHA1 Message Date
Eric Zhang aafe4156ed Fix some auto-pairing issues when editing erb file with web-mode (#805) 2016-04-18 09:19:06 -07:00
Bozhidar Batsov ebd6e9d591 Update the copyright years 2016-01-31 08:44:18 +02:00
Bozhidar Batsov c2da437aa4 Update copyright years 2015-03-03 13:04:34 +02:00
Bozhidar Batsov dc82375714 Update copyright years 2014-12-07 11:37:46 +02:00
Bozhidar Batsov 5bee586f0a [Fix #602] Associate .tpl files with web-mode 2014-07-15 11:40:18 +03:00
toctan 07ff79872e Move smartparens pair definition out of hooks
There are two reasons for doing this:
- It's inefficient, we don't have to define the pairs every time we
  enter the mode.
- It's extremely difficult to override the pair definition, even with
  `eval-after-load` and `add-hook`
2014-06-25 11:04:49 +08:00
toctan 207ec885db Make web-mode play nice with smartparens
web-mode's auto paring is in conflict with smartparens. With
smartparens, since the closing '>' is inserted right after the opening
'<' and web-mode is not aware of that, the extra closing '>' would be
inserted. That's very annoying.
2014-06-14 10:48:16 +08:00
toctan f73e348534 Remove web-mode customization
- Code indent offset is subjected to personal taste, I think we should
  stick to the web-mode default, which is sensible enough, and leave it
  to the user to decide.
- `web-mode-disable-autocompletion` is no longer used by web-mode.
- As to `newline-and-indent`, I think we should be consistent across all
  major modes. And this line of code will become useless with Emacs 24.4.
2014-06-14 10:29:27 +08:00
Jeremy Bi 430c9825cb web-mode is now compatible with minor modes 2014-02-03 09:53:24 +08:00
Bozhidar Batsov dbe0ed889a Use prelude-require-packages everywhere 2013-11-26 12:52:29 +02:00
Gabriel J. Pérez Irizarry 8a182d8dd3 Fix issue disabling white-space-mode. 2013-08-01 12:58:19 -04:00
Gabriel J. Pérez Irizarry 1f141e9b08 Adds web-mode and prelude module. 2013-08-01 11:23:37 -04:00