chore(deps): upgrade packages tweak config for lsp-mode changes

Minor changes were needed due to recent lsp-mode changes. My custom the
bufls and golangci-lint clients are now part of lsp-mode.

Also, within Ruby buffers I need to disable the vue-semantic-server
client, as that seems to take priority over Ruby clients in Rails
projects that use Vue.
This commit is contained in:
2023-11-20 00:48:31 +00:00
parent d54a1a9f03
commit b7c7bef47f
6 changed files with 106 additions and 335 deletions

View File

@@ -129,7 +129,7 @@
(golines-format-buffer)))
(use-package lsp-golangci-lint
:straight (:type built-in) ;; from vendor directory
:straight lsp-mode
:custom
(lsp-golangci-lint-server-debug nil))

View File

@@ -64,8 +64,7 @@ See URL `https://github.com/bufbuild/buf'."
(add-to-list 'flycheck-checkers 'protobuf-buf))
(use-package lsp-bufls
;; from vendor directory
:straight (:type built-in))
:straight lsp-mode)
(provide 'siren-protobuf)
;;; siren-protobuf.el ends here

View File

@@ -103,6 +103,7 @@
:preface
(defun siren-lsp-ruby-mode-setup ()
(setq-local lsp-disabled-clients '(vue-semantic-server))
(setq-local siren-lsp-manual-format-buffer-func
'siren-lsp-ruby-manual-format-buffer)
(lsp-format-buffer-on-save-mode t)