Commit graph

67 commits

Author SHA1 Message Date
Henrik Lissner
1fd27f16b3
lang/sh: add keywords for fontification 2017-06-20 23:33:22 +02:00
Henrik Lissner
f4e3080432
lang/sh: improve zsh buffer detection 2017-06-20 16:25:46 +02:00
Henrik Lissner
02bfb73264
lang/sh: improve fontification for sh-mode
+ Fontify variables in double quotes (better)
+ Fontify command substitution in double quotes
+ Fontify built-in/common commands (see `+sh-builtin-keywords`)
2017-06-20 16:25:46 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
117e55f0c2 General cleanup + refactor 2017-05-29 01:05:34 +02:00
Henrik Lissner
e8d454a251 Add doom-ui-mode-names for renaming major-modes 2017-05-28 16:13:55 +02:00
Henrik Lissner
ce49f94bbe Remove doom-bootstrap system (will be replaced) 2017-05-20 18:40:13 +02:00
Henrik Lissner
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
Henrik Lissner
72698ca9e8 Add :requires prop to def-bootstrap! & refactor+rewrite bootstrapping 2017-03-25 18:41:29 -04:00
Henrik Lissner
2a377b44f1 Use s.el instead of subr-x string funcs 2017-03-25 01:45:23 -04:00
Henrik Lissner
700f463ee0 lang/sh: refactor 2017-03-20 21:15:18 -04:00
Henrik Lissner
804aba93f5 Implement bootstrap functionality + make bootstrap (WIP) 2017-03-20 02:45:39 -04:00
Henrik Lissner
3e63d2d23b Reduce def-package magic; explicitly use :when property 2017-03-19 22:47:50 -04:00
Henrik Lissner
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
Henrik Lissner
afc5b622bb Refactor :electric setting 2017-02-20 20:55:21 -05:00
Henrik Lissner
e14e25ecb4 Update modules/lang/* 2017-02-20 00:26:08 -05:00
Henrik Lissner
f453b3cee1 Reorganize modules 2017-02-20 00:23:03 -05:00