 (use-package delight
   :config
   (delight '((rainbow-mode)
+             (lsp-mode)
              (abbrev-mode             nil abbrev)
              (purpose-mode            nil window-purpose)
              (eldoc-mode              nil eldoc)


;; Javascript
(use-package lsp-javascript-flow
  :init
  (defun lsp-js-find-symbol ()
    (interactive)
    (let ((pattern (or (symbol-at-point) (thing-at-point 'defun))))
      (when pattern
        (lsp-ui-peek-find-workspace-symbol (substring-no-properties pattern)))))


              :config (pdf-tools-install))))

;; Static Analysis
(use-package lsp-ui
  :hook (lsp-after-diagnostics . lsp-ui-mode))

;; Auto-completion
(use-package company
