summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-02-02 11:59:09 +0100
committerAlan Pearce2018-02-02 11:59:09 +0100
commit568d96fb4a9dc06720797eecd3c072958ff5e3ab (patch)
tree837e2042fdcb59e50de15b73d52af69fffe7d721
parentc4c502a39489719b3922daab42f3a25014c069e2 (diff)
downloadnixfiles-568d96fb4a9dc06720797eecd3c072958ff5e3ab.tar.lz
nixfiles-568d96fb4a9dc06720797eecd3c072958ff5e3ab.tar.zst
nixfiles-568d96fb4a9dc06720797eecd3c072958ff5e3ab.zip
Enable LSP (javascript)
-rw-r--r--modules/development/javascript.nix1
-rw-r--r--packages/emacs.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/development/javascript.nix b/modules/development/javascript.nix
index bf81cee4..4dd81401 100644
--- a/modules/development/javascript.nix
+++ b/modules/development/javascript.nix
@@ -7,6 +7,7 @@
     nodePackages.tern
     nodePackages.node2nix
     nodePackages.nodemon
+    nodePackages.javascript-typescript-langserver
     nodePackages.eslint_d
 
     autoconf
diff --git a/packages/emacs.nix b/packages/emacs.nix
index 34b0ca4c..14dbe472 100644
--- a/packages/emacs.nix
+++ b/packages/emacs.nix
@@ -29,6 +29,7 @@ in
     command-log-mode
     company
     company-go
+    company-lsp
     company-restclient
     company-tern
     company-web
@@ -80,6 +81,8 @@ in
     js2-refactor
     json-mode
     ledger-mode
+    lsp-javascript-typescript
+    lsp-mode
     magit
     magithub
     markdown-mode