mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 11:43:03 +03:00
feat(emacs): turn off the lsp prefix
This commit is contained in:
parent
aa530b1c73
commit
867644c28e
2 changed files with 12 additions and 4 deletions
|
|
@ -29,11 +29,13 @@
|
|||
(setq my/slow-ssh
|
||||
(or
|
||||
(string= (getenv "IS_TRAMP") "true")
|
||||
(string= (system-name) "dev-digital")))
|
||||
(string= (system-name) "dev-digital")
|
||||
(string= (system-name) "violet")))
|
||||
|
||||
(setq my/remote-server
|
||||
(or (string= (getenv "IS_REMOTE") "true")
|
||||
(string= (system-name) "dev-digital")))
|
||||
(string= (system-name) "dev-digital")
|
||||
(string= (system-name) "violet")))
|
||||
|
||||
(setq my/is-termux (string-match-p (rx (* nonl) "com.termux" (* nonl)) (getenv "HOME")))
|
||||
|
||||
|
|
@ -2316,6 +2318,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
;; (csharp-mode . lsp)
|
||||
)
|
||||
:commands lsp
|
||||
:init
|
||||
(setq lsp-keymap-prefix nil)
|
||||
:config
|
||||
(setq lsp-idle-delay 1)
|
||||
(setq lsp-eslint-server-command '("node" "/home/pavel/.emacs.d/.cache/lsp/eslint/unzipped/extension/server/out/eslintServer.js" "--stdio"))
|
||||
|
|
|
|||
|
|
@ -359,14 +359,16 @@ The following is true if Emacs is meant to be used with TRAMP over slow ssh. Tak
|
|||
(setq my/slow-ssh
|
||||
(or
|
||||
(string= (getenv "IS_TRAMP") "true")
|
||||
(string= (system-name) "dev-digital")))
|
||||
(string= (system-name) "dev-digital")
|
||||
(string= (system-name) "violet")))
|
||||
#+end_src
|
||||
|
||||
The following is true is Emacs is ran on a remote server where I don't need stuff like my org workflow
|
||||
#+begin_src emacs-lisp
|
||||
(setq my/remote-server
|
||||
(or (string= (getenv "IS_REMOTE") "true")
|
||||
(string= (system-name) "dev-digital")))
|
||||
(string= (system-name) "dev-digital")
|
||||
(string= (system-name) "violet")))
|
||||
#+end_src
|
||||
|
||||
And the following is true if Emacs is run from termux on Android.
|
||||
|
|
@ -3697,6 +3699,8 @@ References:
|
|||
;; (csharp-mode . lsp)
|
||||
)
|
||||
:commands lsp
|
||||
:init
|
||||
(setq lsp-keymap-prefix nil)
|
||||
:config
|
||||
(setq lsp-idle-delay 1)
|
||||
(setq lsp-eslint-server-command '("node" "/home/pavel/.emacs.d/.cache/lsp/eslint/unzipped/extension/server/out/eslintServer.js" "--stdio"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue