From 5df3de20f70aaecd44d1a71b322023bae4c11372 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Fri, 4 Dec 2020 21:22:54 -0500 Subject: Remove the only language I was using lsp-mode for. In the future, I'll be using eglot. --- lisp/programming/javascript.el | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 lisp/programming/javascript.el (limited to 'lisp/programming') diff --git a/lisp/programming/javascript.el b/lisp/programming/javascript.el deleted file mode 100644 index c74e6ac..0000000 --- a/lisp/programming/javascript.el +++ /dev/null @@ -1,26 +0,0 @@ -;;; javascript.el -*- lexical-binding: t; -*- -;;; -;;; Author: Jakob L. Kreuze -;;; URL: https://git.sr.ht/~jakob/.emacs.d/ -;;; -;;; Configuration of a development environment for the Javascript programming -;;; language. -;;; - -(use-package js - :straight nil - - ;; Set up `js-mode' to interact with a LSP daemon. - :requires lsp-mode - :hook (js-mode . lsp) - :config - (lsp-register-client - (make-lsp-client :new-connection (lsp-stdio-connection "~/.bin/js-ts-stdio") - :major-modes '(js-mode) - :server-id 'js-ts-stdio)) - -;; I have yet to find a style guide I agree with, but one thing common to most -;; of them that I _do_ agree with is that Javascript is far more readable with -;; an indentation width of 2. - :init - (setq-default js-indent-level 2)) -- cgit v1.3