Support Vim, Tmux, Emacs with Stow

After moving off of Meta, Dotfiles has a greater responsibility to
manage configs. Vim, Tmux, and Emacs are now within Stow's purview.
This commit is contained in:
William Carroll 2018-09-10 14:51:14 -04:00
parent 8b2fadf477
commit 17ee0e400b
1338 changed files with 330350 additions and 24 deletions

View file

@ -0,0 +1,29 @@
;;; lsp-javascript-flow-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
;;;### (autoloads nil "lsp-javascript-flow" "lsp-javascript-flow.el"
;;;;;; (23432 13006 579149 747000))
;;; Generated autoloads from lsp-javascript-flow.el
(defvar lsp-javascript-flow-server "flow-language-server" "\
The flow-language-server executable to use.
Leave as just the executable name to use the default behavior of
finding the executable with `exec-path'.")
(custom-autoload 'lsp-javascript-flow-server "lsp-javascript-flow" t)
(defvar lsp-javascript-flow-server-args 'nil "\
Extra arguments for the javascript-flow-stdio language server")
(custom-autoload 'lsp-javascript-flow-server-args "lsp-javascript-flow" t)
;;;***
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; End:
;;; lsp-javascript-flow-autoloads.el ends here

View file

@ -0,0 +1,2 @@
;;; -*- no-byte-compile: t -*-
(define-package "lsp-javascript-flow" "20180613.508" "Javascript/Flow support for lsp-mode" '((lsp-mode "3.0") (emacs "25.1")) :commit "7e7c5f66b02321f402712841064347cb872c41e4" :keywords '("languages" "tools") :authors '(("Ozan Sener" . "hi@ozan.email")) :maintainer '("Ozan Sener" . "hi@ozan.email") :url "https://github.com/emacs-lsp/lsp-javascript")

View file

@ -0,0 +1,71 @@
;;; lsp-javascript-flow.el --- Javascript/Flow support for lsp-mode -*- lexical-binding: t; -*-
;; Copyright (C) 2017 George Pittarelli <g@gjp.cc>
;; Copyright (C) 2017 Ozan Sener <hi@ozan.email>
;; Author: Ozan Sener <hi@ozan.email>
;; Version: 1.0
;; Package-Version: 20180613.508
;; Package-Requires: ((lsp-mode "3.0") (emacs "25.1"))
;; Keywords: languages tools
;; URL: https://github.com/emacs-lsp/lsp-javascript
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; Javascript and Flow support for lsp-mode using
;; https://github.com/flowtype/flow-language-server
;;; Code:
(require 'lsp-mode)
;;;###autoload
(defcustom lsp-javascript-flow-server
"flow-language-server"
"The flow-language-server executable to use.
Leave as just the executable name to use the default behavior of
finding the executable with `exec-path'."
:group 'lsp-javascript-flow
:risky t
:type 'file)
;;;###autoload
(defcustom lsp-javascript-flow-server-args
'()
"Extra arguments for the javascript-flow-stdio language server"
:group 'lsp-javascript-flow
:risky t
:type '(repeat string))
(defun lsp-javascript-flow--ls-command ()
"Generate the language server startup command."
`(,lsp-javascript-flow-server
"--stdio"
,@lsp-javascript-flow-server-args))
(defconst lsp-javascript-flow--get-root
(lsp-make-traverser #'(lambda (dir)
(directory-files dir nil "package.json"))))
(lsp-define-stdio-client
lsp-javascript-flow "javascript"
lsp-javascript-flow--get-root
nil
:ignore-messages '("\[INFO].*?nuclide")
:command-fn 'lsp-javascript-flow--ls-command)
(provide 'lsp-javascript-flow)
;;; lsp-javascript-flow.el ends here