diff options
author | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
commit | a187752c824b47052d33d3bc12749b5a7d2e8191 (patch) | |
tree | d939397496dcae8a7634a93b159fab57ee1752ec /emacs/custom/my-lsp.el | |
parent | elfeed: add more feeds (diff) | |
download | emacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz |
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-lsp.el | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/emacs/custom/my-lsp.el b/emacs/custom/my-lsp.el deleted file mode 100644 index 40ba785..0000000 --- a/emacs/custom/my-lsp.el +++ /dev/null @@ -1,23 +0,0 @@ -;;; my-lsp.el --- Configures emacs for LSP -*- lexical-binding: t -*- -;; Author: Franck Cuny <franck@fcuny.net> - -;;; Commentary: - -;;; Code: - -(require 'eglot) - -;; settings related to performance -;; https://emacs-lsp.github.io/lsp-mode/page/performance/ -(setq read-process-output-max (* 1024 1024)) ;; 1mb -(setq gc-cons-threshold 100000000) ;; 100mb - -(global-set-key (kbd "C-c l e") #'eglot) -(define-key eglot-mode-map (kbd "C-c l s") #'eglot-shutdown) -(define-key eglot-mode-map (kbd "C-c l r") #'eglot-rename) -(define-key eglot-mode-map (kbd "C-c l a") #'eglot-code-actions) -(define-key eglot-mode-map (kbd "C-c l o") #'eglot-code-action-organize-imports) - -(provide 'my-lsp) - -;;; my-lsp.el ends here |