All Projects → codesuki → Add Node Modules Path

codesuki / Add Node Modules Path

Licence: mit
Adds the node_modules/.bin directory to the buffer exec_path. E.g. support project local eslint installations.

Projects that are alternatives of or similar to Add Node Modules Path

Organice
An implementation of Org mode without the dependency of Emacs - built for mobile and desktop browsers
Stars: ✭ 1,327 (+1163.81%)
Mutual labels:  emacs
.personal Emacs.d
😈 My opinionated Emacs configuration
Stars: ✭ 101 (-3.81%)
Mutual labels:  emacs
Logview
Emacs mode for viewing log files.
Stars: ✭ 104 (-0.95%)
Mutual labels:  emacs
Shapes
📐 Net standard geometry/shape manipulation library, can be used to merge / split shapes
Stars: ✭ 95 (-9.52%)
Mutual labels:  path
Parrot
A package to rotate text and party with parrots at the same time
Stars: ✭ 99 (-5.71%)
Mutual labels:  emacs
Nimbus Theme
The best dark theme for Emacs
Stars: ✭ 102 (-2.86%)
Mutual labels:  emacs
Eless
A Better 'less' - A bash script that loads emacs with minimal view-mode config - Created with Org mode
Stars: ✭ 94 (-10.48%)
Mutual labels:  emacs
Clippathlayout
Android 不规则图形布局
Stars: ✭ 104 (-0.95%)
Mutual labels:  path
File Icon
Get the icon of a file or app as a PNG image (macOS)
Stars: ✭ 100 (-4.76%)
Mutual labels:  path
Restart Emacs
A simple emacs package to restart emacs from within emacs
Stars: ✭ 104 (-0.95%)
Mutual labels:  emacs
Frames Only Mode
Make emacs play nicely with tiling window managers by setting it up to use frames rather than windows
Stars: ✭ 96 (-8.57%)
Mutual labels:  emacs
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (-6.67%)
Mutual labels:  emacs
Userpath
Cross-platform tool for adding locations to the user PATH, no elevated privileges required!
Stars: ✭ 103 (-1.9%)
Mutual labels:  path
Ox Rst
reStructuredText Back-End for Org-Mode Export Engine
Stars: ✭ 94 (-10.48%)
Mutual labels:  emacs
Phi Search
Another incremental search command, compatible with “multiple-cursors”
Stars: ✭ 104 (-0.95%)
Mutual labels:  emacs
Emacs Config
Personal Emacs configuration files
Stars: ✭ 94 (-10.48%)
Mutual labels:  emacs
Srcery Emacs
Dark colorscheme for Emacs/Spacemacs. GUI and terminal support
Stars: ✭ 102 (-2.86%)
Mutual labels:  emacs
Circadian.el
Theme-switching for Emacs based on daytime
Stars: ✭ 105 (+0%)
Mutual labels:  emacs
Md Roam
Use Org-roam with markdown files by adding Md-roam as a plug-in. Mix and match org and markdown files.
Stars: ✭ 104 (-0.95%)
Mutual labels:  emacs
Binder
Emacs global minor mode facilitating multi-file writing projects
Stars: ✭ 104 (-0.95%)
Mutual labels:  emacs

add-node-modules-path

MELPA

This file provides add-node-modules-path, which searches the current files parent directories for the node_modules/.bin/ directory and adds it to the buffer local exec-path. This allows Emacs to find project based installs of e.g. eslint.

Usage

M-x add-node-modules-path

To automatically run it when opening a new buffer: (Choose depending on your favorite mode.)

(eval-after-load 'js-mode
  '(add-hook 'js-mode-hook #'add-node-modules-path))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].