emacs: Fix TRAMP config, update next-ls config to enable completions
This commit is contained in:
parent
f79d87cb36
commit
ce0e34f316
1 changed files with 8 additions and 5 deletions
|
@ -900,9 +900,9 @@ Enable [[https://github.com/BurntSushi/ripgrep][ripgrep]] support
|
|||
Set some connection properties
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(add-to-list 'tramp-connection-properties
|
||||
(with-eval-after-load "tramp" (add-to-list 'tramp-connection-properties
|
||||
(list (regexp-quote "/sshx:hass:")
|
||||
"remote-shell" "/bin/bash"))
|
||||
"remote-shell" "/bin/bash")))
|
||||
#+end_src
|
||||
|
||||
** Git
|
||||
|
@ -1108,9 +1108,12 @@ Automatically use the =<lang>-ts-mode= when it is available
|
|||
:config
|
||||
(fset #'json--log-event #'ignore) ;; Performance boost by not logging every event
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(conf-toml-mode . ("taplo" "lsp" "stdio")))
|
||||
'((toml-mode toml-ts-mode conf-toml-mode) . ("taplo" "lsp" "stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
`((elixir-mode elixir-ts-mode heex-ts-mode) . ,(eglot-alternatives '(("nextls" "--stdio") "elixir-ls"))))
|
||||
`((elixir-mode elixir-ts-mode heex-ts-mode) .
|
||||
,(eglot-alternatives '(("nextls" "--stdio=true"
|
||||
:initializationOptions (:experimental (:completions (:enable t))))
|
||||
"elixir-ls"))))
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(dhall-mode . ("dhall-lsp-server")))
|
||||
(add-to-list 'eglot-stay-out-of 'flymake)
|
||||
|
|
Loading…
Reference in a new issue