feat(LSP): add better LSP config for LSP servers

This commit is contained in:
2025-11-19 11:33:49 +01:00
parent 419d291d21
commit e432aa5f20

View File

@@ -194,9 +194,18 @@ awesome!
(lsp-rust-analyzer-cargo-watch-command "clippy") (lsp-rust-analyzer-cargo-watch-command "clippy")
(lsp-eldoc-render-all t) (lsp-eldoc-render-all t)
(lsp-idle-delay 0.6) (lsp-idle-delay 0.6)
(lsp-rust-analyzer-server-display-inlay-hints t)
(lsp-use-plist t) (lsp-use-plist t)
(lsp-enable-indentation nil)
;; Bash
(lsp-bash-highlight-parsing-errors t)
;; Nix
;; Rust
(lsp-rust-analyzer-server-display-inlay-hints t)
;; ;; Vue configuration
(lsp-vetur-emmet "always")
(lsp-vetur-format-default-formatter-html "prettier")
:config :config
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]coverage\\'")
(lsp-register-client (lsp-register-client
(make-lsp-client :new-connection (lsp-tramp-connection "shellcheck") (make-lsp-client :new-connection (lsp-tramp-connection "shellcheck")
:major-modes '(sh-mode) :major-modes '(sh-mode)